diff options
| -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") |
