summaryrefslogtreecommitdiff
path: root/.stumpwm.d/modeline.lisp
diff options
context:
space:
mode:
Diffstat (limited to '.stumpwm.d/modeline.lisp')
-rw-r--r--.stumpwm.d/modeline.lisp2
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")