Skip to content

Commit

Permalink
Merge pull request #1 from ekaunt/patch-3
Browse files Browse the repository at this point in the history
"poweroff" and "reboot" should match with "logout"
  • Loading branch information
ekaunt committed Aug 16, 2020
2 parents cc8a406 + 325df81 commit 65f7042
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .config/rofi/scripts/powermenu.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,10 @@ options="$shutdown\n$reboot\n$lock\n$suspend\n$logout"
chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 2)"
case $chosen in
$shutdown)
~/.config/rofi/scripts/promptmenu.sh --yes-command "poweroff" --query "Are you sure want to Poweroff?"
~/.config/rofi/scripts/promptmenu.sh --yes-command "poweroff" --query "Poweroff?"
;;
$reboot)
~/.config/rofi/scripts/promptmenu.sh --yes-command "reboot" --query "Are you sure want to Reboot?"
~/.config/rofi/scripts/promptmenu.sh --yes-command "reboot" --query "Reboot?"
;;
$lock)
~/.scripts/lockscreen
Expand Down

0 comments on commit 65f7042

Please sign in to comment.