summaryrefslogtreecommitdiff
path: root/modules/intents/sway.py
diff options
context:
space:
mode:
authorBotond Hende <nettingman@gmail.com>2024-11-27 22:50:09 +0100
committerBotond Hende <nettingman@gmail.com>2024-11-27 22:50:09 +0100
commit9a79c535edb655ca490c2b231aad2466951caf7f (patch)
treefde5a6f8460c807c1562df160b13842e8a212f93 /modules/intents/sway.py
parent965c0e3401a4743c4f5e91e2368fd04b0b24aa02 (diff)
added typehints for return values
Diffstat (limited to 'modules/intents/sway.py')
-rw-r--r--modules/intents/sway.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/intents/sway.py b/modules/intents/sway.py
index 1773363..9955b4c 100644
--- a/modules/intents/sway.py
+++ b/modules/intents/sway.py
@@ -2,8 +2,8 @@ import os
from typing import Dict
from ..config import Config
-def HesNavigate(data: Dict, config: Config):
+def HesNavigate(data: Dict, config: Config) -> None:
os.popen(f"swaymsg workspace {data["workspace"]}")
-def HesLock(data: Dict, config: Config):
+def HesLock(data: Dict, config: Config) -> None:
os.popen(config.lock) \ No newline at end of file