diff --git a/README.md b/README.md index eb76b0f..0a3d7e4 100644 --- a/README.md +++ b/README.md @@ -18,7 +18,7 @@ exactly when you should be most suspicious. - Per-module accent colors that change based on state, with animated transitions. Battery blinks when critical and sends desktop notifications, because the robot cares about your hardware more than you do - Audio visualizer on album art via cava — because the robot watched too many r/unixporn posts and couldn't help itself - Screen corner rounding — tiny overlay windows with quarter-circle masks, click-transparent, configurable via `screenRadius`. The gradient top border curves to match, because the robot has opinions about pixel alignment -- Overview widgets — clock and date rendered on the background layer, visible in the gaps between workspace rows when niri's overview is active. Always there, never in the way +- Background overlay — clock and date rendered on the background layer, visible behind windows and in niri overview gaps. Always there, never in the way - Weather via wttrbar with configurable arguments and rich HTML tooltips - Power menu with lock, suspend, logout, reboot, shutdown - Event-driven updates for network, bluetooth, and power profiles via dbus-monitor/nmcli monitor — no more 5-second polling lag @@ -83,6 +83,11 @@ programs.nova-shell.modules = { # modules with extra config backlight.step = 2; # brightness adjustment % weather.args = [ "--nerd" "--location" "Berlin" ]; # wttrbar arguments + temperature.warm = 55; # °C threshold for warm color + temperature.hot = 75; # °C threshold for hot color + battery.warning = 30; # % for warning notification + battery.critical = 10; # % for critical blink + notification + cpu.interval = 2000; # polling interval in ms }; ``` @@ -130,7 +135,7 @@ Full list of theme keys and their defaults: | `barSpacing` | `12` | Gap between modules (px) | | `moduleSpacing` | `4` | Icon-to-label gap within a module (px) | | `radius` | `4` | Corner radius for flyouts and menus (px) | -| `screenRadius` | `20` | Screen corner rounding, 0 to disable (px) | +| `screenRadius` | `15` | Screen corner rounding, 0 to disable (px) | ### Systemd service diff --git a/modules/Overview.qml b/modules/BackgroundOverlay.qml similarity index 95% rename from modules/Overview.qml rename to modules/BackgroundOverlay.qml index b3f1a9b..b0bfa74 100644 --- a/modules/Overview.qml +++ b/modules/BackgroundOverlay.qml @@ -12,7 +12,7 @@ PanelWindow { WlrLayershell.layer: WlrLayer.Background WlrLayershell.exclusiveZone: -1 - WlrLayershell.namespace: "nova-overview" + WlrLayershell.namespace: "nova-background-overlay" mask: Region {} anchors.top: true diff --git a/modules/qmldir b/modules/qmldir index fe1da51..e7839d9 100644 --- a/modules/qmldir +++ b/modules/qmldir @@ -33,4 +33,4 @@ IdleInhibitor 1.0 IdleInhibitor.qml Notifications 1.0 Notifications.qml Power 1.0 Power.qml Privacy 1.0 Privacy.qml -Overview 1.0 Overview.qml +BackgroundOverlay 1.0 BackgroundOverlay.qml diff --git a/shell.qml b/shell.qml index 1cf07ef..ec9007c 100644 --- a/shell.qml +++ b/shell.qml @@ -19,7 +19,7 @@ ShellRoot { screen: scope.modelData } - Overview { + BackgroundOverlay { screen: scope.modelData }