aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/Animations.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-02-07 21:31:36 +0900
committerGitHub <noreply@github.com>2025-02-07 21:31:36 +0900
commit6fac05d59aa95d0a3d0009734e26459c57ae2536 (patch)
tree66fbf0d98651b018827a55f0f4b24e7686524d01 /config/hypr/scripts/Animations.sh
parentf6bbfa68a174f0d01fbf8b4ae2a6785e43adba2c (diff)
parentdb04cff10648f94214a39d3303d5c2eeab6603d8 (diff)
Merge pull request #546 from JaKooLit/development
Development to main
Diffstat (limited to 'config/hypr/scripts/Animations.sh')
-rwxr-xr-xconfig/hypr/scripts/Animations.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/hypr/scripts/Animations.sh b/config/hypr/scripts/Animations.sh
index 48ac0f85..7789cb05 100755
--- a/config/hypr/scripts/Animations.sh
+++ b/config/hypr/scripts/Animations.sh
@@ -13,8 +13,8 @@ SCRIPTSDIR="$HOME/.config/hypr/scripts"
animations_dir="$HOME/.config/hypr/animations"
UserConfigs="$HOME/.config/hypr/UserConfigs"
-# list of animation files
-animations_list=$(find "$animations_dir" -maxdepth 1 -type f | sed 's/.*\///' | sed 's/\.conf$//')
+# list of animation files, sorted alphabetically with numbers first
+animations_list=$(find "$animations_dir" -maxdepth 1 -type f | sed 's/.*\///' | sed 's/\.conf$//' | sort -V)
# Rofi Menu
chosen_file=$(echo "$animations_list" | rofi -i -dmenu -config ~/.config/rofi/config-Animations.rasi)
@@ -32,4 +32,4 @@ else
fi
sleep 1
-"$SCRIPTSDIR/RefreshNoWaybar.sh" \ No newline at end of file
+"$SCRIPTSDIR/RefreshNoWaybar.sh"
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage