Merge pull request #122 from erdivartanovich/master

Patch powermenu weird display if host rofi config exist
This commit is contained in:
Aditya Shakya
2022-08-25 10:35:13 +05:30
committed by GitHub
22 changed files with 75 additions and 53 deletions
+3 -2
View File
@@ -52,7 +52,7 @@ else
exit 1
fi
rofi_command="rofi -theme $DIR/$theme/powermenu.rasi"
rofi_command="rofi -no-config -theme $DIR/powermenu.rasi"
# Options
shutdown=" Shutdown"
@@ -64,6 +64,7 @@ logout=" Logout"
# Confirmation
confirm_exit() {
rofi -dmenu\
-no-config\
-i\
-no-fixed-num-lines\
-p "Are You Sure? : "\
@@ -72,7 +73,7 @@ confirm_exit() {
# Message
msg() {
rofi -theme "$DIR/$theme/message.rasi" -e "Available Options - yes / y / no / n"
rofi -no-config -theme "$DIR/$theme/message.rasi" -e "Available Options - yes / y / no / n"
}
# Variable passed to rofi