mirror of
https://github.com/lightly-toasted/nix-config.git
synced 2025-10-04 15:45:39 +00:00
feat(waybar): add privacy module
This commit is contained in:
parent
ce336d10b1
commit
047043e4e5
2 changed files with 18 additions and 1 deletions
|
@ -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";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue