summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorVaxry <vaxry@vaxry.net>2025-12-05 17:48:45 +0000
committerVaxry <vaxry@vaxry.net>2025-12-05 17:48:45 +0000
commit6a1daff5f30ea71e6d678554aa59fc5670864d24 (patch)
tree4928b41682a1f95dabea609615d2c78082b84df8 /example
parent016eb7a23db54cb33ed722f682c7171027a91945 (diff)
example/config: use hyprshutdown if available
Diffstat (limited to 'example')
-rw-r--r--example/hyprland.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/hyprland.conf b/example/hyprland.conf
index 4d46134b..98ac0996 100644
--- a/example/hyprland.conf
+++ b/example/hyprland.conf
@@ -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