summaryrefslogtreecommitdiff
path: root/src/caelestia/subcommands
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-24 23:53:44 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-24 23:53:44 +1000
commit9ed04e7a85a2a8aa812f25545df998dda2422fd5 (patch)
treec801c602246963946a80941416b0d4e3e45511b0 /src/caelestia/subcommands
parentinternal: more lazy importing (diff)
downloadcaelestia-cli-9ed04e7a85a2a8aa812f25545df998dda2422fd5.tar.gz
caelestia-cli-9ed04e7a85a2a8aa812f25545df998dda2422fd5.tar.bz2
caelestia-cli-9ed04e7a85a2a8aa812f25545df998dda2422fd5.zip
wsaction: remove
Diffstat (limited to 'src/caelestia/subcommands')
-rw-r--r--src/caelestia/subcommands/wsaction.py18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/caelestia/subcommands/wsaction.py b/src/caelestia/subcommands/wsaction.py
deleted file mode 100644
index d496381..0000000
--- a/src/caelestia/subcommands/wsaction.py
+++ /dev/null
@@ -1,18 +0,0 @@
-from argparse import Namespace
-
-from caelestia.utils import hypr
-
-
-class Command:
- args: Namespace
-
- def __init__(self, args: Namespace) -> None:
- self.args = args
-
- def run(self) -> None:
- active_ws = hypr.message("activeworkspace")["id"]
-
- if self.args.group:
- hypr.dispatch(self.args.dispatcher, (self.args.workspace - 1) * 10 + active_ws % 10)
- else:
- hypr.dispatch(self.args.dispatcher, int((active_ws - 1) / 10) * 10 + self.args.workspace)