feat: add wlsunset nightlight toggle with Waybar module
Update PKGBUILD version / update-pkgver (push) Successful in 3s

Add blue light filter support via wlsunset, toggleable through a Waybar
module in the brightness group. Nightlight icon is the primary element,
backlight slider expands on click.

- Add wlsunset package to official.txt
- Add moonarch-nightlight toggle script (kill/restart wlsunset)
- Add moonarch-waybar-nightlight status script (JSON output)
- Add custom/nightlight module to group/brightness in Waybar config
- Add Catppuccin Yellow highlight for active nightlight state
- Add wlsunset autostart in Niri config (5000K night temperature)
This commit is contained in:
2026-04-09 12:08:35 +02:00
parent f6869c9cea
commit 4c609135e9
7 changed files with 45 additions and 0 deletions
+9
View File
@@ -18,6 +18,15 @@ Laptops mit `charge_control_end_threshold`-Support (ThinkPad, Framework, etc.) e
- udev-Regel gibt Gruppe `wheel` Schreibzugriff auf den Threshold (kein sudo nötig)
- Auf Desktops ohne Battery-Support versteckt sich das Feature komplett
## Nightlight (Blaufilter)
Waybar-Toggle für wlsunset (Wayland-nativer Blaufilter):
- `wlsunset` startet per Niri-Autostart mit fester Nacht-Temperatur (5000K)
- Klick auf das Nightlight-Modul in `group/brightness` toggled wlsunset an/aus (kill/restart)
- Aktiver Zustand zeigt 󰌵 in Catppuccin Yellow, inaktiv 󰌶 in Standard-Textfarbe
- Signal SIGRTMIN+11 für sofortiges Waybar-Refresh
- Scripts: `moonarch-nightlight` (Toggle), `moonarch-waybar-nightlight` (Status-JSON)
## Konventionen
- Paketlisten sind einfache Textdateien, ein Paket pro Zeile, Kommentare mit `#`