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:
sankalp committed 2026-06-16 22:24:36 +05:45
1 parent 7371b4fcb8
commit d887e22f0b
2 files changed
+12 -5

No files matched your search

+1 -1
View File
@@ -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()'")