fix(poweroff): change shutdown command flag

This commit is contained in:
doryan 2025-02-16 18:38:48 +04:00
parent 36f7b6d24c
commit 42a7c0e726
2 changed files with 1 additions and 1 deletions

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

View File

@ -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