Skip to content

Commit

Permalink
"poweroff" and "reboot" should match with "logout"
Browse files Browse the repository at this point in the history
this way it fits better in the promptmenu
  • Loading branch information
ekaunt committed Aug 16, 2020
1 parent 95cb1f4 commit 325df81
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 325df81

Please sign in to comment.