Repository navigation
✨ feat(mangowm): organize Waybar by zones with quick settings and an updates counter - #9
Merged
Merged
Conversation
…ates counter Night light, screen-always-on and the keyboard layout now hide from the bar when they have nothing to show. A bell opens a quick settings menu and toggles mako's do-not-disturb mode. checkupdates runs 2 minutes after login and every 3 hours, and recounts without downloading after each pacman transaction.
… selectors Waybar needs eDP-N to give laptop panels a compact bar. The guard accepts only that output line in waybar/config.json; any other output name still fails.
Left holds the layout, workspaces and music so new workspaces never move anything; the centre holds the clock; the right is lighter. Each of the 14 mango layouts has its own icon, styled by family, and network and bluetooth show distinct states. Modules live in modules.json, shared by a full bar and an eDP compact bar.
…t and show the keyboard when layouts are unknown A check without network at login now retries 3 times, 5 minutes apart, instead of waiting 3 hours. Each counter writer uses its own temporary file, so a timer check and a pacman refresh can overlap. With no xkb_rules_layout in mango's config the keyboard indicator stays visible.
store runs under && and ||, where errexit is off, so a failed mktemp, write or rename reported success. Each step now fails explicitly and the temporary file is removed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Reorganizes the MangoWM Waybar into zones and makes the right side lighter. This is the first part of the F6c visual polish; fastfetch follows in a separate PR.
Layout
mango/workspaceswithhide-empty).modules.json: laptop panels (eDP-1,eDP-2) get a compact bar, with music, network and bluetooth as icons only, plus brightness. External monitors get the full bar.Modules
checkupdatesruns 2 minutes after login and every 3 hours, retrying 3 times if the sync fails;db.lck);shelly upgrade.pacman-contrib.@bluecolour.Portability guard
hooks/validaterejectedeDP-N. It now accepts only theoutputline of the bars inwaybar/config.jsonwitheDP-Nselectors. Any other output name still fails, and a test pins this.Testing
layers/wm/mangowm/tests/waybar-smoke.sh(smoke stage 5) covers:systemd-runaccepts the transient timer and path units on the host.tests/smoke.shpasses.After merging
Run
dotfiles sync, which installspacman-contrib, thensystemctl --user restart mangowm-waybar mangowm-mako. The updates timer starts at the next login.