diff options
author | Botond Hende <nettingman@gmail.com> | 2024-10-19 12:20:22 +0200 |
---|---|---|
committer | Botond Hende <nettingman@gmail.com> | 2024-10-19 12:20:22 +0200 |
commit | b52373f67c830786542b72da96e57b1924a97583 (patch) | |
tree | ad8b95a98e0c5d869e930a15537a38de4afd9706 /modules/intents/process.py | |
parent | d6e55af9f2421641a5d4c8945869a1463b353272 (diff) |
navigate in workspaces
Diffstat (limited to 'modules/intents/process.py')
-rw-r--r-- | modules/intents/process.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/modules/intents/process.py b/modules/intents/process.py index 4b3fdab..bc834b6 100644 --- a/modules/intents/process.py +++ b/modules/intents/process.py @@ -1,12 +1,9 @@ import os from typing import Dict - - -def switch_to_workspace(data: Dict): - os.popen(f"swaymsg workspace {data["workspace"]}") +from .sway import HesNavigate def HesExecuteProcess(data: Dict): if "workspace" in data: - switch_to_workspace(data) + HesNavigate(data) os.popen(data["process"].strip()) |