summaryrefslogtreecommitdiff
path: root/modules/intents/sway.py
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-10-19 12:20:22 +0200
committerBotond Hende <nettingman@gmail.com>2024-10-19 12:20:22 +0200
commitb52373f67c830786542b72da96e57b1924a97583 (patch)
treead8b95a98e0c5d869e930a15537a38de4afd9706 /modules/intents/sway.py
parentd6e55af9f2421641a5d4c8945869a1463b353272 (diff)
navigate in workspaces
Diffstat (limited to 'modules/intents/sway.py')
-rw-r--r--modules/intents/sway.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/intents/sway.py b/modules/intents/sway.py
new file mode 100644
index 0000000..5ab1b25
--- /dev/null
+++ b/modules/intents/sway.py
@@ -0,0 +1,5 @@
+import os
+from typing import Dict
+
+def HesNavigate(data: Dict):
+ os.popen(f"swaymsg workspace {data["workspace"]}")