diff options
| author | JaKooLit <ejhay.games@gmail.com> | 2025-02-05 09:26:19 +0900 |
|---|---|---|
| committer | JaKooLit <ejhay.games@gmail.com> | 2025-02-05 09:26:19 +0900 |
| commit | a60c69be106fcd2bad12bf1a57c9ae7f13a7165c (patch) | |
| tree | cc7b6210c13a9acacfd3798039e052679a80cf98 /config | |
| parent | e5dc74881ce00eaba324d16f5d9412bab04fe857 (diff) | |
animations list now alphabetically
Diffstat (limited to 'config')
| -rw-r--r-- | config/hypr/animations/00-default.conf (renamed from config/hypr/animations/default.conf) | 0 | ||||
| -rw-r--r-- | config/hypr/animations/01-default - v2.conf (renamed from config/hypr/animations/default - v2.conf) | 0 | ||||
| -rw-r--r-- | config/hypr/animations/03-disabled.conf (renamed from config/hypr/animations/disabled.conf) | 0 | ||||
| -rwxr-xr-x | config/hypr/scripts/Animations.sh | 6 |
4 files changed, 3 insertions, 3 deletions
diff --git a/config/hypr/animations/default.conf b/config/hypr/animations/00-default.conf index 0f40b5e6..0f40b5e6 100644 --- a/config/hypr/animations/default.conf +++ b/config/hypr/animations/00-default.conf diff --git a/config/hypr/animations/default - v2.conf b/config/hypr/animations/01-default - v2.conf index dfbbed7f..dfbbed7f 100644 --- a/config/hypr/animations/default - v2.conf +++ b/config/hypr/animations/01-default - v2.conf diff --git a/config/hypr/animations/disabled.conf b/config/hypr/animations/03-disabled.conf index f73a485b..f73a485b 100644 --- a/config/hypr/animations/disabled.conf +++ b/config/hypr/animations/03-disabled.conf 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" |
