diff options
| author | 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> | 2025-06-14 22:50:55 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-06-14 22:50:55 +1000 |
| commit | ee7291b7f64a359d17eb1d050086ef5357d79055 (patch) | |
| tree | f1c200d8c8ba81030cbb2113a2be122db6508c8f /workspace-action.sh | |
| parent | Merge pull request #5 from dalpax/patch-1 (diff) | |
| parent | Merge branch 'main' into python-rework (diff) | |
| download | caelestia-cli-ee7291b7f64a359d17eb1d050086ef5357d79055.tar.gz caelestia-cli-ee7291b7f64a359d17eb1d050086ef5357d79055.tar.bz2 caelestia-cli-ee7291b7f64a359d17eb1d050086ef5357d79055.zip | |
Merge pull request #6 from caelestia-dots/python-rework
feat: rewrite in python
Diffstat (limited to 'workspace-action.sh')
| -rwxr-xr-x | workspace-action.sh | 11 |
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 |