From 8617d1ba2597c1f88228a4a460b98b8146f8cd85 Mon Sep 17 00:00:00 2001 From: RealStickman Date: Wed, 3 May 2023 20:23:43 +0200 Subject: [PATCH] Add power management submap --- .../home-manager/config/hypr/hyprland.conf | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/nixos-config/home-manager/config/hypr/hyprland.conf b/nixos-config/home-manager/config/hypr/hyprland.conf index 5a1f979e..940254a8 100644 --- a/nixos-config/home-manager/config/hypr/hyprland.conf +++ b/nixos-config/home-manager/config/hypr/hyprland.conf @@ -119,12 +119,33 @@ bind = CTRL_ALT, RETURN, exec, kitty # terminal bind = CTRL_ALT, A, exec, wofi --show drun # app launcher bind = CTRL_ALT, f, exec, firefox # browser bind = CTRL_ALT, e, exec, emacs # editor +bind = CTRL_ALT, t, exec, thunar # file manager bind = $mod, Q, killactive, # close window # logout 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, C, killactive, #bind = $mod, M, exit,