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

+11 -3
View File
@@ -1,7 +1,7 @@
/* See LICENSE file for copyright and license details. */
/* interval between updates (in ms) */
const unsigned int interval = 1000;
const unsigned int interval = 500;
/* text to show if no value can be retrieved */
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)
*/
static const struct arg args[] = {
/* function format argument */
{ datetime, "%s", "%F %T" },
/* function format argument */
{ 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" },
};