diff --git a/config/waybar/style.css b/config/waybar/style.css index 63302efa94..5cb5b54279 100644 --- a/config/waybar/style.css +++ b/config/waybar/style.css @@ -9,6 +9,8 @@ min-height: 0; font-family: 'JetBrainsMono Nerd Font'; font-size: 12px; + /* omarchy:disable-text-shadow */ + text-shadow: none; } .modules-left { @@ -57,6 +59,11 @@ tooltip { padding: 2px; + text-shadow: none; +} + +tooltip * { + text-shadow: none; } #custom-update { diff --git a/migrations/1779713467.sh b/migrations/1779713467.sh new file mode 100644 index 0000000000..354de4539c --- /dev/null +++ b/migrations/1779713467.sh @@ -0,0 +1,20 @@ +echo "Disable inherited text shadows in Waybar" + +waybar_style="$HOME/.config/waybar/style.css" +marker="omarchy:disable-text-shadow" + +if [[ -f $waybar_style ]] && ! grep -qF "$marker" "$waybar_style"; then + cat >>"$waybar_style" <<'EOF' + +/* omarchy:disable-text-shadow */ +* { + text-shadow: none; +} + +tooltip, tooltip * { + text-shadow: none; +} +EOF + + omarchy-restart-waybar +fi