3
0
mirror of https://github.com/hyprwm/Hyprland.git synced 2026-02-04 10:25:35 +00:00

example/config: use hyprshutdown if available

This commit is contained in:
Vaxry
2025-12-05 17:48:45 +00:00
parent 016eb7a23d
commit 6a1daff5f3

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