summaryrefslogtreecommitdiff
path: root/workspace-action.sh
diff options
context:
space:
mode:
Diffstat (limited to 'workspace-action.sh')
-rwxr-xr-xworkspace-action.sh11
1 files changed, 0 insertions, 11 deletions
diff --git a/workspace-action.sh b/workspace-action.sh
deleted file mode 100755
index 76d0950..0000000
--- a/workspace-action.sh
+++ /dev/null
@@ -1,11 +0,0 @@
-#!/usr/bin/env bash
-
-active_ws=$(hyprctl activeworkspace -j | jq -r '.id')
-
-if [[ "$1" == *"group" ]]; then
- # Move to group
- hyprctl dispatch "${1::-5}" $((($2 - 1) * 10 + ${active_ws:0-1}))
-else
- # Move to ws in group
- hyprctl dispatch "$1" $((((active_ws - 1) / 10) * 10 + $2))
-fi