aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/WaybarStyles.sh
diff options
context:
space:
mode:
authorJa.KooLit <85185940+JaKooLit@users.noreply.github.com>2025-02-23 14:46:19 +0900
committerGitHub <noreply@github.com>2025-02-23 14:46:19 +0900
commit91b9177b0ff5d2fac7b99be9a89f8e9f054347fd (patch)
tree5b11da646166995b52bb597cf6a92703d1f5a0a2 /config/hypr/scripts/WaybarStyles.sh
parent9f5b41c3e230cda406592167fcd0446a5f56821c (diff)
parentb8ab57be1c8e579e69e5bfd56668815465d71785 (diff)
Merge pull request #577 from JaKooLit/development
Development to main Dots version 2.3.12
Diffstat (limited to 'config/hypr/scripts/WaybarStyles.sh')
-rwxr-xr-xconfig/hypr/scripts/WaybarStyles.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/config/hypr/scripts/WaybarStyles.sh b/config/hypr/scripts/WaybarStyles.sh
index a265eae0..246a66a2 100755
--- a/config/hypr/scripts/WaybarStyles.sh
+++ b/config/hypr/scripts/WaybarStyles.sh
@@ -9,6 +9,7 @@ waybar_styles="$HOME/.config/waybar/style"
waybar_style="$HOME/.config/waybar/style.css"
SCRIPTSDIR="$HOME/.config/hypr/scripts"
rofi_config="$HOME/.config/rofi/config-waybar-style.rasi"
+msg=' 🎌 NOTE: Some waybar STYLES NOT fully compatible with some LAYOUTS'
# Function to display menu options
menu() {
@@ -17,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[@]}"
}
@@ -30,7 +31,7 @@ apply_style() {
# Main function
main() {
- choice=$(menu | rofi -i -dmenu -config "$rofi_config")
+ choice=$(menu | rofi -i -dmenu -config "$rofi_config" -mesg "$msg")
if [[ -z "$choice" ]]; then
echo "No option selected. Exiting."
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage