summaryrefslogtreecommitdiff
path: root/modules/intents/process.py
diff options
context:
space:
mode:
Diffstat (limited to 'modules/intents/process.py')
-rw-r--r--modules/intents/process.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/intents/process.py b/modules/intents/process.py
index bc834b6..0bed441 100644
--- a/modules/intents/process.py
+++ b/modules/intents/process.py
@@ -1,9 +1,11 @@
import os
from typing import Dict
from .sway import HesNavigate
+from ..config import Config
-def HesExecuteProcess(data: Dict):
+
+def HesExecuteProcess(data: Dict, config: Config):
if "workspace" in data:
- HesNavigate(data)
+ HesNavigate(data, config)
os.popen(data["process"].strip())