dwm and background path

This commit is contained in:
wt committed 2024-07-14 11:46:42 +07:00
1 parent 67cbc237db
commit de15d2f234
31 files changed
+12 -4

No files matched your search

+1 -1
View File
@@ -1,5 +1,5 @@
#!/usr/bin/env sh #!/usr/bin/env sh
directory=~/Pictures/hyprpaper/images directory=~/Pictures/wallpaper
monitors=`hyprctl monitors | grep Monitor | awk '{print $2}'` monitors=`hyprctl monitors | grep Monitor | awk '{print $2}'`
echo $(ls $directory/*) echo $(ls $directory/*)
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+11 -3
View File
@@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */ /* See LICENSE file for copyright and license details. */
/* interval between updates (in ms) */ /* interval between updates (in ms) */
const unsigned int interval = 1000; const unsigned int interval = 500;
/* text to show if no value can be retrieved */ /* text to show if no value can be retrieved */
static const char unknown_str[] = "n/a"; static const char unknown_str[] = "n/a";
@@ -64,6 +64,14 @@ static const char unknown_str[] = "n/a";
* wifi_perc WiFi signal in percent interface name (wlan0) * wifi_perc WiFi signal in percent interface name (wlan0)
*/ */
static const struct arg args[] = { static const struct arg args[] = {
/* function format argument */ /* function format argument */
{ datetime, "%s", "%F %T" }, { datetime, "| %s | ", "%F %T" },
{ cpu_perc, " %s% | ", NULL },
{ ram_used, "󰘚 %s/", NULL },
{ ram_total, "%s | ", NULL },
{ disk_used, " %s/", "/" },
{ disk_total, "%s | ", "/" },
{ keymap, "%s | ", NULL },
// { wifi_essid, " %s/", "wlan0" },
// { wifi_perc, "%s | ", "wlan0" },
}; };
Binary file not shown.
Binary file not shown.
Binary file not shown.