diff --git a/stumpwm/.stumpwm.d/init.lisp b/stumpwm/.stumpwm.d/init.lisp index 28f0166..cdc8982 100644 --- a/stumpwm/.stumpwm.d/init.lisp +++ b/stumpwm/.stumpwm.d/init.lisp @@ -5,10 +5,14 @@ (swank-loader:init) (swank:create-server :port 4004 :style swank:*communication-style* - :dont-close t) + :dont-close t) + +;; Commands +(defcommand firefox () () + (run-or-raise "firefox" '(:class "firefox"))) ;; Keybindings -(define-key stumpwm:*root-map* (kbd "C-f") "exec firefox") +(define-key stumpwm:*root-map* (kbd "C-f") "firefox") (define-key stumpwm:*root-map* (kbd "d") "exec rofi -show run") (define-key stumpwm:*root-map* (kbd "w") "exec rofi -show window") (define-key stumpwm:*root-map* (kbd "P") "exec passmenu")