diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-07-20 09:58:35 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-07-20 09:58:35 +0900 |
| commit | a3adc26702e4e0339f6a68c0465f38e2cddd9554 (patch) | |
| tree | 72aa6183218ac72a2aa5873e6cda037ce26a9760 /config/hypr | |
| parent | 0d09e35428e645c4d28fe1ffc6acfa5c17c7965d (diff) | |
Update RofiThemeSelector.sh
updated to sort numerically and also added exclamation on message for better visibility
Diffstat (limited to 'config/hypr')
| -rwxr-xr-x | config/hypr/scripts/RofiThemeSelector.sh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/hypr/scripts/RofiThemeSelector.sh b/config/hypr/scripts/RofiThemeSelector.sh index 4c9d0e8f..8b2fcb71 100755 --- a/config/hypr/scripts/RofiThemeSelector.sh +++ b/config/hypr/scripts/RofiThemeSelector.sh @@ -82,7 +82,7 @@ original_rofi_config_content_backup=$(cat "$ROFI_CONFIG_FILE") mapfile -t available_theme_names < <(( find "$ROFI_THEMES_DIR_CONFIG" -maxdepth 1 -name "*.rasi" -type f -printf "%f\n" 2>/dev/null find "$ROFI_THEMES_DIR_LOCAL" -maxdepth 1 -name "*.rasi" -type f -printf "%f\n" 2>/dev/null -) | sort -u) +) | sort -V -u) if [ ${#available_theme_names[@]} -eq 0 ]; then notify_user "$IDIR/error.png" "No Rofi Themes" "No .rasi files found in theme directories." @@ -125,7 +125,7 @@ while true; do rofi -dmenu -i \ -format 'i' \ -p "Rofi Theme" \ - -mesg "‼️ **note** ‼️ Enter: Preview | Ctrl+S: Apply & Exit | Esc: Cancel" \ + -mesg "‼️ **note** ‼️ Enter: Preview || Ctrl+S: Apply & Exit || Esc: Cancel" \ -config "$ROFI_THEME_FOR_THIS_SCRIPT" \ -selected-row "$current_selection_index" \ -kb-custom-1 "Control+s") |
