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