Compare commits
No commits in common. "c13a7191451219fff76e59a2f660c765c38cb207" and "27e1f63691354a28d51dc60f0ef6287c5f5b438c" have entirely different histories.
c13a719145
...
27e1f63691
3 changed files with 4 additions and 12 deletions
|
|
@ -16,9 +16,7 @@ exactly when you should be most suspicious.
|
|||
- Context menus for tray icons with submenu support, network chooser (known available WiFi/ethernet), bluetooth device manager (connect/disconnect, battery levels)
|
||||
- Privacy indicators — screenshare and microphone icons pulse red/green when PipeWire detects active video/audio capture streams. Finally, you'll know when your webcam is on, which is more than can be said for most laptop manufacturers
|
||||
- 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
|
||||
- Screen corner rounding — tiny overlay windows with quarter-circle masks, click-transparent, configurable via `screenRadius` (set to 0 if you prefer your corners sharp and your desktop ugly)
|
||||
- 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
|
||||
|
|
@ -130,7 +128,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
|
||||
|
||||
|
|
|
|||
|
|
@ -40,12 +40,7 @@ M.BarSection {
|
|||
id: cavaProc
|
||||
running: root.playing
|
||||
command: ["sh", "-c",
|
||||
"cfg=$(mktemp /tmp/nova-cava-XXXXXX.conf);" +
|
||||
"cat > \"$cfg\" << 'CAVAEOF'\n" +
|
||||
"[general]\nbars=16\nframerate=30\n[output]\nmethod=raw\nraw_target=/dev/stdout\ndata_format=ascii\nascii_max_range=100\n" +
|
||||
"CAVAEOF\n" +
|
||||
"trap 'rm -f \"$cfg\"' EXIT;" +
|
||||
"exec cava -p \"$cfg\""
|
||||
"printf '[general]\\nbars=16\\nframerate=30\\n[output]\\nmethod=raw\\nraw_target=/dev/stdout\\ndata_format=ascii\\nascii_max_range=100\\n' | cava -p /dev/stdin 2>/dev/null"
|
||||
]
|
||||
stdout: SplitParser {
|
||||
splitMarker: "\n"
|
||||
|
|
|
|||
|
|
@ -178,8 +178,7 @@ in
|
|||
self.packages.${pkgs.stdenv.hostPlatform.system}.nova-shell-cli
|
||||
pkgs.nerd-fonts.symbols-only
|
||||
]
|
||||
++ lib.optional cfg.modules.weather.enable pkgs.wttrbar
|
||||
++ lib.optional cfg.modules.mpris.enable pkgs.cava;
|
||||
++ lib.optional cfg.modules.weather.enable pkgs.wttrbar;
|
||||
|
||||
xdg.configFile."nova-shell/modules.json".source =
|
||||
(pkgs.formats.json { }).generate "nova-shell-modules.json"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue