Add some required packages for gorice to upgrade script, update gorice polybar module
This commit is contained in:
parent
286f2cc7eb
commit
bb55aa342f
@ -7,13 +7,14 @@
|
|||||||
;;;;;;;;;;;;;;;;;;;;;;;;
|
;;;;;;;;;;;;;;;;;;;;;;;;
|
||||||
[module/config]
|
[module/config]
|
||||||
type = custom/script
|
type = custom/script
|
||||||
exec = echo ""
|
format-prefix = " "
|
||||||
interval = 5
|
interval = 5
|
||||||
|
exec = grep "current" $HOME/.gorice/templates/i3/data.json | cut -d '"' -f22 | cut -d . -f1 | cut -d / -f2
|
||||||
label = %output%
|
label = %output%
|
||||||
label-padding = 2
|
format-padding = 2
|
||||||
format = <label>
|
format = <label>
|
||||||
click-left = gorice dump i3 ~/.gorice/output.yaml.template; config_ui &
|
click-left = gorice dump i3 ~/.gorice/output.yaml.template; config_ui &
|
||||||
click-right = termite "--exec=$HOME/go/bin/gorice edit i3/current" &
|
click-right = termite "--exec=gorice edit i3/current" &
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@ sleep 2
|
|||||||
sudo pacman-key --init
|
sudo pacman-key --init
|
||||||
sudo pacman-key --populate archlinux
|
sudo pacman-key --populate archlinux
|
||||||
for key in "${KEYS[@]}"; do
|
for key in "${KEYS[@]}"; do
|
||||||
if ! sudo pacman-key --list-keys | grep $key; then
|
if ! sudo pacman-key --list-keys | grep $key > /dev/null 2>&1; then
|
||||||
gpg --receive-keys $key
|
gpg --receive-keys $key
|
||||||
sudo pacman-key -r $key
|
sudo pacman-key -r $key
|
||||||
fi
|
fi
|
||||||
@ -49,12 +49,12 @@ done
|
|||||||
|
|
||||||
|
|
||||||
# add $REPO to pacman.conf
|
# add $REPO to pacman.conf
|
||||||
if ! grep "archlabs_repo" /etc/pacman.conf; then
|
if ! grep "archlabs_repo" /etc/pacman.conf > /dev/null 2>&1; then
|
||||||
echo "$REPO" | sudo tee -a /etc/pacman.conf
|
echo "$REPO" | sudo tee -a /etc/pacman.conf > /dev/null 2>&1
|
||||||
|
|
||||||
else # if entries exist remove them
|
else # if entries exist remove them
|
||||||
sudo sed -i '/archlabs_repo/d' /etc/pacman.conf
|
sudo sed -i '/archlabs_repo/d' /etc/pacman.conf
|
||||||
echo "$REPO" | sudo tee -a /etc/pacman.conf
|
echo "$REPO" | sudo tee -a /etc/pacman.conf > /dev/null 2>&1
|
||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -98,6 +98,9 @@ echo "##########################################################################
|
|||||||
############################################################################################"
|
############################################################################################"
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
|
# install packages needed for configs
|
||||||
|
sudo pacman -S clutter-gtk libgee gdk-pixbuf2 pango python-yaml --needed --noconfirm
|
||||||
|
|
||||||
# cleanup ~/.config
|
# cleanup ~/.config
|
||||||
rm -rf "$HOME"/.config/{bspwm,dunst,i3,obmenu-generator,qt5ct,Thunar,conky,geany,neofetch,polybar,termite,xfce4,openbox}
|
rm -rf "$HOME"/.config/{bspwm,dunst,i3,obmenu-generator,qt5ct,Thunar,conky,geany,neofetch,polybar,termite,xfce4,openbox}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user