diff options
Diffstat (limited to '.emacs.d/lisp/init-exwm.el')
-rw-r--r-- | .emacs.d/lisp/init-exwm.el | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/.emacs.d/lisp/init-exwm.el b/.emacs.d/lisp/init-exwm.el index df14820..cce35df 100644 --- a/.emacs.d/lisp/init-exwm.el +++ b/.emacs.d/lisp/init-exwm.el @@ -17,11 +17,17 @@ (let ((command-parts (split-string command "[ ]+"))) (apply #'call-process `(,(car command-parts) nil 0 nil ,@(cdr command-parts))))) +(defun rofi () + "Run Rofi." + (interactive) + (apollo/run-in-background "rofi -show drun")) + (defun apollo/volume-increase () "Increase Volume." (interactive) (start-process-shell-command "amixer" nil "amixer sset Master 5%+")) + (defun apollo/volume-decrease () "Decrease Volume." (interactive) @@ -144,7 +150,7 @@ (number-sequence 0 9)))) (exwm-input-set-key (kbd "C-c d") 'dmenu) - (exwm-input-set-key (kbd "s-<tab>") 'apollo/rofi-switch-window) + (exwm-input-set-key (kbd "s-<tab>") 'rofi) (exwm-input-set-key (kbd "s-q") 'kill-emacs) (exwm-input-set-key (kbd "<XF86AudioRaiseVolume>") 'apollo/volume-increase) (exwm-input-set-key (kbd "<XF86AudioLowerVolume>") 'apollo/volume-decrease) |