diff --git a/dotfiles/polybar.org b/dotfiles/polybar.org index 30303d5..3e8d9d5 100644 --- a/dotfiles/polybar.org +++ b/dotfiles/polybar.org @@ -493,7 +493,7 @@ :header-args+: :shebang "#!/usr/bin/env bash" :END: #+BEGIN_SRC bash - yay -Sy && \ + yay -Sy > /dev/null 2>&1 && \ package_nb=`yay -Qu 2> /dev/null | wc -l`; if [ "$package_nb" -eq "0" ]; then @@ -672,7 +672,7 @@ connection=$(sudo wg show "$config" 2>/dev/null | head -n 1 | awk '{print $NF }') if [ "$connection" = "$config" ]; then - echo "%{F#859900} $config%{F-}" + echo "%{F#859900}%{F-}" else echo "" fi