nwg-panel: fix reboot/shutdown commands to not assume systemd
This commit is contained in:
parent
e04ec4c706
commit
0c922bd63a
|
@ -94,17 +94,17 @@
|
|||
name = "Lock";
|
||||
cmd = "s6-rc start ${locker}";
|
||||
}
|
||||
{
|
||||
name = "Logout";
|
||||
cmd = "swaymsg exit";
|
||||
}
|
||||
# {
|
||||
# name = "Logout";
|
||||
# cmd = "swaymsg exit";
|
||||
# }
|
||||
{
|
||||
name = "Reboot";
|
||||
cmd = "systemctl reboot";
|
||||
cmd = "reboot";
|
||||
}
|
||||
{
|
||||
name = "Shutdown";
|
||||
cmd = "systemctl -i poweroff";
|
||||
cmd = "shutdown now";
|
||||
}
|
||||
];
|
||||
menu.name = "Exit";
|
||||
|
|
Loading…
Reference in New Issue
Block a user