i3, also require mod for shutdown and restart to prevent colliding with shortcuts on other programs.

This commit is contained in:
me
2026-10-12 09:13:02 -07:00
parent 883ad223c2
commit 0e10bc235f
+6 -6
View File
@@ -335,14 +335,14 @@ bindsym $shift+$mod+l exec "i3lock -c 000000 -e -f && sleep 1 && xset dpms force
# shutdown entire system.
#bindsym $ctrl+$shift+q exec dbus-send --system --print-reply --dest="org.freedesktop.ConsoleKit" /org/freedesktop/ConsoleKit/Manager org.freedesktop.ConsoleKit.Manager.Stop
bindsym $ctrl+$alt+q exec sudo shutdown -h now
bindsym $shift+$alt+q exec sudo shutdown -h now
bindsym $shift+$ctrl+q exec sudo shutdown -h now
bindsym $ctrl+$alt+$mod+q exec sudo shutdown -h now
bindsym $shift+$alt+$mod+q exec sudo shutdown -h now
bindsym $shift+$ctrl+$mod+q exec sudo shutdown -h now
# restart entire system.
bindsym $ctrl+$alt+r exec sudo shutdown -r now
bindsym $shift+$alt+r exec sudo shutdown -r now
bindsym $shift+$ctrl+r exec sudo shutdown -r now
bindsym $ctrl+$alt+$mod+r exec sudo shutdown -r now
bindsym $shift+$alt+$mod+r exec sudo shutdown -r now
bindsym $shift+$ctrl+$mod+r exec sudo shutdown -r now
# restart LLM programs
set $RESTART_LLMS "sudo sv restart ollama; sudo sv restart zeroclaw; sudo sv restart open-webui"