feat(quickshell): privacy indicator at the head of the rail

A lit icon tops the rail while another program records from a
microphone, uses a camera, or shares the screen. It is read from
PipeWire: capture streams for the mic, links out of video sources for
the camera and screencasts. The tooltip names the recording apps.
This commit is contained in:
nvrl committed 2026-10-04 23:31:39 +02:00
1 parent dc2a8fc883
commit f7551006b3
3 files changed
+74 -1

No files matched your search

+13
View File
@@ -47,6 +47,19 @@ PanelWindow {
anchors.horizontalCenter: parent.horizontalCenter
spacing: 0
// Something is recording or watching. First on the rail and in the
// light, because it is the one thing here you did not ask to see.
RailIcon {
id: privacyIcon
visible: Privacy.active
icon: Privacy.screen ? "󰹑" : (Privacy.camera ? "󰄀" : "󰍬")
label: "In use"
statusText: Privacy.detail
live: true
}
Divider { visible: Privacy.active }
RailIcon {
id: netIcon
icon: Net.icon