hypr: Sleep key binding now puts the system to sleep

In a slightly cursed way, _but it works_
This commit is contained in:
GaspardCulis 2024-01-21 11:09:31 +01:00
parent 4ac0e2efca
commit fca97c277e

View file

@ -39,7 +39,7 @@ binde = ,XF86MonBrightnessUp, exec, swayosd-client --brightness raise # Screen b
bind = ,237, exec, brightnessctl -d asus::kbd_backlight set 33%- # Keyboard brightness down FN+F2 bind = ,237, exec, brightnessctl -d asus::kbd_backlight set 33%- # Keyboard brightness down FN+F2
bind = ,238, exec, brightnessctl -d asus::kbd_backlight set 33%+ # Keyboard brightnes up FN+F3 bind = ,238, exec, brightnessctl -d asus::kbd_backlight set 33%+ # Keyboard brightnes up FN+F3
bind = ,XF86TouchpadToggle, exec, ~/.local/bin/wtoggle-touchpad bind = ,XF86TouchpadToggle, exec, ~/.local/bin/wtoggle-touchpad
bind = ,XF86Sleep, exec, ~/.local/bin/togglescreen bind = ,XF86Sleep, exec, sudo zzz
# Power profile # Power profile
bind = ,XF86Launch4, exec, asusctl profile -n; pkill -SIGRTMIN+8 waybar bind = ,XF86Launch4, exec, asusctl profile -n; pkill -SIGRTMIN+8 waybar
# Led profile # Led profile