files
This commit is contained in:
5
config/hypr/workspace_prev.sh
Executable file
5
config/hypr/workspace_prev.sh
Executable file
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
current=$(hyprctl activeworkspace -j | jq '.id')
|
||||
if [ "$current" -gt 1 ]; then
|
||||
hyprctl dispatch workspace $(( current - 1 ))
|
||||
fi
|
||||
Reference in New Issue
Block a user