X-Git-Url: https://git.danix.xyz/?p=danixland-rofi.git;a=blobdiff_plain;f=scripts%2Fdarknix-powermenu.sh;fp=scripts%2Fdanixland-powermenu.sh;h=c81cfd6718600e48a4c4d6438b66a197b03ffd36;hp=00fa7cf7a000d313320166b62cd1d243a73ac4a2;hb=a442b5f5948a8099c458cc85b7dc3ae8a3af1f28;hpb=dfe1ea0cd0abfd1ed332cbbd85d3d73108b4be49 diff --git a/scripts/danixland-powermenu.sh b/scripts/darknix-powermenu.sh old mode 100644 new mode 100755 similarity index 79% rename from scripts/danixland-powermenu.sh rename to scripts/darknix-powermenu.sh index 00fa7cf..c81cfd6 --- a/scripts/danixland-powermenu.sh +++ b/scripts/darknix-powermenu.sh @@ -1,17 +1,18 @@ #!/bin/bash -rofi_command="rofi -theme danixland/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-wrapper + i3lock-fancy ;; $suspend) sleep 1