[scripts] feat: gentoo is the default distro
This commit is contained in:
parent
7ab5d2909b
commit
f062d118c2
@ -1,12 +0,0 @@
|
||||
[Trigger]
|
||||
Operation = Remove
|
||||
Operation = Install
|
||||
Operation = Upgrade
|
||||
Type = Package
|
||||
Target = *
|
||||
|
||||
[Action]
|
||||
Description = Keep the last cache and the currently installed...
|
||||
Depends = pacman-contrib
|
||||
When = PostTransaction
|
||||
Exec = /usr/bin/paccache -rvk2
|
@ -1,11 +0,0 @@
|
||||
[Trigger]
|
||||
Type = Package
|
||||
Operation = Install
|
||||
Operation = Upgrade
|
||||
Target = bash
|
||||
|
||||
[Action]
|
||||
Description = Re-pointing /bin/sh symlink to dash...
|
||||
When = PostTransaction
|
||||
Exec = /usr/bin/ln -sfT dash /usr/bin/sh
|
||||
Depends = dash
|
@ -1,10 +0,0 @@
|
||||
[Trigger]
|
||||
Operation = Remove
|
||||
Operation = Install
|
||||
Type = Package
|
||||
Target = *
|
||||
|
||||
[Action]
|
||||
Description = Update the pkglist...
|
||||
When = PostTransaction
|
||||
Exec = /bin/sh -c '/usr/bin/pacman -Qqe > /home/swytch/.config/paru/pkglist.txt'
|
@ -1,29 +0,0 @@
|
||||
#
|
||||
# $PARU_CONF
|
||||
# /etc/paru.conf
|
||||
# ~/.config/paru/paru.conf
|
||||
#
|
||||
# See the paru.conf(5) manpage for options
|
||||
|
||||
#
|
||||
# GENERAL OPTIONS
|
||||
#
|
||||
[options]
|
||||
PgpFetch
|
||||
Devel
|
||||
Provides
|
||||
DevelSuffixes = -git -cvs -svn -bzr -darcs -always
|
||||
BottomUp
|
||||
RemoveMake
|
||||
SudoLoop
|
||||
#UseAsk
|
||||
#CombinedUpgrade
|
||||
#CleanAfter
|
||||
#UpgradeMenu
|
||||
NewsOnUpgrade
|
||||
|
||||
#
|
||||
# Binary OPTIONS
|
||||
#
|
||||
#[bin]
|
||||
#FileManager = vifm
|
@ -1,110 +0,0 @@
|
||||
abcde
|
||||
abook
|
||||
adobe-source-han-sans-cn-fonts
|
||||
adobe-source-han-sans-jp-fonts
|
||||
alsa-plugins
|
||||
alsa-utils
|
||||
android-tools
|
||||
android-udev
|
||||
arandr
|
||||
autoconf
|
||||
automake
|
||||
autorandr
|
||||
base
|
||||
beets
|
||||
binutils
|
||||
bison
|
||||
capitaine-cursors
|
||||
cdparanoia
|
||||
clang
|
||||
cmake
|
||||
cronie
|
||||
dash
|
||||
dunst
|
||||
efibootmgr
|
||||
fakeroot
|
||||
file
|
||||
findutils
|
||||
firefox
|
||||
flex
|
||||
gawk
|
||||
gcc
|
||||
gettext
|
||||
git
|
||||
grep
|
||||
groff
|
||||
grub
|
||||
gsasl
|
||||
gzip
|
||||
htop
|
||||
imagemagick
|
||||
isync
|
||||
iwd
|
||||
jedi-language-server
|
||||
libnotify
|
||||
libtool
|
||||
linux
|
||||
linux-firmware
|
||||
linux-lts
|
||||
lynx
|
||||
m4
|
||||
make
|
||||
man-db
|
||||
mpc
|
||||
mpd
|
||||
mpv
|
||||
msmtp
|
||||
ncmpcpp
|
||||
neomutt
|
||||
ninja
|
||||
nnn
|
||||
notmuch
|
||||
pacman
|
||||
pacman-contrib
|
||||
pam-gnupg
|
||||
paru
|
||||
pass
|
||||
patch
|
||||
pkgconf
|
||||
pulseaudio-alsa
|
||||
pulsemixer
|
||||
python-eyed3
|
||||
python-requests
|
||||
redshift
|
||||
sed
|
||||
shotgun
|
||||
sox
|
||||
sudo
|
||||
sxhkd
|
||||
sxiv
|
||||
texinfo
|
||||
texlab
|
||||
texlive-bibtexextra
|
||||
texlive-core
|
||||
texlive-latexextra
|
||||
transmission-cli
|
||||
tree-sitter
|
||||
tremc
|
||||
ttf-dejavu
|
||||
ttf-fira-sans
|
||||
ttf-iosevka-fixed-slab
|
||||
ttf-nerd-fonts-symbols-mono
|
||||
unzip
|
||||
upower
|
||||
usbutils
|
||||
which
|
||||
xcape
|
||||
xclip
|
||||
xf86-video-intel
|
||||
xorg-server
|
||||
xorg-xinit
|
||||
xorg-xinput
|
||||
xorg-xsetroot
|
||||
xss-lock
|
||||
xwallpaper
|
||||
zathura
|
||||
zathura-pdf-mupdf
|
||||
zip
|
||||
zsh
|
||||
zsh-history-substring-search
|
||||
zsh-syntax-highlighting
|
@ -13,11 +13,12 @@
|
||||
## INFO
|
||||
|
||||
# $USER is already defined
|
||||
host="$(cat /etc/hostname)"
|
||||
os='Arch Linux'
|
||||
host="$(cat /etc/conf.d/hostname | awk -F'"' '{ printf $2 }')"
|
||||
cpu="$(grep "name" /proc/cpuinfo | uniq | sed -e 's/.*: //' -e 's/ .-Core.*//')"
|
||||
os="Gentoo"
|
||||
kernel="$(uname -sr)"
|
||||
uptime="$(uptime -p | sed 's/up //')"
|
||||
packages="$(pacman -Q | wc -l)"
|
||||
packages="$(printf '%s\n' /var/db/pkg/*/* | wc -l)"
|
||||
shell="$($SHELL --version | sed -e 's/(.*)//')"
|
||||
wm="$(tail -n 1 "$XDG_CONFIG_HOME/X11/xinitrc" | rev | cut -d ' ' -f 1 | rev)"
|
||||
|
||||
@ -61,20 +62,20 @@ if [ -x "$(command -v tput)" ]; then
|
||||
fi
|
||||
|
||||
# you can change these
|
||||
lc="${bold}${green}" # labels
|
||||
nc="${bold}${red}" # user and hostname
|
||||
ic="${white}" # info
|
||||
a0="${blue}" # first arch color
|
||||
a1="${cyan}" # second arch color
|
||||
lc="${bold}${magenta}" # labels
|
||||
nc="${bold}${magenta}" # user and hostname
|
||||
ic="${reset}${white}" # info
|
||||
a0="${reset}${magenta}" # first gentoo color
|
||||
a1="${reset}${white}" # second logo color
|
||||
|
||||
cat <<EOF
|
||||
${a0} ${nc}${USER}${ic}@${nc}${host}
|
||||
${a0} /\\ ${lc}OS: ${ic}${os}
|
||||
${a0} / \\ ${lc}KERNEL: ${ic}${kernel}
|
||||
${a0} /\\ \\ ${lc}SHELL: ${ic}${shell}
|
||||
${a1} / \\ ${lc}WM: ${ic}${wm}
|
||||
${a1} / ,, \\ ${lc}UPTIME: ${ic}${uptime}
|
||||
${a1} / | | -\\ ${lc}PACKAGES: ${ic}${packages}
|
||||
${a1} /_-'' ''-_\\ ${lc}MEMORY: ${ic}${mem_used}MiB/${mem_total}MiB
|
||||
|
||||
${a0} _-----_ ${lc}cpu: ${ic}${cpu}
|
||||
${a0} ( \\ ${lc}os: ${ic}${os}
|
||||
${a0} \\ 0 \\ ${lc}kernel: ${ic}${kernel}
|
||||
${a1} \\ ) ${lc}shell: ${ic}${shell}
|
||||
${a1} / _/ ${lc}wm: ${ic}${wm}
|
||||
${a1} ( _- ${lc}uptime: ${ic}${uptime}
|
||||
${a1} \\____- ${lc}packages: ${ic}${packages}
|
||||
${lc}memory: ${ic}${mem_used}MiB/${mem_total}MiB
|
||||
EOF
|
||||
|
Reference in New Issue
Block a user