i3, add system restart and restarting of LLM services.

This commit is contained in:
me
2026-10-10 02:32:55 -07:00
parent 0450aa45c3
commit 43d92d14ed
+12 -1
View File
@@ -215,7 +215,6 @@ bindsym $shift+XF86AudioLowerVolume exec --no-startup-id bash -c 'source /usr/lo
bindsym $mod+slash exec pavucontrol bindsym $mod+slash exec pavucontrol
## Workspaces ## ## Workspaces ##
# Define names for default workspaces for which we configure key bindings later on. # Define names for default workspaces for which we configure key bindings later on.
@@ -340,6 +339,18 @@ bindsym $ctrl+$alt+q exec sudo shutdown -h now
bindsym $shift+$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 $shift+$ctrl+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
# restart LLM programs
set $RESTART_LLMS "sudo sv restart ollama; sudo sv restart zeroclaw; sudo sv restart open-webui"
bindsym $ctrl+$alt+r exec $RESTART_LLMS
bindsym $shift+$alt+r exec $RESTART_LLMS
bindsym $shift+$ctrl+r exec $RESTART_LLMS
## Resizing (Disabled) ## ## Resizing (Disabled) ##
# resize window (you can also use the mouse for that) # resize window (you can also use the mouse for that)