diff options
author | Thanos Apollo <[email protected]> | 2023-07-16 16:33:21 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-07-16 16:33:21 +0300 |
commit | 7504137df9f52f03e8e18ead12240c453ceea66f (patch) | |
tree | ef566651583568e7c5840c8a0aa132d699ee4421 /stumpwm.org | |
parent | a55d88b58a4e9aba94137e29debf3dd85abb8010 (diff) |
stumpwm: modeline styling
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 |