From 69ffeffbfc1f8464219f03260c529230d1a36344 Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Mon, 29 Apr 2024 09:05:03 +0900 Subject: make rofi configs case insensitive --- config/hypr/UserScripts/RofiBeats.sh | 2 +- config/hypr/UserScripts/WallpaperSelect.sh | 2 +- config/hypr/UserScripts/ZshChangeTheme.sh | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'config/hypr/UserScripts') diff --git a/config/hypr/UserScripts/RofiBeats.sh b/config/hypr/UserScripts/RofiBeats.sh index 315bcf54..e08e3113 100755 --- a/config/hypr/UserScripts/RofiBeats.sh +++ b/config/hypr/UserScripts/RofiBeats.sh @@ -28,7 +28,7 @@ notification() { # Main function main() { - choice=$(printf "%s\n" "${!menu_options[@]}" | rofi -dmenu -config ~/.config/rofi/config-rofi-Beats.rasi -i -p "") + choice=$(printf "%s\n" "${!menu_options[@]}" | rofi -i -dmenu -config ~/.config/rofi/config-rofi-Beats.rasi -i -p "") if [ -z "$choice" ]; then exit 1 diff --git a/config/hypr/UserScripts/WallpaperSelect.sh b/config/hypr/UserScripts/WallpaperSelect.sh index 8aa9bdd8..de9c6546 100755 --- a/config/hypr/UserScripts/WallpaperSelect.sh +++ b/config/hypr/UserScripts/WallpaperSelect.sh @@ -25,7 +25,7 @@ RANDOM_PIC="${PICS[$((RANDOM % ${#PICS[@]}))]}" RANDOM_PIC_NAME="${#PICS[@]}. random" # Rofi command -rofi_command="rofi -show -dmenu -config ~/.config/rofi/config-wallpaper.rasi" +rofi_command="rofi -i -show -dmenu -config ~/.config/rofi/config-wallpaper.rasi" menu() { for i in "${!PICS[@]}"; do diff --git a/config/hypr/UserScripts/ZshChangeTheme.sh b/config/hypr/UserScripts/ZshChangeTheme.sh index 7057ed2e..46d2249e 100755 --- a/config/hypr/UserScripts/ZshChangeTheme.sh +++ b/config/hypr/UserScripts/ZshChangeTheme.sh @@ -5,7 +5,7 @@ file_extension=".zsh-theme" themes_array=($(find "$themes_dir" -type f -name "*$file_extension" -exec basename {} \; | sed -e "s/$file_extension//")) -rofi_command="rofi -dmenu -config ~/.config/rofi/config-zsh-theme.rasi" +rofi_command="rofi -i -dmenu -config ~/.config/rofi/config-zsh-theme.rasi" menu() { for theme in "${themes_array[@]}"; do -- cgit v1.2.3