i3, add system restart and restarting of LLM services.
This commit is contained in:
@@ -215,7 +215,6 @@ bindsym $shift+XF86AudioLowerVolume exec --no-startup-id bash -c 'source /usr/lo
|
||||
bindsym $mod+slash exec pavucontrol
|
||||
|
||||
|
||||
|
||||
## Workspaces ##
|
||||
|
||||
# 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+$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) ##
|
||||
|
||||
# resize window (you can also use the mouse for that)
|
||||
|
||||
Reference in New Issue
Block a user