aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-07-20 09:58:35 +0900
committerGitHub <noreply@github.com>2025-07-20 09:58:35 +0900
commita3adc26702e4e0339f6a68c0465f38e2cddd9554 (patch)
tree72aa6183218ac72a2aa5873e6cda037ce26a9760 /config/hypr
parent0d09e35428e645c4d28fe1ffc6acfa5c17c7965d (diff)
Update RofiThemeSelector.sh
updated to sort numerically and also added exclamation on message for better visibility
Diffstat (limited to 'config/hypr')
-rwxr-xr-xconfig/hypr/scripts/RofiThemeSelector.sh4
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 &amp; Exit | Esc: Cancel" \
+ -mesg "‼️ **note** ‼️ Enter: Preview || Ctrl+S: Apply &amp; Exit || Esc: Cancel" \
-config "$ROFI_THEME_FOR_THIS_SCRIPT" \
-selected-row "$current_selection_index" \
-kb-custom-1 "Control+s")
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage