example/config: use hyprshutdown if available

This commit is contained in:
Vaxry 2025-12-05 17:48:45 +00:00
parent 016eb7a23d
commit 6a1daff5f3
Signed by: vaxry
GPG key ID: 665806380871D640

View file

@ -237,7 +237,7 @@ $mainMod = SUPER # Sets "Windows" key as main modifier
# Example binds, see https://wiki.hypr.land/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = $mainMod, M, exec, command -v hyprshutdown >/dev/null 2>&1 && hyprshutdown || hyprctl dispatch exit
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu