Add lock command

This commit is contained in:
Jeremy Dormitzer 2019-12-07 01:14:43 -05:00
parent d3317c3691
commit b622b7465a

View File

@ -11,6 +11,9 @@
(defcommand firefox () () (defcommand firefox () ()
(run-or-raise "firefox" '(:class "firefox"))) (run-or-raise "firefox" '(:class "firefox")))
(defcommand lock () ()
(run-shell-command "i3lockmore --image-fill ~/Pictures/space-background.png -n"))
;; Keybindings ;; Keybindings
(define-key stumpwm:*root-map* (kbd "C-f") "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 "d") "exec rofi -show run")