make logout sddm-compatible

This commit is contained in:
end-4
2024-01-15 12:06:02 +07:00
parent 300f4f94ab
commit f1c141a80b
3 changed files with 3 additions and 3 deletions
@@ -53,7 +53,7 @@ export function launchCustomCommand(command) {
execAsync([`bash`, `-c`, `systemctl suspend`]).catch(print);
}
else if (args[0] == '>logout') { // Log out
execAsync([`bash`, `-c`, `loginctl terminate-user $USER`]).catch(print);
execAsync([`bash`, `-c`, `killall Hyprland`]).catch(print);
}
}