add brightness and volume sliders

This commit is contained in:
Henry Hiles 2026-11-18 00:19:01 -05:00
commit 09e9522623
Signed by: Henry-Hiles
SSH key fingerprint: SHA256:VKQUdS31Q90KvX7EkKMHMBpUspcmItAh86a+v7PGiIs

View file

@ -8,6 +8,8 @@ down from it.
The bar shows the time, cellular, Wi-Fi, Bluetooth and battery. The sheet has:
- Brightness and volume sliders. Tap the speaker icon to mute, and the arrow next to it picks the
output, out of the ones that are plugged in.
- Wi-Fi, Bluetooth, cellular and mobile data toggles. The arrow on Wi-Fi opens `nmgui`, and on
Bluetooth it opens `adw-bluetooth`.
- Location, which decides whether apps get your location through GeoClue. The bar shows an icon
@ -45,14 +47,16 @@ spawn-at-startup "quadshell"
The lockscreen shows whatever image swaybg is showing (its `-i` argument), blurred.
It brings `nmcli`, `mmcli`, `nmgui` and `adw-bluetooth` with it. The system needs:
It brings `nmcli`, `mmcli`, `pw-dump` and `nmgui` with it. The system needs:
- niri, NetworkManager and ModemManager running
- systemd-logind, which the flashlight uses to set the LED without root
- niri, NetworkManager, ModemManager and PipeWire running
- systemd-logind, which the flashlight and brightness slider use to set the LED and backlight without
root
- The `login` PAM service, which checks the lockscreen's password
- The Papirus-Dark icon theme and the Inter font
- An on-screen keyboard that uses text-input-v3, like Stevia, to type the password
- No other notification daemon, like swaync or mako, as only one can run at a time
- adw-bluetooth for the Bluetooth arrow, with its daemon: `services.adw-bluetooth.enable = true;`
- GeoClue, with quadshell as its agent, for the location toggle:
```nix