From 50734cdaeece9fa5c4f4e6873072cd997ce2d1e0 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Wed, 3 May 2023 20:42:56 +0200 Subject: [PATCH] Redesign map name, use systemctl commands explicitly --- nixos-config/home-manager/config/hypr/hyprland.conf | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos-config/home-manager/config/hypr/hyprland.conf b/nixos-config/home-manager/config/hypr/hyprland.conf index 9d91a472..d4d3bffe 100644 --- a/nixos-config/home-manager/config/hypr/hyprland.conf +++ b/nixos-config/home-manager/config/hypr/hyprland.conf @@ -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