refactor(src/window/launcher/plugins): migrate subprocess calls to exec_shell_command_asyncUse unified async execution and updated hyprctl dispatch syntax
This commit is contained in:
2 files changed
+12
-5
No files matched your search
@@ -99,4 +99,4 @@ class PowerPlugin(PluginBase):
|
||||
exec_shell_command_async("systemctl suspend")
|
||||
|
||||
def logout(self, *args) -> None:
|
||||
exec_shell_command_async("hyprctl dispatch exit")
|
||||
exec_shell_command_async("hyprctl dispatch 'hl.dsp.exit()'")
|
||||
Reference in new issue
Block a user