diff options
Diffstat (limited to 'stumpwm.org')
-rw-r--r-- | stumpwm.org | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/stumpwm.org b/stumpwm.org index 9ae60be..eeec321 100644 --- a/stumpwm.org +++ b/stumpwm.org @@ -241,7 +241,7 @@ "% | CPU:" '(:eval (string-trim '(#\Newline) (stumpwm:run-shell-command "exec ~/Developer/scripts/get-cpu.sh" t))) - "%| VOL:" + "% | VOL:" '(:eval (string-trim '(#\Newline) (stumpwm:run-shell-command "pamixer --get-volume" t))) "% | " @@ -249,6 +249,7 @@ (when (equal (get-hostname) "hermes") "BAT:%B |") "%d")) + (mode-line) #+end_src /Note: to trim new line when using shell commands for mode-line use something like this:/ #+begin_src emacs-lisp :tangle nil |