[stumpwm] fix powerstate commands
This commit is contained in:
parent
cd3af2fe9f
commit
baca853691
1 changed files with 4 additions and 4 deletions
|
@ -160,10 +160,10 @@
|
||||||
;; computer power state keys
|
;; computer power state keys
|
||||||
(defvar *powerstate-frame-bindings*
|
(defvar *powerstate-frame-bindings*
|
||||||
(let ((m (make-sparse-keymap)))
|
(let ((m (make-sparse-keymap)))
|
||||||
(define-key m (kbd "M-s") "systemctl suspend")
|
(define-key m (kbd "M-s") "exec systemctl suspend")
|
||||||
(define-key m (kbd "M-p") "systemctl poweroff")
|
(define-key m (kbd "M-p") "exec systemctl poweroff")
|
||||||
(define-key m (kbd "M-r") "systemctl reboot")
|
(define-key m (kbd "M-r") "exec systemctl reboot")
|
||||||
(define-key m (kbd "M-h") "systemctl hibernate")
|
(define-key m (kbd "M-h") "exec systemctl hibernate")
|
||||||
m))
|
m))
|
||||||
|
|
||||||
(define-key *root-map* (kbd "C-F12") '*powerstate-frame-bindings*)
|
(define-key *root-map* (kbd "C-F12") '*powerstate-frame-bindings*)
|
||||||
|
|
Loading…
Reference in a new issue