diff options
Diffstat (limited to 'modules/intents/sway.py')
-rw-r--r-- | modules/intents/sway.py | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/modules/intents/sway.py b/modules/intents/sway.py index 5ab1b25..1773363 100644 --- a/modules/intents/sway.py +++ b/modules/intents/sway.py @@ -1,5 +1,9 @@ import os from typing import Dict +from ..config import Config -def HesNavigate(data: Dict): +def HesNavigate(data: Dict, config: Config): os.popen(f"swaymsg workspace {data["workspace"]}") + +def HesLock(data: Dict, config: Config): + os.popen(config.lock)
\ No newline at end of file |