update dotfiles

This commit is contained in:
Strix 2023-10-14 22:38:04 +02:00
parent 3da7dc88b4
commit caa51cb792
No known key found for this signature in database
GPG key ID: 49B2E37B8915B774
5 changed files with 8 additions and 4 deletions

View file

@ -1,5 +1,5 @@
^. ./sync.conf && $PM_COMMAND $PM_UPGRADE ^. ./sync.conf && $PM_COMMAND $PM_UPGRADE
^[ -d /tmp/yay ] && rm -rf /tmp/yay ^[ -d /tmp/yay ] && rm -rf /tmp/yay
git clone https://aur.archlinux.org/yay /tmp/yay git clone https://aur.archlinux.org/yay /tmp/yay
cd /tmp/yay && makepkg --noconfirm -si && echo $PREF_TERM cd /tmp/yay && makepkg --noconfirm -si && echo $PREF_TERM
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" "" --unattended

View file

@ -1 +1,2 @@
alacritty alacritty
sway

View file

@ -23,3 +23,5 @@ run() {
is_graphical() { is_graphical() {
command -v $PREF_TERM && return 0 || return 1 command -v $PREF_TERM && return 0 || return 1
} }
command -v $SYS_SUDO || $SYS_SUDO=""

View file

@ -1,2 +1,3 @@
curl
vim vim
zsh zsh

View file

@ -59,5 +59,5 @@ main() {
} }
echo "# exec: start." echo "# exec: start."
[ bool ${TIME_TRACK:-no} ] && time main "$@" || main "$@" bool ${TIME_TRACK:-no} && time main "$@" || main "$@"
echo "# exec: done." echo "# exec: done."