fix sddm L (#228)

This commit is contained in:
end-4
2024-02-02 15:33:44 +07:00
parent 2e1e06c282
commit f9be66d115
2 changed files with 2 additions and 2 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`, `pkill Hyprland || pkill sway`]).catch(print);
}
}