From b52373f67c830786542b72da96e57b1924a97583 Mon Sep 17 00:00:00 2001 From: Botond Hende Date: Sat, 19 Oct 2024 12:20:22 +0200 Subject: navigate in workspaces --- modules/intents/sway.py | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 modules/intents/sway.py (limited to 'modules/intents/sway.py') 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"]}") -- cgit v1.2.3-70-g09d2