-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsysinfo.sh
executable file
Β·54 lines (49 loc) Β· 2.75 KB
/
sysinfo.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/usr/bin/env bash
# sysinfo script
bold="\x1B[1m"
red="\e[31m"
grn="\e[32m"
ylw="\e[33m"
cyn="\e[36m"
blu="\e[34m"
prp="\e[35m"
dprp="\e[35;1m"
frst="\x1B[22m"
rst="\e[0m"
editor() {
echo $EDITOR | sed 's/\/usr\/bin\///g'
}
total_packages() {
pacman -Q | wc -l
}
tp() {
total_packages
}
echo -e
echo -e " ${red}βββββ ${grn}βββββ ${ylw}βββββ ${cyn}βββββ ${blu}βββββ ${prp}βββββ ${dprp}βββββ${rst}"
echo -e " ${red}βββββ ${grn}βββββ ${ylw}βββββ ${cyn}βββββ ${blu}βββββ ${prp}βββββ ${dprp}βββββ${rst}"
echo -e " ${red}βββββ ${grn}βββββ ${ylw}βββββ ${cyn}βββββ ${blu}βββββ ${prp}βββββ ${dprp}βββββ${rst}"
echo -e " ${red}βββββ ${grn}βββββ ${ylw}βββββ ${cyn}βββββ ${blu}βββββ ${prp}βββββ ${dprp}βββββ${rst}"
echo -e
echo -e " ${bold}${cyn}WM ${rst}${frst} bspwm ${bold}${cyn}OS ${rst}${frst} Arch Linux"
echo -e " ${bold}${cyn}machine ${rst}${frst} Lenovo Thinkpad E580 ${bold}${cyn}shell ${rst}${frst} zsh"
echo -e " ${bold}${cyn}editor ${rst}${frst} $(editor) ${bold}${cyn}term${rst}${frst} kitty, termite"
echo -e " ${bold}${cyn}music ${rst}${frst} mpd, lollypop"
echo -e " ${bold}${cyn}sys font${rst}${frst}"
echo -e " ${prp}serif${rst} Times Newer Roman ${prp}sans${rst} Helvetica Neue"
echo -e " ${prp}monospace${rst} Hack Nerd Font ${prp}ja${rst} θ£
η²ζζ"
echo -e
echo -e " ${red}βββββ ${grn}βββββ ${ylw}βββββ ${cyn}βββββ ${blu}βββββ ${prp}βββββ ${dprp}βββββ${rst}"
echo -e " ${red}βββββ ${grn}βββββ ${ylw}βββββ ${cyn}βββββ ${blu}βββββ ${prp}βββββ ${dprp}βββββ${rst}"
echo -e
echo -e " \"Exactly, Watson. Pathetic and futile."
echo -e " But is not all life pathetic and futile?"
echo -e " Is not his story a microcosm of the whole?"
echo -e " We reach. We grasp."
echo -e " And what is left in our hands at the end?"
echo -e " A shadow."
echo -e " Or worse than a shadow β misery.\""
echo -e " ${grn}β Arthur Conan Doyle${rst}"
echo -e " ${grn}Sherlock Holmes: The Ultimate Collection${rst}"
echo -e
echo -e " ${red}βββββ ${grn}βββββ ${ylw}βββββ ${cyn}βββββ ${blu}βββββ ${prp}βββββ ${dprp}βββββ${rst}"