waybar split in files
This commit is contained in:
25
homeConfigs/global/wayland/waybar/pulseaudio.nix
Normal file
25
homeConfigs/global/wayland/waybar/pulseaudio.nix
Normal file
@ -0,0 +1,25 @@
|
||||
{ lib, pkgs, ... }:
|
||||
{
|
||||
programs.waybar.settings.mainBar = {
|
||||
pulseaudio = {
|
||||
format = "{icon}{volume}%";
|
||||
format-bluetooth = " {icon} {volume}%";
|
||||
format-muted = "";
|
||||
format-icons = {
|
||||
headphones = " ";
|
||||
handsfree = " ";
|
||||
headset = " ";
|
||||
phone = " ";
|
||||
portable = " ";
|
||||
car = " ";
|
||||
default = [" " " " " "];
|
||||
};
|
||||
on-click = "${lib.getExe pkgs.pavucontrol}";
|
||||
states = {
|
||||
low = 79;
|
||||
warning = 99;
|
||||
high = 100000;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user