diff options
author | Thanos Apollo <[email protected]> | 2024-01-28 22:08:06 +0200 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2024-01-28 22:08:06 +0200 |
commit | b8126291082c36fe26cbb170214c3919f6aa9388 (patch) | |
tree | 07c04ae4f0800e150d58bbe50b9fd9102b2dbf3e /.stumpwm.d/modeline.lisp | |
parent | 8c93b936e1d08732485eaf66fcfd8d50700ee727 (diff) |
stumpwm:(modeline) Update volume command with amixer
Diffstat (limited to '.stumpwm.d/modeline.lisp')
-rw-r--r-- | .stumpwm.d/modeline.lisp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/.stumpwm.d/modeline.lisp b/.stumpwm.d/modeline.lisp index 6718ef2..2701e70 100644 --- a/.stumpwm.d/modeline.lisp +++ b/.stumpwm.d/modeline.lisp @@ -30,7 +30,7 @@ "grep 'cpu ' /proc/stat | awk '{usage=($2+$4)*100/($2+$4+$5)} END {printf(\"%.2f\", usage)}'" t))) "% | VOL:" '(:eval (string-trim '(#\Newline) - (stumpwm:run-shell-command "pamixer --get-volume" t))) + (stumpwm:run-shell-command "amixer sget Master | grep 'Right:' | awk -F'[][]' '{print $2}'" t))) "% | " ;; Check when hermes(laptop) t display battery (when (equal (asdf:hostname) "hermes") |