sway/waybar: Use correct muted icon

pull/48/head
Simon Bruder 2021-03-03 21:40:24 +01:00
parent 05d2529db7
commit a962fea3a8
Signed by: simon
GPG Key ID: 8D3C82F9F309F8EC
1 changed files with 6 additions and 2 deletions

View File

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