polybar crutch on ubuntu

This commit is contained in:
Cyryl Płotnicki 2020-04-17 23:08:08 +01:00
parent 596516b4ee
commit f5a39e348e
2 changed files with 3 additions and 1 deletions

View file

@ -52,6 +52,8 @@
export NIX_PATH="$HOME/.nix-defexpr/channels:$NIX_PATH"
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
pkill polybar
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
polybar -r main_bar &
echo "non-nixos patches loaded"
fi

View file

@ -5,7 +5,7 @@ set -v
sudo apt update
sudo apt -y upgrade
sudo apt -y --fix-missing install apt-file aptitude git curl flatpak
sudo apt -y --fix-missing install apt-file aptitude git curl flatpak i3
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo