crap
This commit is contained in:
parent
70a565df77
commit
4ef7f7756f
3 changed files with 16 additions and 1 deletions
|
@ -0,0 +1,4 @@
|
|||
^pacman -Syyu
|
||||
^[ -d /tmp/yay ] && rm -rf /tmp/yay
|
||||
git clone https://aur.archlinux.org/yay /tmp/yay
|
||||
cd /tmp/yay && makepkg --noconfirm -si && echo $PREF_TERM
|
|
@ -1,5 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
. ./sync.conf || . ../sync.conf
|
||||
|
||||
DRY_RUN=${DRY_RUN:-no}
|
||||
|
||||
bool() {
|
||||
|
@ -17,3 +19,7 @@ run() {
|
|||
"$@"
|
||||
fi
|
||||
}
|
||||
|
||||
is_graphical() {
|
||||
command -v $PREF_TERM && return 0 || return 1
|
||||
}
|
|
@ -8,3 +8,8 @@ PM_UPDATE_ARG=${PM_UPDATE_ARG:-Sy}
|
|||
# SYS - System Options
|
||||
SYS_SUDO=${SYS_SUDO:-"sudo"}
|
||||
SYS_ROOT=${SYS_ROOT:-"/"}
|
||||
|
||||
# PREF - Preferences
|
||||
PREF_TERM=${PREF_TERM:-alacritty}
|
||||
PREF_TERM_SET_TITLE=${PREF_TERM_SET_TITLE:--t}
|
||||
PREF_TERM_RUN_CMD=${PREF_TERM_RUN_CMD:--e}
|
Loading…
Reference in a new issue