Redesign map name, use systemctl commands explicitly

This commit is contained in:
RealStickman 2023-05-03 20:42:56 +02:00
parent 5845c6a071
commit 50734cdaee

View File

@ -128,17 +128,17 @@ bind = ALT_$mod, L, exit,
# bind power management submap
bind = $mod, x, submap, [(s)hutdown, (r)eboot, e(x)it]
bind = $mod, x, submap, [ (s)hutdown, (r)eboot, e(x)it ]
# power management submap
submap = [(s)hutdown, (r)eboot, e(x)it]
submap = [ (s)hutdown, (r)eboot, e(x)it ]
# logout
bind = , x, exit,
# lock
# TODO
# poweroff
bind = , s, exec, poweroff
bind = , s, exec, systemctl poweroff
# reboot
bind = , r, exec, reboot
bind = , r, exec, systemctl reboot
# use reset to go back to the global submap
bind=,escape,submap,reset