SwayNC (Superlative Wayland Notification Center) is the notification daemon and notification panel for this rice. It handles both real-time popup notifications that appear in the corner of the screen and a slide-in control center panel that gives you quick access to system controls, media, and the notification history. Like most components in this setup, it is fully integrated with the Matugen and Wallust theming pipeline.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Noro18/linux-ricing-dotfiles/llms.txt
Use this file to discover all available pages before exploring further.
File structure
Dynamic theming
Colors flow into SwayNC entirely through CSS imports. Thestyle.css file is the entry point and it imports everything in order:
colors-swaync.css (Matugen) and colors.css (Wallust) are auto-generated on every wallpaper change. The theme files in themes/matugen-nc/ then reference the CSS variables those files define, so the notification center always reflects the current wallpaper palette.
Control center widgets
The control center panel is composed of a stack of widgets defined inconfig.json. The active widget list in this setup is:
| Widget | Purpose |
|---|---|
label | Decorative separator with custom icon text |
buttons-grid | Quick-access grid of system controls (audio, Bluetooth, network, lock, reboot, shutdown, etc.) |
volume | Live audio volume slider |
backlight | Screen brightness slider (bound to amdgpu_bl2) |
mpris | Media player integration with album art |
title | Section header with a “clear all” button |
dnd | Do Not Disturb toggle |
notifications | Scrollable notification history list |
Configuration options
All behavioral settings live inconfig.json. The key options currently set are:
| Option | Value | Effect |
|---|---|---|
positionX | "right" | Panel opens on the right side of the screen |
positionY | "top" | Panel anchored to the top |
control-center-width | 400 | Width of the notification panel in pixels |
notification-window-width | 400 | Width of popup notification toasts in pixels |
timeout | 4 | Normal notifications dismiss after 4 seconds |
timeout-low | 2 | Low-urgency notifications dismiss after 2 seconds |
timeout-critical | 6 | Critical notifications stay for 6 seconds |
keyboard-shortcuts | true | Keyboard shortcuts enabled for notification actions |
How colors synchronize
Keyboard shortcuts
keyboard-shortcuts is enabled in config.json, which means you can use keyboard actions inside the notification center panel to dismiss, close, or interact with notifications without reaching for the mouse.
Troubleshooting
Notifications not appearing
If notifications stop showing up, check whether SwayNC is running and examine its logs:config.json is valid JSON — a syntax error in that file will prevent SwayNC from starting.
Theme not updating after wallpaper change
If the notification center is still showing old colors after a wallpaper change:- Confirm Matugen and Wallust ran successfully and that
colors.cssandcolors-swaync.csshave been updated (check their modification timestamps). - Restart SwayNC to force a stylesheet reload: