diff options
-rw-r--r-- | init.org | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -230,6 +230,15 @@ (cadr) (string-trim)))) + (defun jao-bright-up () + (interactive) + (jao-exec-string "brightnessctl -q s %%5+") + (jao-bright-show)) + + (defun jao-bright-down () + (interactive) + (jao-exec-string "brightnessctl -q s %%5-") + (jao-bright-show)) #+end_src *** Keyboard and hydra #+begin_src emacs-lisp @@ -3707,7 +3716,7 @@ (string-to-number level))))) (defun jao-mixer-set (dev v) - (start-process "amixer" nil "amixer" "sset" dev v) + (jao-exec-string "amixer sset %s %s" dev v) (jao-mixer-get-level dev)) (defun jao-mixer-master-toggle () |