Add lock command
This commit is contained in:
parent
d3317c3691
commit
b622b7465a
@ -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")
|
||||||
|
Loading…
Reference in New Issue
Block a user