aboutsummaryrefslogtreecommitdiff
path: root/slstatus/config.h
diff options
context:
space:
mode:
authorpml68 <contact@pml68.dev>2025-04-04 00:41:05 +0200
committerpml68 <contact@pml68.dev>2025-04-04 00:44:44 +0200
commit9b6cae696c55439f2d72186ff63864472518eccf (patch)
treef5056aac662800720fa24f128295540e4c7b94e5 /slstatus/config.h
parentfeat: disable Xinerama in `dwm` and `dmenu` (diff)
downloadsuckless-setup-9b6cae696c55439f2d72186ff63864472518eccf.tar.gz
feat: add volume level to slstatus
Diffstat (limited to 'slstatus/config.h')
-rw-r--r--slstatus/config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/slstatus/config.h b/slstatus/config.h
index 9eb7384..c273999 100644
--- a/slstatus/config.h
+++ b/slstatus/config.h
@@ -68,6 +68,7 @@ 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"},