aboutsummaryrefslogtreecommitdiffstats
path: root/config/hypr/scripts/WaybarLayout.sh
diff options
context:
space:
mode:
Diffstat (limited to 'config/hypr/scripts/WaybarLayout.sh')
-rwxr-xr-xconfig/hypr/scripts/WaybarLayout.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/hypr/scripts/WaybarLayout.sh b/config/hypr/scripts/WaybarLayout.sh
index 33f31842..0bea6ffe 100755
--- a/config/hypr/scripts/WaybarLayout.sh
+++ b/config/hypr/scripts/WaybarLayout.sh
@@ -9,13 +9,14 @@ waybar_layouts="$HOME/.config/waybar/configs"
waybar_config="$HOME/.config/waybar/config"
SCRIPTSDIR="$HOME/.config/hypr/scripts"
rofi_config="$HOME/.config/rofi/config-waybar-layout.rasi"
+msg=' 🎌 NOTE: Some waybar LAYOUT NOT fully compatible with some STYLES'
# Function to display menu options
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[@]}"
}
@@ -23,13 +24,12 @@ menu() {
# Apply selected configuration
apply_config() {
ln -sf "$waybar_layouts/$1" "$waybar_config"
- #restart_waybar_if_needed
"${SCRIPTSDIR}/Refresh.sh" &
}
# 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