summaryrefslogtreecommitdiff
path: root/modules/intents
diff options
context:
space:
mode:
Diffstat (limited to 'modules/intents')
-rw-r--r--modules/intents/process.py2
-rw-r--r--modules/intents/sway.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/modules/intents/process.py b/modules/intents/process.py
index 0bed441..48ade48 100644
--- a/modules/intents/process.py
+++ b/modules/intents/process.py
@@ -4,7 +4,7 @@ from .sway import HesNavigate
from ..config import Config
-def HesExecuteProcess(data: Dict, config: Config):
+def HesExecuteProcess(data: Dict, config: Config) -> None:
if "workspace" in data:
HesNavigate(data, config)
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