fix(poweroff): change shutdown command flag
This commit is contained in:
BIN
rofi/power/bg.png
Executable file → Normal file
BIN
rofi/power/bg.png
Executable file → Normal file
Binary file not shown.
|
Before Width: | Height: | Size: 0 B After Width: | Height: | Size: 74 KiB |
@@ -59,7 +59,7 @@ run_cmd() {
|
||||
selected="$(confirm_exit)"
|
||||
if [[ "$selected" == "$yes" ]]; then
|
||||
if [[ $1 == '--shutdown' ]]; then
|
||||
sudo shutdown -f now
|
||||
sudo shutdown -P now
|
||||
elif [[ $1 == '--reboot' ]]; then
|
||||
sudo reboot
|
||||
elif [[ $1 == '--suspend' ]]; then
|
||||
|
||||
Reference in New Issue
Block a user