refactor(wpcarro/emacs): Drop window-manager-logout
TL;DR: - undefine `window-manager-logout` - define window-manager customization group - publicize `window-manager--xsecurelock` - rename `window-manager--xsecurelock` -> `window-manager-screenlocker` - remap `workspace "l"` to always lock the screen Change-Id: I77df883b94e786c4584351c9ebf1dcf0d5a84a33 Reviewed-on: https://cl.tvl.fyi/c/depot/+/5035 Reviewed-by: wpcarro <wpcarro@gmail.com> Autosubmit: wpcarro <wpcarro@gmail.com> Tested-by: BuildkiteCI
This commit is contained in:
parent
db3223ab7c
commit
6982ee618d
2 changed files with 8 additions and 60 deletions
|
|
@ -178,7 +178,10 @@
|
|||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
;; Workspaces
|
||||
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
||||
(keybindings-exwm (kbd-raw 'workspace "l") #'window-manager-logout)
|
||||
(keybindings-exwm (kbd-raw 'workspace "l")
|
||||
(lambda ()
|
||||
(interactive)
|
||||
(shell-command window-manager-screenlocker)))
|
||||
|
||||
(general-define-key
|
||||
:keymaps 'override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue