curve: fix fonts on rofi menus
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -3,11 +3,11 @@
|
||||
timer=5
|
||||
|
||||
# Options
|
||||
select="麗"
|
||||
window="类"
|
||||
screen=""
|
||||
delay=""
|
||||
cancel=""
|
||||
select=" "
|
||||
window=" "
|
||||
screen=" "
|
||||
delay=" "
|
||||
cancel=" "
|
||||
|
||||
# Variable passed to rofi
|
||||
options="$select\n$window\n$screen\n$delay\n$cancel"
|
||||
|
||||
Reference in New Issue
Block a user