7.1.0-eter1

- Initial build for Ximper
parent ccd5d9f5
Name: neofetch
Version: 7.1.0
Release: eter1
License: MIT
Summary: A command-line system information tool
Group: Monitoring
Url: https://github.com/dylanaraps/neofetch
Source: %name-%version.tar
BuildArch: noarch
AutoReq: noshell
Requires: caca-utils
Requires: coreutils
Requires: procps
%description
Neofetch is a command-line system information tool written in bash 3.2+.
Neofetch displays information about your operating system, software and
hardware in an aesthetic and visually pleasing way.
%prep
%setup
%install
%makeinstall_std
%files
%_bindir/%name
%_man1dir/*.1.*
%changelog
* Mon Nov 25 2024 Kirill Unitsaev <fiersik@altlinux.org> 7.1.0-eter1
- Initial build for Ximper
tar: .
spec: .gear/neofetch.spec
60d07dee6b76769d8c487a40639fb7b5a1a7bc85 7.1.0
...@@ -977,6 +977,12 @@ get_distro() { ...@@ -977,6 +977,12 @@ get_distro() {
*) distro=$(< /bedrock/etc/bedrock-release) *) distro=$(< /bedrock/etc/bedrock-release)
esac esac
elif [[ -f /etc/altlinux-release ]]; then
case $distro_shorthand in
on|tiny) distro="Ximper" ;;
*) distro="$(< /etc/altlinux-release)"
esac
elif [[ -f /etc/redstar-release ]]; then elif [[ -f /etc/redstar-release ]]; then
case $distro_shorthand in case $distro_shorthand in
on|tiny) distro="Red Star OS" ;; on|tiny) distro="Red Star OS" ;;
...@@ -1916,6 +1922,7 @@ get_wm() { ...@@ -1916,6 +1922,7 @@ get_wm() {
-e greenfield \ -e greenfield \
-e grefsen \ -e grefsen \
-e hikari \ -e hikari \
-e Hyprland \
-e kwin \ -e kwin \
-e lipstick \ -e lipstick \
-e maynard \ -e maynard \
...@@ -2831,6 +2838,7 @@ get_song() { ...@@ -2831,6 +2838,7 @@ get_song() {
"audacious" "audacious"
"banshee" "banshee"
"bluemindo" "bluemindo"
"cassette"
"clementine" "clementine"
"cmus" "cmus"
"deadbeef" "deadbeef"
...@@ -2990,6 +2998,10 @@ get_song() { ...@@ -2990,6 +2998,10 @@ get_song() {
song="$(playerctl metadata --format '{{ artist }} \n{{ album }} \n{{ title }}')" song="$(playerctl metadata --format '{{ artist }} \n{{ album }} \n{{ title }}')"
;; ;;
"cassette"*)
song="$(playerctl metadata --format '{{ artist }} \n{{ album }} \n{{ title }}')"
;;
*) mpc &>/dev/null && song="$(mpc -f '%artist% \n%album% \n%title%' current)" || return ;; *) mpc &>/dev/null && song="$(mpc -f '%artist% \n%album% \n%title%' current)" || return ;;
esac esac
...@@ -11371,6 +11383,25 @@ ssssssssssssso/-` `-/osssssssssssss ...@@ -11371,6 +11383,25 @@ ssssssssssssso/-` `-/osssssssssssss
EOF EOF
;; ;;
"Ximper"*)
set_colors 21 57 92 128
read -rd '' ascii_data <<'EOF'
${c1}⠀⠀⠀⠀⡹⣶⣄⡀⠀⠀⠀⠀⠀⠀${c2}⠀⠀⠀⠀⠀⠀${c3}⠀⠀⠀⠀${c4}⠀⠀⠀⠀⣠⣶⠏⡀⠀⠀⠀
${c1}⠀⠀⠀⠀⣷⡘⣿⣿⣶⣤⣀⠀⠀⠀${c2}⠀⠀⠀⠀⠀⠀${c3}⠀⠀⠀⠀${c4}⢀⣠⣶⣿⣿⢋⣼⠁⠀⠀⠀
${c1}⠀⠀⠀⠀⣿⣷⡌⢿⣿⣿⣿⣷⣦⣄${c2}⠀⠀⠀⠀⠀⠀${c3}⠀⣠⣴⣾${c4}⣿⣿⣿⡿⢃⣾⣿⠀⠀⠀⠀
${c1}⠀⠀⠀⠀⣿⣿⣿⣎⢻⣿⣿⣿⣿⣿${c2}⣿⣶⡄⠀⢠⣶${c3}⣿⣿⣿⣿${c4}⣿⣿⡟⢡⣿⣿⣿⠀⠀⠀⠀
${c1}⠀⠀⠀⠀⢸⣿⣿⣿⣦⠻⣿⣿⣿⣿${c2}⠟⣩⣾⡇⣷⣍${c3}⠻⣿⣿⣿${c4}⣿⠟⣰⣿⣿⣿⡏⠀⠀⠀⠀
${c1}⠀⠀⠀⠀⠸⠟⣛⣋⣭⣦⡙⣿⢟⣵${c2}⣿⣿⣿⠇⣿⣿${c3}⣷⣬⡛⢿${c4}⢏⣴⣬⣝⣛⡻⠇⠀⠀⠀⠀
${c1}⠀⠀⠀⠀⣠⣍⠻⠟⠛⠉⠁⠀⠻⣿${c2}⣿⣿⣿⠤⣿⣿${c3}⣿⣿⠟⠀${c4}⠈⠉⠛⠻⠟⣫⣤⠀⠀⠀⠀
${c1}⠀⠀⢀⣼⡿⡋⣠⠠⡀⠀⠀⠀⠀⠈${c2}⢛⣫⡇⣤⠨⣝${c3}⡛⠁⠀⠀${c4}⠀⠀⣀⡄⣤⠙⠿⣧⡀⠀⠀
${c1}⠀⢀⠞⣡⠞⣼⣿⣧⢹⣶⡄⣤⣶⣾${c2}⣿⠋⣼⣿⣧⠙${c3}⣿⣷⣶⣄${c4}⢠⣾⡟⣼⣿⣧⠳⣌⠳⡀⠀
${c1}⢀⣡⠾⢋⣾⣿⠿⣋⣤⢻⡇⢿⣿⡟${c2}⣱⠑⠟⠛⠻⠂${c3}⣎⢻⣿⣿${c4}⢸⡟⣠⣙⠿⣿⣷⡙⠷⣌⠀
${c1}⠀⠀⢠⡾⢟⣡⣾⣿⣿⣆⠇⢸⢋⣾${c2}⣿⣷⣄⠀⣠⣴${c3}⣿⣷⡹⣿${c4}⠸⣰⣿⣿⣷⣌⡛⢷⡄⠀⠀
${c1}⠀⠐⣫⣴⣿⠿⠿⠿⠿⠛⠂⠰⢿⣿${c2}⣿⠟⠁⠀⠈⠛${c3}⢿⣿⣿⠆${c4}⠐⠛⠻⠿⠿⠿⣿⣦⣍⠀⠀
${c1}⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠉${c2}⠀⠀⠀⠀⠀⠀${c3}⠀⠉⠀⠀${c4}⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
EOF
;;
*) *)
case $kernel_name in case $kernel_name in
*"BSD") *"BSD")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment