[O] NF: Replace tab indent with spaces, remove trailing space
This commit is contained in:
parent
ee64bd843a
commit
d6c57bd6f9
1 changed files with 107 additions and 108 deletions
29
neofetch
29
neofetch
|
|
@ -1238,7 +1238,7 @@ get_distro() {
|
||||||
distro=${distro/NAME=}
|
distro=${distro/NAME=}
|
||||||
|
|
||||||
if [[ -f /usr/bin/system-image-cli ]]; then
|
if [[ -f /usr/bin/system-image-cli ]]; then
|
||||||
local ut_ota
|
local ut_ota
|
||||||
ut_ota=$(system-image-cli -i | awk '/version tag:/ { print $3 }');
|
ut_ota=$(system-image-cli -i | awk '/version tag:/ { print $3 }');
|
||||||
distro="Ubuntu Touch $ut_ota";
|
distro="Ubuntu Touch $ut_ota";
|
||||||
|
|
||||||
|
|
@ -1831,7 +1831,7 @@ get_packages() {
|
||||||
has pacstall && tot pacstall -L
|
has pacstall && tot pacstall -L
|
||||||
has bulge && tot bulge list
|
has bulge && tot bulge list
|
||||||
has pm && tot pm list packages
|
has pm && tot pm list packages
|
||||||
has squirrel && tot cat /var/squirrel/repos/local/INDEX
|
has squirrel && tot cat /var/squirrel/repos/local/INDEX
|
||||||
has tea && tot find "$HOME/.tea" -maxdepth 2 -mindepth 2 -type d
|
has tea && tot find "$HOME/.tea" -maxdepth 2 -mindepth 2 -type d
|
||||||
|
|
||||||
# Using the dnf package cache is much faster than rpm.
|
# Using the dnf package cache is much faster than rpm.
|
||||||
|
|
@ -1864,7 +1864,7 @@ get_packages() {
|
||||||
has cave && dir "/var/db/paludis/repositories/cross-installed/*/data/*/ \
|
has cave && dir "/var/db/paludis/repositories/cross-installed/*/data/*/ \
|
||||||
/var/db/paludis/repositories/installed/data/*/"
|
/var/db/paludis/repositories/installed/data/*/"
|
||||||
has hardman && dir "/var/hpkg/packages/*"
|
has hardman && dir "/var/hpkg/packages/*"
|
||||||
shopt -u nullglob
|
shopt -u nullglob
|
||||||
}
|
}
|
||||||
|
|
||||||
# Other (Needs complex command)
|
# Other (Needs complex command)
|
||||||
|
|
@ -2223,7 +2223,7 @@ get_wm() {
|
||||||
-e asc \
|
-e asc \
|
||||||
-e clayland \
|
-e clayland \
|
||||||
-e dwc \
|
-e dwc \
|
||||||
-e dwl \
|
-e dwl \
|
||||||
-e fireplace \
|
-e fireplace \
|
||||||
-e gnome-shell \
|
-e gnome-shell \
|
||||||
-e greenfield \
|
-e greenfield \
|
||||||
|
|
@ -2497,10 +2497,10 @@ get_wm_theme() {
|
||||||
;;
|
;;
|
||||||
|
|
||||||
LeftWM*)
|
LeftWM*)
|
||||||
if command -v leftwm-theme &> /dev/null
|
if command -v leftwm-theme &> /dev/null
|
||||||
then
|
then
|
||||||
wm_theme=$(leftwm-theme status | grep "Your current theme" | sed -e 's/Your current theme is //g' -e 's/\,.*$//g')
|
wm_theme=$(leftwm-theme status | grep "Your current theme" | sed -e 's/Your current theme is //g' -e 's/\,.*$//g')
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
|
@ -6048,7 +6048,7 @@ get_args() {
|
||||||
"--music_player") music_player="$2" ;;
|
"--music_player") music_player="$2" ;;
|
||||||
"--memory_percent") memory_percent="$2" ;;
|
"--memory_percent") memory_percent="$2" ;;
|
||||||
"--memory_unit") memory_unit="$2" ;;
|
"--memory_unit") memory_unit="$2" ;;
|
||||||
"--memory_precision") mem_precision="$2" ;;
|
"--memory_precision") mem_precision="$2" ;;
|
||||||
"--cpu_temp")
|
"--cpu_temp")
|
||||||
cpu_temp="$2"
|
cpu_temp="$2"
|
||||||
[[ "$cpu_temp" == "on" ]] && cpu_temp="C"
|
[[ "$cpu_temp" == "on" ]] && cpu_temp="C"
|
||||||
|
|
@ -7042,8 +7042,8 @@ ${c1} ``--:::::::-.`
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"Stock Linux"*)
|
"Stock Linux"*)
|
||||||
set_colors 4 7
|
set_colors 4 7
|
||||||
read -rd '' ascii_data << 'EOF'
|
read -rd '' ascii_data << 'EOF'
|
||||||
${c1}
|
${c1}
|
||||||
|
|
||||||
|
|
@ -7068,7 +7068,7 @@ BPYJJJJJJYPB& &B5JJJJJJJYPB
|
||||||
#G5J5G#
|
#G5J5G#
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"ArchMerge"*)
|
"ArchMerge"*)
|
||||||
set_colors 6 6 7 1
|
set_colors 6 6 7 1
|
||||||
|
|
@ -8605,7 +8605,7 @@ ${c1} `..-+${c2}oosssssssssssssssssssssssso${c3}+++++/`
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"EncryptOS"*)
|
"EncryptOS"*)
|
||||||
set_colors 2 5 6
|
set_colors 2 5 6
|
||||||
read -rd '' ascii_data <<'EOF'
|
read -rd '' ascii_data <<'EOF'
|
||||||
${c2} *******
|
${c2} *******
|
||||||
|
|
@ -9306,7 +9306,6 @@ ${c1} .cooc' ${c3}.llllcoooooooooooooo.
|
||||||
.cooooooooooop.
|
.cooooooooooop.
|
||||||
.cooooooooop.
|
.cooooooooop.
|
||||||
.cooooop'
|
.cooooop'
|
||||||
|
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
@ -10349,7 +10348,7 @@ sd yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy ds
|
||||||
-/yyys syyy/-
|
-/yyys syyy/-
|
||||||
.:+shysyhyhhysyhs+:.
|
.:+shysyhyhhysyhs+:.
|
||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"NekOS"*)
|
"NekOS"*)
|
||||||
set_colors 3 7 1
|
set_colors 3 7 1
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue