X-Git-Url: https://git.danix.xyz/?p=my-dotfiles.git;a=blobdiff_plain;f=bin%2Fblackpearl-powermenu.sh;fp=bin%2Fblackpearl-powermenu.sh;h=c81cfd6718600e48a4c4d6438b66a197b03ffd36;hp=aa203e30b84363272e0493b839e91006c8396886;hb=7abef725078fc52196b630c95f354fb58864c743;hpb=6be4fcd546b01b14b5f06306ab5b7c0391913bfa diff --git a/bin/blackpearl-powermenu.sh b/bin/blackpearl-powermenu.sh old mode 100755 new mode 100644 index aa203e3..c81cfd6 --- a/bin/blackpearl-powermenu.sh +++ b/bin/blackpearl-powermenu.sh @@ -1,17 +1,18 @@ #!/bin/bash -rofi_command="rofi -theme blackpearl/powermenu.rasi" +# rofi_command="rofi -theme blackpearl/powermenu.rasi" +rofi_command="rofi -theme darknix/powermenu.rasi" ### Options ### power_off="" reboot="" -lock="" -suspend="鈴" -log_out="" +lock="" +suspend="⏾" +log_out="﫼" # Variable passed to rofi options="$power_off\n$reboot\n$lock\n$suspend\n$log_out" -chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 2)" +chosen="$(echo -e "$options" | $rofi_command -dmenu -selected-row 0)" case $chosen in $power_off) notify-send 'shutting down' 'the system is going to shutdown now' @@ -25,7 +26,7 @@ case $chosen in ;; $lock) sleep 1 - i3lock-blur + i3lock-fancy ;; $suspend) sleep 1