curve: fix fonts on rofi menus

This commit is contained in:
Anish Lakhwara
2023-08-16 23:35:52 -07:00
parent 7e2f8c52c5
commit fd4b357537
4 changed files with 29 additions and 27 deletions
+6 -6
View File
@@ -5,9 +5,9 @@ rofi_command="rofi -theme theme/powermenu.rasi"
### Options ###
power_off="\tShutdown"
reboot="\tReboot"
lock="\tLock"
suspend="\tSleep"
log_out="\tLogout"
lock="\tLock"
suspend="󰤄\tSleep"
log_out="󰍃\tLogout"
# Variable passed to rofi
options="$power_off\n$reboot\n$lock\n$suspend\n$log_out"
@@ -18,14 +18,14 @@ case "$(echo -e "$options" | $rofi_command -dmenu)" in
" Reboot")
systemctl reboot
;;
" Lock")
" Lock")
dm-tool lock
;;
" Sleep")
"󰤄 Sleep")
dbus-send --print-reply --dest=org.mpris.MediaPlayer2.spotify /org/mpris/MediaPlayer2 org.mpris.MediaPlayer2.Player.Pause
systemctl suspend
;;
" Logout")
"󰍃 Logout")
bspc quit
;;
esac