Mistbar-v.0.0.8
Overview of Changes
-
Dynamic Theme & Style Switching:
- Fixed an issue in
src/styles/style.scsswhere light theme was blocked inglassyandtransparentmodes due to a restrictive:not(.style-glassy):not(.style-transparent)selector. - Added full Liquid Frosted Light Glass styling (light acrylic background, dark typography
#1d1d1f, dark icons, and soft light drop-shadows). - Added light mode styling for Transparent and Solid styles.
- Added matching light theme styles for all popovers (Control Center, App Menu, Wi-Fi, Bluetooth, Battery, and Power Menu).
- Fixed an issue in
-
Default Startup & Autostart on Desktop Launch:
- Updated
install.shto automatically generate universal XDG autostart entry at~/.config/autostart/mistbar.desktop. - Safely disables conflicting default bars (e.g. comments out
spawn-at-startup "waybar") and addsspawn-at-startup "mistbar" "start"in Niri compositor config. - Updated
uninstall.shto cleanly remove autostart entries, remove layer rules, and restore previous compositor defaults.
- Updated
-
Multi-Window Tracking & Command Synchronization:
- Updated window management in
src/app.tsandsrc/bar/Bar.tsxto track all active bar instances across multi-monitor setups. - Dynamic classes (
style-*,look-*,light-theme) and layer surface margins are synchronized across all active displays.
- Updated window management in
-
Toggle, Show, and Hide Visibility Fix:
- Added explicit manual visibility state management in
src/bar/Bar.tsx. - Commands like
mistbar toggle,mistbar show, andmistbar hidenow properly retain their state without being overridden by the background auto-hide watcher.
- Added explicit manual visibility state management in
-
CPU Optimization:
- Removed the heavy 400ms Python polling loop in
src/bar/Bar.tsx. - Replaced with a lightweight, native asynchronous
niri msg -j workspacescall parsed directly in JavaScript, eliminating CPU spikes.
- Removed the heavy 400ms Python polling loop in
-
CLI Enhancements & Safe Config Updates:
- Updated
mistbarCLI script to safely persist configuration via Python JSON serialization even when the daemon is stopped. - Added daemon startup error logging to
~/.config/mistbar/mistbar.log. - Enhanced
mistbar statusto report active theme, style, look, autohide, and visibility.
- Updated
What's Changed
- feat: fix dynamic theme/style switching, autostart default setup, and CPU optimization by @Chintanpatel24 in #14
Full Changelog: 0.0.7...0.0.8