polybar crutch on ubuntu
This commit is contained in:
parent
596516b4ee
commit
f5a39e348e
2 changed files with 3 additions and 1 deletions
|
@ -52,6 +52,8 @@
|
||||||
export NIX_PATH="$HOME/.nix-defexpr/channels:$NIX_PATH"
|
export NIX_PATH="$HOME/.nix-defexpr/channels:$NIX_PATH"
|
||||||
export NVM_DIR="$HOME/.nvm"
|
export NVM_DIR="$HOME/.nvm"
|
||||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
[ -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 &
|
polybar -r main_bar &
|
||||||
echo "non-nixos patches loaded"
|
echo "non-nixos patches loaded"
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -5,7 +5,7 @@ set -v
|
||||||
|
|
||||||
sudo apt update
|
sudo apt update
|
||||||
sudo apt -y upgrade
|
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
|
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue