1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

i3b/updates: add trizen to package manager list

This commit is contained in:
Joe Groocock 2018-03-29 11:22:23 +01:00
parent 173b41ea4d
commit 5f4f9cc0f5
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
set -e set -e
for p in pacaur yaourt pacman; do for p in trizen pacaur yaourt pacman; do
if $p --version &>/dev/null; then if $p --version &>/dev/null; then
PAC="$p" PAC="$p"
break; break;
@ -13,7 +13,7 @@ if [ -z "$PAC" ]; then
fi fi
if [ "$BLOCK_BUTTON" == 1 ]; then if [ "$BLOCK_BUTTON" == 1 ]; then
nohup i3-sensible-terminal -r i3blocks-update-term -e "sh -c '$PAC -Syu; pkill -RTMIN+5 i3blocks'" &>/dev/null & nohup i3-sensible-terminal -r i3blocks-update-term -e "sh -c '$PAC -Syu || exec zsh; pkill -RTMIN+5 i3blocks'" &>/dev/null &
disown disown
fi fi