feat(waybar): add privacy module
Some checks failed
Check Formatting of Files / Check-Formatting (push) Has been cancelled

This commit is contained in:
Price Hiller 2025-01-02 13:50:17 -06:00
parent 9612ff6b70
commit 5af620ed61
Signed by: Price
GPG Key ID: C3FADDE7A8534BEB
2 changed files with 26 additions and 0 deletions

View File

@ -19,6 +19,7 @@
"custom/media" "custom/media"
], ],
"modules-right": [ "modules-right": [
"privacy",
"systemd-failed-units", "systemd-failed-units",
"tray", "tray",
"backlight", "backlight",
@ -220,6 +221,10 @@
"firefoxdeveloperedition": "firefox-developer-edition" "firefoxdeveloperedition": "firefox-developer-edition"
} }
}, },
"privacy": {
"icon-spacing": 2,
"icon-size": 14,
},
"systemd-failed-units": { "systemd-failed-units": {
"format": "✗ Degraded Units: {nr_failed}", "format": "✗ Degraded Units: {nr_failed}",
"system": true, "system": true,

View File

@ -71,6 +71,7 @@ tooltip label,
#taskbar, #taskbar,
#tray, #tray,
#backlight, #backlight,
#privacy,
#systemd-failed-units, #systemd-failed-units,
#tray menu, #tray menu,
#custom-lock { #custom-lock {
@ -263,6 +264,26 @@ tooltip {
background: #98bb6c; background: #98bb6c;
} }
#privacy-item.audio-in {
color: #FF5D62;
-gtk-icon-shadow: 0 0 2px #FF5D62;
}
#privacy-item.audio-out {
color: #98BB6C;
-gtk-icon-shadow: 0 0 2px #98BB6C;
}
#privacy-item.screenshare {
color: #A3D4D5;
-gtk-icon-shadow: 0 0 2px #A3D4D5;
}
#privacy-item.screenshare {
color: #A3D4D5;
}
#systemd-failed-units.ok { #systemd-failed-units.ok {
color: #98BB6C; color: #98BB6C;
} }