diff options
| author | JaKooLit <jimmielovejay@gmail.com> | 2024-04-29 09:05:03 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay@gmail.com> | 2024-04-29 09:05:03 +0900 |
| commit | 69ffeffbfc1f8464219f03260c529230d1a36344 (patch) | |
| tree | 0670c2c24f1cd5eec336cda7889a3db3b3445337 | |
| parent | 5b40716ab9c1c3ca0d91185e00856245fc1f9ed4 (diff) | |
make rofi configs case insensitive
| -rwxr-xr-x | config/hypr/UserScripts/RofiBeats.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/UserScripts/WallpaperSelect.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/UserScripts/ZshChangeTheme.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/ClipManager.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/RofiEmoji.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/WaybarLayout.sh | 2 | ||||
| -rwxr-xr-x | config/hypr/scripts/WaybarStyles.sh | 2 |
7 files changed, 7 insertions, 7 deletions
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 diff --git a/config/hypr/scripts/ClipManager.sh b/config/hypr/scripts/ClipManager.sh index f93005bc..ddce2999 100755 --- a/config/hypr/scripts/ClipManager.sh +++ b/config/hypr/scripts/ClipManager.sh @@ -8,7 +8,7 @@ while true; do result=$( - rofi -dmenu \ + rofi -i -dmenu \ -kb-custom-1 "Control-Delete" \ -kb-custom-2 "Alt-Delete" \ -config ~/.config/rofi/config-clipboard.rasi < <(cliphist list) diff --git a/config/hypr/scripts/RofiEmoji.sh b/config/hypr/scripts/RofiEmoji.sh index 4c51ee8a..cf6bec55 100755 --- a/config/hypr/scripts/RofiEmoji.sh +++ b/config/hypr/scripts/RofiEmoji.sh @@ -3,7 +3,7 @@ # Rofi Emoticons. Not my own. Cant remember the source sed '1,/^# # DATA # #$/d' $0 | -rofi -dmenu -config ~/.config/rofi/config-long.rasi| +rofi -i -dmenu -config ~/.config/rofi/config-long.rasi| cut -d ' ' -f 1 | tr -d '\n' | wl-copy exit diff --git a/config/hypr/scripts/WaybarLayout.sh b/config/hypr/scripts/WaybarLayout.sh index a70953bb..03029889 100755 --- a/config/hypr/scripts/WaybarLayout.sh +++ b/config/hypr/scripts/WaybarLayout.sh @@ -38,7 +38,7 @@ restart_waybar_if_needed() { # Main function main() { - choice=$(menu | rofi -dmenu -config "$rofi_config") + choice=$(menu | rofi -i -dmenu -config "$rofi_config") if [[ -z "$choice" ]]; then echo "No option selected. Exiting." diff --git a/config/hypr/scripts/WaybarStyles.sh b/config/hypr/scripts/WaybarStyles.sh index 4cd484b0..2e994780 100755 --- a/config/hypr/scripts/WaybarStyles.sh +++ b/config/hypr/scripts/WaybarStyles.sh @@ -40,7 +40,7 @@ restart_waybar_if_needed() { # Main function main() { - choice=$(menu | rofi -dmenu -config "$rofi_config") + choice=$(menu | rofi -i -dmenu -config "$rofi_config") if [[ -z "$choice" ]]; then echo "No option selected. Exiting." |
