diff options
| author | Ja.KooLit <85185940+JaKooLit@users.noreply.github.com> | 2025-02-07 21:31:36 +0900 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-02-07 21:31:36 +0900 |
| commit | 6fac05d59aa95d0a3d0009734e26459c57ae2536 (patch) | |
| tree | 66fbf0d98651b018827a55f0f4b24e7686524d01 /config/hypr/scripts | |
| parent | f6bbfa68a174f0d01fbf8b4ae2a6785e43adba2c (diff) | |
| parent | db04cff10648f94214a39d3303d5c2eeab6603d8 (diff) | |
Merge pull request #546 from JaKooLit/development
Development to main
Diffstat (limited to 'config/hypr/scripts')
| -rwxr-xr-x | config/hypr/scripts/Animations.sh | 6 | ||||
| -rwxr-xr-x | config/hypr/scripts/Refresh.sh | 7 | ||||
| -rwxr-xr-x | config/hypr/scripts/RefreshNoWaybar.sh | 4 |
3 files changed, 7 insertions, 10 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" diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh index 77ba1496..c8c46695 100755 --- a/config/hypr/scripts/Refresh.sh +++ b/config/hypr/scripts/Refresh.sh @@ -24,11 +24,8 @@ done killall -SIGUSR2 waybar # added since wallust sometimes not applying -# quit ags -ags -q - -# relaunch ags -ags & +# quit ags & relaunch ags +#ags -q && ags & # Kill waybar & swaync (yet again) # added since wallust sometimes not applying _ps2=(waybar swaync) diff --git a/config/hypr/scripts/RefreshNoWaybar.sh b/config/hypr/scripts/RefreshNoWaybar.sh index 11496826..85332a32 100755 --- a/config/hypr/scripts/RefreshNoWaybar.sh +++ b/config/hypr/scripts/RefreshNoWaybar.sh @@ -25,8 +25,8 @@ for _prs in "${_ps[@]}"; do fi done -# quit ags -ags -q +# quit ags & relaunch ags +#ags -q && ags & # Wallust refresh ${SCRIPTSDIR}/WallustSwww.sh & |
