sway/waybar: Use correct muted icon

This commit is contained in:
Simon Bruder 2021-03-03 21:40:24 +01:00
parent 05d2529db7
commit a962fea3a8
Signed by: simon
GPG key ID: 8D3C82F9F309F8EC

View file

@ -306,6 +306,10 @@ lib.mkIf nixosConfig.sbruder.gui.enable {
${pkgs.systemd}/bin/systemctl --user start ${unit} ${pkgs.systemd}/bin/systemctl --user start ${unit}
fi fi
''; '';
# nerd fonts are abusing arabic which breaks latin text
# context: https://github.com/Alexays/Waybar/issues/628
lrm = "‎";
in in
lib.generators.toJSON { } { lib.generators.toJSON { } {
layer = "top"; layer = "top";
@ -399,8 +403,8 @@ lib.mkIf nixosConfig.sbruder.gui.enable {
pulseaudio = { pulseaudio = {
format = "{volume}% {icon} {format_source}"; format = "{volume}% {icon} {format_source}";
format-bluetooth = "{volume}% {icon} {format_source}"; format-bluetooth = "{volume}% {icon} {format_source}";
format-bluetooth-muted = " {icon} {format_source}"; # FIXME: see below format-bluetooth-muted = "${lrm}${lrm} {icon} {format_source}";
format-muted = " {format_source}"; # FIXME: use normal mute icon (ﱝ ), which for some reason is displayed right of the source? format-muted = "${lrm}${lrm} {format_source}";
format-source = "{volume}% ${thinsp}"; format-source = "{volume}% ${thinsp}";
format-source-muted = "${thinsp}"; format-source-muted = "${thinsp}";
format-icons = { format-icons = {