aboutsummaryrefslogtreecommitdiff
path: root/slstatus/config.def.h
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-09-16 21:48:56 +0200
committerpml68 <contact@pml68.dev>2025-09-16 22:15:01 +0200
commitfd3a7cc487ad5dc36d99ccf46f9e3c6461687f99 (patch)
treee1627f8ea07510d06a99ea55f275ae3b6e1919a7 /slstatus/config.def.h
parentchore: bump dwm and dmenu versions (diff)
downloadsuckless-setup-fd3a7cc487ad5dc36d99ccf46f9e3c6461687f99.tar.gz
chore: sync slstatus with upstream
Diffstat (limited to 'slstatus/config.def.h')
-rw-r--r--slstatus/config.def.h14
1 files changed, 6 insertions, 8 deletions
diff --git a/slstatus/config.def.h b/slstatus/config.def.h
index c273999..b48aa4b 100644
--- a/slstatus/config.def.h
+++ b/slstatus/config.def.h
@@ -56,6 +56,7 @@ static const char unknown_str[] = "n/a";
* thermal zone on FreeBSD
* (tz0, tz1, etc.)
* uid UID of current user NULL
+ * up interface is running interface name (eth0)
* uptime system uptime NULL
* username username of current user NULL
* vol_perc OSS/ALSA volume in percent mixer file (/dev/mixer)
@@ -64,12 +65,9 @@ static const char unknown_str[] = "n/a";
* wifi_perc WiFi signal in percent interface name (wlan0)
*/
static const struct arg args[] = {
-
- /* function format argument interval (in ms) */
-
- {datetime, "%s;", "%G. %B. %e. %a"},
- {run_command, "%s%% ", "pulsemixer --get-volume | awk '{print $2 }'"},
- {keymap, "%s ", NULL},
- {datetime, "%s ", "%H:%M:%S"},
-
+ /* function format argument */
+ {datetime, "%s;", "%G. %B. %e. %a"},
+ {run_command, "%s%% ", "pulsemixer --get-volume | awk '{print $2 }'"},
+ {keymap, "%s ", NULL},
+ {datetime, "%s ", "%H:%M:%S"},
};