Added support for Bitrig
This commit is contained in:
parent
e91d0c3f0a
commit
294b5f34e7
|
@ -0,0 +1,20 @@
|
||||||
|
"\
|
||||||
|
${c1} \`hMMMMN+
|
||||||
|
-MMo-dMd\`
|
||||||
|
oMN- oMN\`
|
||||||
|
yMd /NM:
|
||||||
|
.mMmyyhMMs
|
||||||
|
:NMMMhsmMh
|
||||||
|
+MNhNNoyMm-
|
||||||
|
hMd.-hMNMN:
|
||||||
|
mMmsssmMMMo
|
||||||
|
.MMdyyhNMMMd
|
||||||
|
oMN.\`/dMddMN\`
|
||||||
|
yMm/hNm+./MM/
|
||||||
|
.dMMMmo.\`\`.NMo
|
||||||
|
:NMMMNmmmmmMMh
|
||||||
|
/MN/-------oNN:
|
||||||
|
hMd. .dMh
|
||||||
|
sm/ /ms
|
||||||
|
"
|
||||||
|
|
8
neofetch
8
neofetch
|
@ -27,7 +27,7 @@ getos() {
|
||||||
case "$(uname)" in
|
case "$(uname)" in
|
||||||
"Linux") os="Linux" ;;
|
"Linux") os="Linux" ;;
|
||||||
"Darwin") os="$(sw_vers -productName)" ;;
|
"Darwin") os="$(sw_vers -productName)" ;;
|
||||||
*"BSD" | "DragonFly") os="BSD" ;;
|
*"BSD" | "DragonFly" | "Bitrig") os="BSD" ;;
|
||||||
"CYGWIN"*) os="Windows" ;;
|
"CYGWIN"*) os="Windows" ;;
|
||||||
"SunOS") os="Solaris" ;;
|
"SunOS") os="Solaris" ;;
|
||||||
*) printf "%s\n" "Unknown OS detected: $(uname)"; exit 1 ;;
|
*) printf "%s\n" "Unknown OS detected: $(uname)"; exit 1 ;;
|
||||||
|
@ -1741,7 +1741,7 @@ getbattery() {
|
||||||
battery="${battery/\.*/%}"
|
battery="${battery/\.*/%}"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"OpenBSD"*)
|
"OpenBSD"* | "Bitrig"*)
|
||||||
battery0full="$(sysctl -n hw.sensors.acpibat0.watthour0)"
|
battery0full="$(sysctl -n hw.sensors.acpibat0.watthour0)"
|
||||||
battery0full="${battery0full/ Wh*}"
|
battery0full="${battery0full/ Wh*}"
|
||||||
|
|
||||||
|
@ -1854,7 +1854,7 @@ getbirthday() {
|
||||||
|
|
||||||
"BSD")
|
"BSD")
|
||||||
case "$distro" in
|
case "$distro" in
|
||||||
"OpenBSD"*)
|
"OpenBSD"* | "Bitrig"*)
|
||||||
birthday="$(ls -alctT / | awk '/lost\+found/ {printf $6 " " $7 " " $9 " " $8}')"
|
birthday="$(ls -alctT / | awk '/lost\+found/ {printf $6 " " $7 " " $9 " " $8}')"
|
||||||
birthday_shorthand="on"
|
birthday_shorthand="on"
|
||||||
;;
|
;;
|
||||||
|
@ -2541,7 +2541,7 @@ colors() {
|
||||||
ascii_distro="mint"
|
ascii_distro="mint"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"LMDE"* | "Chapeau"*)
|
"LMDE"* | "Chapeau"* | "Bitrig"*)
|
||||||
setcolors 2 7
|
setcolors 2 7
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Reference in New Issue