move workspace action script

This commit is contained in:
end-4
2024-01-28 18:22:18 +07:00
parent e9cf364aa5
commit 5a94e7b18c
2 changed files with 20 additions and 20 deletions
+2
View File
@@ -0,0 +1,2 @@
#!/bin/bash
hyprctl dispatch $1 $((((`hyprctl activeworkspace -j | jq -r .id` - 1) / 10) * 10 + $2))