summaryrefslogtreecommitdiff
path: root/src/caelestia/subcommands
diff options
context:
space:
mode:
author2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-11 20:42:33 +1000
committer2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>2025-06-11 20:42:33 +1000
commit3fa4a5f7b74a8e05a5cc0fdfaa2fc85f071a4dbe (patch)
tree755c8073bd63c711a3015fd6e341ebb623dff918 /src/caelestia/subcommands
parentfeat: theme hypr and terminals (diff)
downloadcaelestia-cli-3fa4a5f7b74a8e05a5cc0fdfaa2fc85f071a4dbe.tar.gz
caelestia-cli-3fa4a5f7b74a8e05a5cc0fdfaa2fc85f071a4dbe.tar.bz2
caelestia-cli-3fa4a5f7b74a8e05a5cc0fdfaa2fc85f071a4dbe.zip
toggles: fix sysmon + not toggling ws
Diffstat (limited to 'src/caelestia/subcommands')
-rw-r--r--src/caelestia/subcommands/toggle.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/caelestia/subcommands/toggle.py b/src/caelestia/subcommands/toggle.py
index 2122910..fd49c30 100644
--- a/src/caelestia/subcommands/toggle.py
+++ b/src/caelestia/subcommands/toggle.py
@@ -50,6 +50,7 @@ class Command:
def communication(self) -> None:
self.spawn_or_move(lambda c: c["class"] == "discord", ["discord"], "communication")
self.move_client(lambda c: c["class"] == "whatsapp", "communication")
+ hypr.dispatch("togglespecialworkspace", "communication")
def music(self) -> None:
self.spawn_or_move(
@@ -58,16 +59,18 @@ class Command:
"music",
)
self.move_client(lambda c: c["class"] == "feishin", "music")
+ hypr.dispatch("togglespecialworkspace", "music")
def sysmon(self) -> None:
self.spawn_client(
lambda c: c["class"] == "btop" and c["title"] == "btop" and c["workspace"]["name"] == "special:sysmon",
["foot", "-a", "btop", "-T", "btop", "--", "btop"],
- "sysmon",
)
+ hypr.dispatch("togglespecialworkspace", "sysmon")
def todo(self) -> None:
self.spawn_or_move(lambda c: c["class"] == "Todoist", ["todoist"], "todo")
+ hypr.dispatch("togglespecialworkspace", "todo")
def specialws(self) -> None:
workspaces = hypr.message("workspaces")