Improve lock screen and lock command keybinding
This commit is contained in:
parent
b622b7465a
commit
2867c879b6
@ -12,7 +12,12 @@
|
||||
(run-or-raise "firefox" '(:class "firefox")))
|
||||
|
||||
(defcommand lock () ()
|
||||
(run-shell-command "i3lockmore --image-fill ~/Pictures/space-background.png -n"))
|
||||
(run-shell-command
|
||||
(concatenate 'string
|
||||
"i3lockmore "
|
||||
"--image-fill ~/Pictures/space-background.png "
|
||||
"-n "
|
||||
"--lock-icon ~/Pictures/lock.png")))
|
||||
|
||||
;; Keybindings
|
||||
(define-key stumpwm:*root-map* (kbd "C-f") "firefox")
|
||||
@ -20,6 +25,7 @@
|
||||
(define-key stumpwm:*root-map* (kbd "w") "exec rofi -show window")
|
||||
(define-key stumpwm:*root-map* (kbd "P") "exec passmenu")
|
||||
(define-key stumpwm:*root-map* (kbd "N") "exec networkmanager_dmenu")
|
||||
(define-key stumpwm:*root-map* (kbd "L") "lock")
|
||||
(define-key *top-map* (kbd "XF86MonBrightnessDown") "exec light -U 5")
|
||||
(define-key *top-map* (kbd "XF86MonBrightnessUp") "exec light -A 5")
|
||||
(define-key *top-map* (kbd "XF86AudioRaiseVolume") "exec pavolume volup")
|
||||
|
Loading…
Reference in New Issue
Block a user