feat(waybar): add privacy module

This commit is contained in:
lightly-toasted 2025-09-19 16:25:10 +09:00
parent ce336d10b1
commit 047043e4e5
2 changed files with 18 additions and 1 deletions

View file

@ -7,7 +7,7 @@
height = 5;
output = "HDMI-A-1";
modules-left = [ "custom/mouse-actions" ];
modules-center = [ ];
modules-center = [ "privacy" ];
modules-right = [
"pulseaudio"
"network"
@ -62,6 +62,16 @@
user = false;
};
privacy = {
modules = [
{ type = "screenshare"; }
{ type = "audio-out"; }
{ type = "audio-in"; }
];
icon-size = 14;
};
"custom/mouse-actions" = {
format = " {}";
exec = "tail -n 1 -F ~/.config/mouse-actions/state 2>/dev/null";