* Pick window transparency from Appearance > Window Transparency Transparent, the default, keeps today's windows. Opaque turns the windows Omarchy makes transparent solid. Glassy is the frosted glass Starship (#14726): its blur behind every see-through window and shell surface, and a see-through, blurred background in the theme's terminal files, since foot turns compositor blur down and a Hyprland opacity rule fades text. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Leave window transparency to Appearance when animations are off Turning animations off no longer makes windows opaque. VM installs start with opaque windows instead, and a migration keeps them opaque for anyone who already has animations off. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Add a Glassy bar background, under Menu Bar > Bar Background Menu Bar > Bar Background picks Opaque Bar, Glassy Bar or Clear Bar, and Indicators becomes Bar Indicators to match. Glassy keeps the theme background faintly and Hyprland blurs what is behind it, with the same blur as Glassy windows. omarchy bar background opaque|glassy|none|cycle sets it and prints it when given nothing. omarchy bar transparent true|false|toggle stays for compatibility, as none and opaque. Double-clicking the bar cycles through the three backgrounds the same way, from clear to glassy to opaque. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Stop when a saved corner choice can't be removed Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * Make btop follow glassy windows --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
21 lines
1002 B
Bash
21 lines
1002 B
Bash
echo "Keep windows opaque where animations are turned off"
|
|
|
|
# Turning animations off used to make windows opaque too. It no longer touches
|
|
# transparency, so drop that rule from the saved flag, where it would keep
|
|
# windows opaque whatever Appearance > Window Transparency says, and carry it
|
|
# over as Window Transparency > Opaque for anyone who has not picked one yet.
|
|
# omarchy-hyprland-toggle saved flags under ~/.local/state whatever
|
|
# XDG_STATE_HOME said, while Hyprland reads them from XDG_STATE_HOME, so both
|
|
# are fixed.
|
|
for state_home in "$HOME/.local/state" "${XDG_STATE_HOME:-}"; do
|
|
[[ -n $state_home ]] || continue
|
|
toggles_dir="$state_home/omarchy/toggles/hypr"
|
|
[[ -f $toggles_dir/no-animations.lua ]] || continue
|
|
|
|
sed -i '/^o\.window("\.\*", { opacity = "1 1" })$/d' "$toggles_dir/no-animations.lua"
|
|
|
|
if [[ ! -f $toggles_dir/window-opaque.lua && ! -f $toggles_dir/window-glassy.lua ]]; then
|
|
cp "$OMARCHY_PATH/default/hypr/toggles/window-opaque.lua" "$toggles_dir/"
|
|
fi
|
|
done
|