diff options
author | Botond Hende <nettingman@gmail.com> | 2024-11-27 22:50:09 +0100 |
---|---|---|
committer | Botond Hende <nettingman@gmail.com> | 2024-11-27 22:50:09 +0100 |
commit | 9a79c535edb655ca490c2b231aad2466951caf7f (patch) | |
tree | fde5a6f8460c807c1562df160b13842e8a212f93 /modules/intents/sway.py | |
parent | 965c0e3401a4743c4f5e91e2368fd04b0b24aa02 (diff) |
added typehints for return values
Diffstat (limited to 'modules/intents/sway.py')
-rw-r--r-- | modules/intents/sway.py | 4 |
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 |