polybar pipewire
This commit is contained in:
parent
049aa645ab
commit
832c3f4e52
3 changed files with 30 additions and 2 deletions
|
|
@ -128,6 +128,7 @@
|
||||||
packageOverrides = pkgs: rec {
|
packageOverrides = pkgs: rec {
|
||||||
polybar = pkgs.polybar.override {
|
polybar = pkgs.polybar.override {
|
||||||
i3Support = true;
|
i3Support = true;
|
||||||
|
pulseSupport = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
2
home.nix
2
home.nix
|
|
@ -28,7 +28,7 @@ in
|
||||||
./programm_configs/zsh.nix
|
./programm_configs/zsh.nix
|
||||||
./programm_configs/gnome.nix
|
./programm_configs/gnome.nix
|
||||||
./programm_configs/autorandr.nix
|
./programm_configs/autorandr.nix
|
||||||
./programm_configs/polybar/polybar.nix
|
./programm_configs/polybar.nix
|
||||||
./programm_configs/redshift.nix
|
./programm_configs/redshift.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -36,7 +36,7 @@ in
|
||||||
module-margin-right = 2;
|
module-margin-right = 2;
|
||||||
border-top-size = 4;
|
border-top-size = 4;
|
||||||
|
|
||||||
font-0 = "DejaVu Sans Mono:style=Book:size=10";
|
font-0 = "DejaVu Sans Mono:style=Book:size=12";
|
||||||
font-1 = "Siji:style=Regular";
|
font-1 = "Siji:style=Regular";
|
||||||
|
|
||||||
modules-left = "i3";
|
modules-left = "i3";
|
||||||
|
|
@ -194,6 +194,33 @@ in
|
||||||
label-disconnected = "%ifname% disconnected";
|
label-disconnected = "%ifname% disconnected";
|
||||||
label-disconnected-foreground = colors.foreground-alt;
|
label-disconnected-foreground = colors.foreground-alt;
|
||||||
};
|
};
|
||||||
|
"module/pulseaudio" = {
|
||||||
|
type = "internal/pulseaudio";
|
||||||
|
|
||||||
|
format-volume = "<label-volume> <bar-volume>";
|
||||||
|
label-volume = "VOL %percentage%%";
|
||||||
|
label-volume-foreground = colors.foreground;
|
||||||
|
|
||||||
|
label-muted = "🔇 muted";
|
||||||
|
label-muted-foreground = "#666";
|
||||||
|
|
||||||
|
bar-volume-width = "10";
|
||||||
|
bar-volume-foreground-0 = "#55aa55";
|
||||||
|
bar-volume-foreground-1 = "#55aa55";
|
||||||
|
bar-volume-foreground-2 = "#55aa55";
|
||||||
|
bar-volume-foreground-3 = "#55aa55";
|
||||||
|
bar-volume-foreground-4 = "#55aa55";
|
||||||
|
bar-volume-foreground-5 = "#f5a70a";
|
||||||
|
bar-volume-foreground-6 = "#ff5555";
|
||||||
|
bar-volume-gradient = false;
|
||||||
|
bar-volume-indicator = "|";
|
||||||
|
bar-volume-indicator-font = 1;
|
||||||
|
bar-volume-fill = "–";
|
||||||
|
bar-volume-fill-font = 1;
|
||||||
|
bar-volume-empty = "–";
|
||||||
|
bar-volume-empty-font = 1;
|
||||||
|
bar-volume-empty-foreground = colors.foreground-alt;
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue