Add power management submap
This commit is contained in:
parent
b14e0f4bf7
commit
8617d1ba25
@ -119,12 +119,33 @@ bind = CTRL_ALT, RETURN, exec, kitty # terminal
|
|||||||
bind = CTRL_ALT, A, exec, wofi --show drun # app launcher
|
bind = CTRL_ALT, A, exec, wofi --show drun # app launcher
|
||||||
bind = CTRL_ALT, f, exec, firefox # browser
|
bind = CTRL_ALT, f, exec, firefox # browser
|
||||||
bind = CTRL_ALT, e, exec, emacs # editor
|
bind = CTRL_ALT, e, exec, emacs # editor
|
||||||
|
bind = CTRL_ALT, t, exec, thunar # file manager
|
||||||
|
|
||||||
bind = $mod, Q, killactive, # close window
|
bind = $mod, Q, killactive, # close window
|
||||||
|
|
||||||
# logout
|
# logout
|
||||||
bind = ALT_$mod, L, exit,
|
bind = ALT_$mod, L, exit,
|
||||||
|
|
||||||
|
|
||||||
|
# bind power management submap
|
||||||
|
bind = $mod, x, submap, powermgmt
|
||||||
|
# power management submap
|
||||||
|
submap=powermgmt
|
||||||
|
# logout
|
||||||
|
bind = , x, exit,
|
||||||
|
# lock
|
||||||
|
# TODO
|
||||||
|
# poweroff
|
||||||
|
bind = , s, poweroff,
|
||||||
|
# reboot
|
||||||
|
bind = , r, reboot,
|
||||||
|
|
||||||
|
# use reset to go back to the global submap
|
||||||
|
bind=,escape,submap,reset
|
||||||
|
|
||||||
|
# will reset the submap, meaning end the current one and return to the global one
|
||||||
|
submap=reset
|
||||||
|
|
||||||
#bind = $mod, Q, exec, kitty
|
#bind = $mod, Q, exec, kitty
|
||||||
#bind = $mod, C, killactive,
|
#bind = $mod, C, killactive,
|
||||||
#bind = $mod, M, exit,
|
#bind = $mod, M, exit,
|
||||||
|
Loading…
Reference in New Issue
Block a user