aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/WaybarLayout.sh
diff options
context:
space:
mode:
authorJaKooLit <ejhay.games@gmail.com>2025-02-13 10:02:50 +0900
committerJaKooLit <ejhay.games@gmail.com>2025-02-13 10:02:50 +0900
commitdd46262fdfaabebb6fd2213a9baec91dd4244086 (patch)
treefdeaac26b690363bebe9ce2854d3a4c13e2ab2cb /config/hypr/scripts/WaybarLayout.sh
parentf46aee203c141f07692288f6053c35335c6c7faf (diff)
added -L on find command on some scripts to be more
https://github.com/JaKooLit/Hyprland-Dots/issues/553
Diffstat (limited to 'config/hypr/scripts/WaybarLayout.sh')
-rwxr-xr-xconfig/hypr/scripts/WaybarLayout.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/hypr/scripts/WaybarLayout.sh b/config/hypr/scripts/WaybarLayout.sh
index d6c4db83..fe16d3e1 100755
--- a/config/hypr/scripts/WaybarLayout.sh
+++ b/config/hypr/scripts/WaybarLayout.sh
@@ -2,6 +2,7 @@
# /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ##
# Script for waybar layout or configs
+set -x
IFS=$'\n\t'
# Define directories
@@ -15,7 +16,7 @@ menu() {
options=()
while IFS= read -r file; do
options+=("$(basename "$file")")
- done < <(find "$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[@]}"
}
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage