Redesign map name, use systemctl commands explicitly

This commit is contained in:
RealStickman 2023-05-03 20:42:56 +02:00
parent d0cb5bee10
commit c7e090ada5

View File

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