Merge pull request #2 from erdivartanovich/patch-powermenu
Fix rofi powermenu add -no-config
This commit is contained in:
@@ -20,6 +20,7 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
|
-no-config\
|
||||||
-i\
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,7 +20,8 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
-i\
|
-no-config\
|
||||||
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
-theme $dir/confirm.rasi
|
-theme $dir/confirm.rasi
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,7 +20,8 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
-i\
|
-no-config\
|
||||||
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
-theme $dir/confirm.rasi
|
-theme $dir/confirm.rasi
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,7 +20,8 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
-i\
|
-no-config\
|
||||||
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
-theme $dir/confirm.rasi
|
-theme $dir/confirm.rasi
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,7 +20,8 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
-i\
|
-no-config\
|
||||||
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
-theme $dir/confirm.rasi
|
-theme $dir/confirm.rasi
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,7 +20,8 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
-i\
|
-no-config\
|
||||||
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
-theme $dir/confirm.rasi
|
-theme $dir/confirm.rasi
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,7 +20,8 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
-i\
|
-no-config\
|
||||||
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
-theme $dir/confirm.rasi
|
-theme $dir/confirm.rasi
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,7 +20,8 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
-i\
|
-no-config\
|
||||||
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
-theme $dir/confirm.rasi
|
-theme $dir/confirm.rasi
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,7 +20,8 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
-i\
|
-no-config\
|
||||||
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
-theme $dir/confirm.rasi
|
-theme $dir/confirm.rasi
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,7 +20,8 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
-i\
|
-no-config\
|
||||||
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
-theme $dir/confirm.rasi
|
-theme $dir/confirm.rasi
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
|
-no-config\
|
||||||
-i\
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
|
-no-config\
|
||||||
-i\
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
|
-no-config\
|
||||||
-i\
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
|
-no-config\
|
||||||
-i\
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
|
-no-config\
|
||||||
-i\
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
|
-no-config\
|
||||||
-i\
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
|
-no-config\
|
||||||
-i\
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
dir="~/.config/polybar/material/scripts/rofi"
|
dir="~/.config/polybar/material/scripts/rofi"
|
||||||
uptime=$(uptime -p | sed -e 's/up //g')
|
uptime=$(uptime -p | sed -e 's/up //g')
|
||||||
|
|
||||||
rofi_command="rofi -theme $dir/powermenu.rasi"
|
rofi_command="rofi -no-config -theme $dir/powermenu.rasi"
|
||||||
|
|
||||||
# Options
|
# Options
|
||||||
shutdown=" Shutdown"
|
shutdown=" Shutdown"
|
||||||
@@ -20,6 +20,7 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
|
-no-config\
|
||||||
-i\
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -64,6 +64,7 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
|
-no-config\
|
||||||
-i\
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
@@ -72,7 +73,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
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
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
|
-no-config\
|
||||||
-i\
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Options : yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Options : yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
|
-no-config\
|
||||||
-i\
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ logout=" Logout"
|
|||||||
# Confirmation
|
# Confirmation
|
||||||
confirm_exit() {
|
confirm_exit() {
|
||||||
rofi -dmenu\
|
rofi -dmenu\
|
||||||
|
-no-config\
|
||||||
-i\
|
-i\
|
||||||
-no-fixed-num-lines\
|
-no-fixed-num-lines\
|
||||||
-p "Are You Sure? : "\
|
-p "Are You Sure? : "\
|
||||||
@@ -28,7 +29,7 @@ confirm_exit() {
|
|||||||
|
|
||||||
# Message
|
# Message
|
||||||
msg() {
|
msg() {
|
||||||
rofi -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
rofi -no-config -theme "$dir/message.rasi" -e "Available Options - yes / y / no / n"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Variable passed to rofi
|
# Variable passed to rofi
|
||||||
|
|||||||
Reference in New Issue
Block a user