1
0
Fork 0
mirror of synced 2024-11-22 01:55:36 -05:00

Fix & new tag

This commit is contained in:
dr460nf1r3 2021-07-08 08:27:55 +02:00
parent 5f74173ad3
commit 7d93dbd35e
No known key found for this signature in database
GPG key ID: BE75B9D9767036C2
3 changed files with 43 additions and 10 deletions

View file

@ -2,7 +2,7 @@
# Maintainer: Librewish <librewish@gmail.com> # Maintainer: Librewish <librewish@gmail.com>
pkgname=garuda-common-settings pkgname=garuda-common-settings
pkgver=1.4.0 pkgver=1.4.1
pkgrel=1 pkgrel=1
arch=('any') arch=('any')
url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname" url="https://gitlab.com/garuda-linux/themes-and-settings/settings/$pkgname"
@ -14,7 +14,7 @@ pkgdesc='Garuda Linux common settings'
depends=('btrfsmaintenance' depends=('btrfsmaintenance'
'garuda-browser-settings' 'garuda-browser-settings'
'garuda-hooks' 'garuda-hooks'
'garuda-icons' 'garuda-icons'
'haveged' 'haveged'
'memavaild' 'memavaild'
'preload' 'preload'

View file

@ -3,14 +3,47 @@
# Load starship prompt # Load starship prompt
__main() { __main() {
local major="${BASH_VERSINFO[0]}" local major="${BASH_VERSINFO[0]}"
local minor="${BASH_VERSINFO[1]}" local minor="${BASH_VERSINFO[1]}"
if ((major > 4)) || { ((major == 4)) && ((minor >= 1)); }; then if ((major > 4)) || { ((major == 4)) && ((minor >= 1)); }; then
source <("/usr/bin/starship" init bash --print-full-init) source <("/usr/bin/starship" init bash --print-full-init)
else else
source /dev/stdin <<<"$("/usr/bin/starship" init bash --print-full-init)" source /dev/stdin <<<"$("/usr/bin/starship" init bash --print-full-init)"
fi fi
} }
__main __main
unset -f __main unset -f __main
# Aliases
alias dir='dir --color=auto'
alias egrep='egrep --color=auto'
alias fgrep='fgrep --color=auto'
alias fixpacman="sudo rm /var/lib/pacman/db.lck"
alias grep='grep --color=auto'
alias grubup="sudo update-grub"
alias hw='hwinfo --short'
alias psmem10='ps auxf | sort -nr -k 4 | head -10'
alias psmem='ps auxf | sort -nr -k 4'
alias rmpkg="sudo pacman -Rdd"
alias tarnow='tar -acf '
alias untar='tar -zxvf '
alias upd='/usr/bin/update'
alias vdir='vdir --color=auto'
alias wget='wget -c '
# Help people new to Arch
alias apt-get='man pacman'
alias apt='man pacman'
alias helpme='cht.sh --shell'
alias please='sudo'
alias tb='nc termbin.com 9999'
# Cleanup orphaned packages
alias cleanup='sudo pacman -Rns (pacman -Qtdq)'
# Get the error messages from journalctl
alias jctl="journalctl -p 3 -xb"
# Recent installed packages
alias rip="expac --timefmt='%Y-%m-%d %T' '%l\t%n %v' | sort | tail -200 | nl"

View file

@ -23,7 +23,7 @@ fi
echo "" echo ""
# Update mlocate index # Update mlocate index
if [ -x /usr/bin/fish ]; then if [ -x /usr/bin/locate ]; then
echo "Updating mlocate index.." echo "Updating mlocate index.."
sudo updatedb sudo updatedb
fi fi