aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts')
-rwxr-xr-xconfig/hypr/scripts/RofiThemeSelector.sh4
-rwxr-xr-xconfig/hypr/scripts/WaybarLayout.sh2
-rwxr-xr-xconfig/hypr/scripts/WaybarStyles.sh2
3 files changed, 4 insertions, 4 deletions
diff --git a/config/hypr/scripts/RofiThemeSelector.sh b/config/hypr/scripts/RofiThemeSelector.sh
index 2e840ea1..6fd8a6f8 100755
--- a/config/hypr/scripts/RofiThemeSelector.sh
+++ b/config/hypr/scripts/RofiThemeSelector.sh
@@ -15,8 +15,8 @@ rofi_theme="$HOME/.config/rofi/config-rofi-theme.rasi"
menu() {
options=()
while IFS= read -r file; do
- options+=("$(basename "$file")")
- done < <(find -L "$rofi_theme_dir" -maxdepth 1 -type f -exec basename {} \; | sort)
+ options+=("$file")
+ done < <(find -L "$rofi_theme_dir" -maxdepth 1 -type f -exec basename {} \; | sort -V)
printf '%s\n' "${options[@]}"
}
diff --git a/config/hypr/scripts/WaybarLayout.sh b/config/hypr/scripts/WaybarLayout.sh
index 604ec3af..0bea6ffe 100755
--- a/config/hypr/scripts/WaybarLayout.sh
+++ b/config/hypr/scripts/WaybarLayout.sh
@@ -16,7 +16,7 @@ menu() {
options=()
while IFS= read -r file; do
options+=("$(basename "$file")")
- done < <(find -L "$waybar_layouts" -maxdepth 1 -type f -exec basename {} \; | sort)
+ done < <(find -L "$waybar_layouts" -maxdepth 1 -type f -exec basename {} \; | sort )
printf '%s\n' "${options[@]}"
}
diff --git a/config/hypr/scripts/WaybarStyles.sh b/config/hypr/scripts/WaybarStyles.sh
index 5cba7d6a..246a66a2 100755
--- a/config/hypr/scripts/WaybarStyles.sh
+++ b/config/hypr/scripts/WaybarStyles.sh
@@ -18,7 +18,7 @@ menu() {
if [ -f "$waybar_styles/$file" ]; then
options+=("$(basename "$file" .css)")
fi
- done < <(find -L "$waybar_styles" -maxdepth 1 -type f -name '*.css' -exec basename {} \; | sort)
+ done < <(find -L "$waybar_styles" -maxdepth 1 -type f -name '*.css' -exec basename {} \; | sort )
printf '%s\n' "${options[@]}"
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage