Compare commits
33 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 673d995618 | |||
| 1097435501 | |||
| 78f4f061f4 | |||
| f909b3c3b8 | |||
| b4944599c5 | |||
| 21cffcc4f4 | |||
| 8d9d4407a3 | |||
| 0e93f5484f | |||
| f9c7c570a1 | |||
| 6f443a23a6 | |||
| ed3bb65824 | |||
| 3770e58e66 | |||
| e0d7c4885a | |||
| e5a7eb2d24 | |||
| ece7cb1f8f | |||
| 43aecc70fe | |||
| f93315a7ad | |||
| cde4914c19 | |||
| e8c7266671 | |||
| bce73f6836 | |||
| 5012c996f2 | |||
| c00568d413 | |||
| d56f083dbc | |||
| b7f6e4f306 | |||
| 619c9d2224 | |||
| d57463b0d3 | |||
| ca13eb22e7 | |||
| a52c49380d | |||
| ba2001cc64 | |||
| e07895c614 | |||
| 3d6427b936 | |||
| 943c3025e5 | |||
| 67cf02c964 |
@@ -10,7 +10,8 @@ This repo also serves as an updated version of the original `neofetch` since the
|
|||||||
|
|
||||||
* Method 1: `pip install hyfetch` then run `neowofetch`
|
* Method 1: `pip install hyfetch` then run `neowofetch`
|
||||||
* Method 2: `npx neowofetch`
|
* Method 2: `npx neowofetch`
|
||||||
* Method 3: `bash <(curl -sL neowofetch.hydev.org)`
|
* Method 3: `P="$HOME/.local/bin/neowofetch" curl -L nf.hydev.org -o $P && chmod +x $P`
|
||||||
|
* Method 4: Run without install `bash <(curl -sL nf.hydev.org)`
|
||||||
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
@@ -89,6 +90,22 @@ Updates to `neowofetch` begins with the emoji 🖼️
|
|||||||
|
|
||||||
<!-- CHANGELOG STARTS HERE --->
|
<!-- CHANGELOG STARTS HERE --->
|
||||||
|
|
||||||
|
### 1.4.4
|
||||||
|
|
||||||
|
Note: You can install the latest nightly version by using:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
pip install git+https://github.com/hykilpikonna/hyfetch.git@master
|
||||||
|
```
|
||||||
|
|
||||||
|
* 🌈 Fix Python 3.11 compatibility (#35)
|
||||||
|
* 🌈 Fix many overflow problems when screen is too small
|
||||||
|
* 🖼️ Distro - Add Enso ([dylanaraps#2233](https://github.com/dylanaraps/neofetch/pull/2233))
|
||||||
|
* 🖼️ Memory - Optimize and fix memory unit conversion ([dylanaraps#2225](https://github.com/dylanaraps/neofetch/pull/2225))
|
||||||
|
* 🖼️ DE - Add dwl window manager ([dylanaraps#2234](https://github.com/dylanaraps/neofetch/pull/2234))
|
||||||
|
* 🖼️ DE - Fix XDG session detection for X11 ([dylanaraps#2232](https://github.com/dylanaraps/neofetch/pull/2232))
|
||||||
|
* 🖼️ CPU - Fix model detection for loongson (#34)
|
||||||
|
|
||||||
### 1.4.3
|
### 1.4.3
|
||||||
|
|
||||||
* 🌈 **Auto detect terminal background color & rgb support**
|
* 🌈 **Auto detect terminal background color & rgb support**
|
||||||
|
|||||||
@@ -7,7 +7,7 @@ from pathlib import Path
|
|||||||
from typing_extensions import Literal
|
from typing_extensions import Literal
|
||||||
|
|
||||||
CONFIG_PATH = Path.home() / '.config/hyfetch.json'
|
CONFIG_PATH = Path.home() / '.config/hyfetch.json'
|
||||||
VERSION = '1.4.3'
|
VERSION = '1.4.4'
|
||||||
|
|
||||||
|
|
||||||
TEST_ASCII = r"""
|
TEST_ASCII = r"""
|
||||||
|
|||||||
+5
-5
@@ -233,9 +233,9 @@ def create_config() -> Config:
|
|||||||
print()
|
print()
|
||||||
|
|
||||||
# Print cats
|
# Print cats
|
||||||
num_cols = term_size()[0] // (TEST_ASCII_WIDTH + 2)
|
num_cols = (term_size()[0] // (TEST_ASCII_WIDTH + 2)) or 1
|
||||||
mn, mx = 0.15, 0.85
|
mn, mx = 0.15, 0.85
|
||||||
ratios = [col / (num_cols - 1) for col in range(num_cols)]
|
ratios = [col / num_cols for col in range(num_cols)]
|
||||||
ratios = [(r * (mx - mn) / 2 + mn) if is_light else ((r * (mx - mn) + (mx + mn)) / 2) for r in ratios]
|
ratios = [(r * (mx - mn) / 2 + mn) if is_light else ((r * (mx - mn) + (mx + mn)) / 2) for r in ratios]
|
||||||
lines = [ColorAlignment('horizontal').recolor_ascii(TEST_ASCII.replace(
|
lines = [ColorAlignment('horizontal').recolor_ascii(TEST_ASCII.replace(
|
||||||
'{txt}', f'{r * 100:.0f}%'.center(5)), _prs.set_light_dl(r, light_dark)).split('\n') for r in ratios]
|
'{txt}', f'{r * 100:.0f}%'.center(5)), _prs.set_light_dl(r, light_dark)).split('\n') for r in ratios]
|
||||||
@@ -270,7 +270,7 @@ def create_config() -> Config:
|
|||||||
fore_back = get_fore_back()
|
fore_back = get_fore_back()
|
||||||
|
|
||||||
# Calculate amount of row/column that can be displayed on screen
|
# Calculate amount of row/column that can be displayed on screen
|
||||||
ascii_per_row = term_size()[0] // (asc_width + 2)
|
ascii_per_row = max(1, term_size()[0] // (asc_width + 2))
|
||||||
ascii_rows = max(1, (term_size()[1] - 8) // asc_lines)
|
ascii_rows = max(1, (term_size()[1] - 8) // asc_lines)
|
||||||
|
|
||||||
# Displays horizontal and vertical arrangements in the first iteration, but hide them in
|
# Displays horizontal and vertical arrangements in the first iteration, but hide them in
|
||||||
@@ -291,11 +291,11 @@ def create_config() -> Config:
|
|||||||
while len(pis) < len(slots):
|
while len(pis) < len(slots):
|
||||||
pis += pis
|
pis += pis
|
||||||
perm = {p[:len(slots)] for p in permutations(pis)}
|
perm = {p[:len(slots)] for p in permutations(pis)}
|
||||||
random_count = ascii_per_row * ascii_rows - len(arrangements)
|
random_count = max(0, ascii_per_row * ascii_rows - len(arrangements))
|
||||||
if random_count > len(perm):
|
if random_count > len(perm):
|
||||||
choices = perm
|
choices = perm
|
||||||
else:
|
else:
|
||||||
choices = random.sample(perm, random_count)
|
choices = random.sample(sorted(perm), random_count)
|
||||||
choices = [{slots[i]: n for i, n in enumerate(c)} for c in choices]
|
choices = [{slots[i]: n for i, n in enumerate(c)} for c in choices]
|
||||||
arrangements += [(f'random{i}', ColorAlignment('custom', r)) for i, r in enumerate(choices)]
|
arrangements += [(f'random{i}', ColorAlignment('custom', r)) for i, r in enumerate(choices)]
|
||||||
asciis = [[*ca.recolor_ascii(asc, _prs).split('\n'), k.center(asc_width)] for k, ca in arrangements]
|
asciis = [[*ca.recolor_ascii(asc, _prs).split('\n'), k.center(asc_width)] for k, ca in arrangements]
|
||||||
|
|||||||
+2
-4
@@ -1,8 +1,6 @@
|
|||||||
from __future__ import annotations
|
from __future__ import annotations
|
||||||
|
|
||||||
from dataclasses import dataclass
|
from dataclasses import dataclass, field
|
||||||
|
|
||||||
from typing_extensions import Literal
|
|
||||||
|
|
||||||
from .color_util import AnsiMode, LightDark
|
from .color_util import AnsiMode, LightDark
|
||||||
from .constants import CONFIG_PATH
|
from .constants import CONFIG_PATH
|
||||||
@@ -16,7 +14,7 @@ class Config:
|
|||||||
mode: AnsiMode
|
mode: AnsiMode
|
||||||
light_dark: LightDark = 'dark'
|
light_dark: LightDark = 'dark'
|
||||||
lightness: float | None = None
|
lightness: float | None = None
|
||||||
color_align: ColorAlignment = ColorAlignment('horizontal')
|
color_align: ColorAlignment = field(default_factory=lambda: ColorAlignment('horizontal'))
|
||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def from_dict(cls, d: dict):
|
def from_dict(cls, d: dict):
|
||||||
|
|||||||
@@ -28,7 +28,7 @@
|
|||||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||||
# SOFTWARE.
|
# SOFTWARE.
|
||||||
|
|
||||||
version=7.3.3
|
version=7.3.4
|
||||||
|
|
||||||
# Fallback to a value of '5' for shells which support bash
|
# Fallback to a value of '5' for shells which support bash
|
||||||
# but do not set the 'BASH_' shell variables (osh).
|
# but do not set the 'BASH_' shell variables (osh).
|
||||||
@@ -179,7 +179,7 @@ memory_percent="on"
|
|||||||
# Change memory output unit.
|
# Change memory output unit.
|
||||||
#
|
#
|
||||||
# Default: 'mib'
|
# Default: 'mib'
|
||||||
# Values: 'kib', 'mib', 'gib'
|
# Values: 'kib', 'mib', 'gib', 'tib'
|
||||||
# Flag: --memory_unit
|
# Flag: --memory_unit
|
||||||
#
|
#
|
||||||
# Example:
|
# Example:
|
||||||
@@ -188,6 +188,12 @@ memory_percent="on"
|
|||||||
# gib: ' 0.98GiB / 6.79GiB'
|
# gib: ' 0.98GiB / 6.79GiB'
|
||||||
memory_unit="gib"
|
memory_unit="gib"
|
||||||
|
|
||||||
|
# Change memory output precision.
|
||||||
|
#
|
||||||
|
# Default: '2'
|
||||||
|
# Values: integer ≥ 0
|
||||||
|
# Flag: --memory_precision
|
||||||
|
mem_precision=2
|
||||||
|
|
||||||
# Packages
|
# Packages
|
||||||
|
|
||||||
@@ -806,26 +812,27 @@ image_source="auto"
|
|||||||
# Chrom, Cleanjaro, Clear Linux OS, ClearOS, Clover, Cobalt, Condres, Container Linux by CoreOS,
|
# Chrom, Cleanjaro, Clear Linux OS, ClearOS, Clover, Cobalt, Condres, Container Linux by CoreOS,
|
||||||
# CRUX, Crystal Linux, Cucumber, CutefishOS, CyberOS, dahlia, DarkOs, Darwin, Debian, Deepin,
|
# CRUX, Crystal Linux, Cucumber, CutefishOS, CyberOS, dahlia, DarkOs, Darwin, Debian, Deepin,
|
||||||
# DesaOS, Devuan, DietPi, DracOS, DragonFly, Drauger, Droidian, Elementary, Elive, EncryptOS,
|
# DesaOS, Devuan, DietPi, DracOS, DragonFly, Drauger, Droidian, Elementary, Elive, EncryptOS,
|
||||||
# EndeavourOS, Endless, EuroLinux, Exherbo, Exodia Predator OS, Fedora, Feren, Finnix, FreeBSD,
|
# EndeavourOS, Endless, Enso, EuroLinux, Exherbo, Exodia Predator OS, Fedora, Feren, Finnix,
|
||||||
# FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, GhostBSD, glaucus, gNewSense, GNOME, GNU,
|
# FreeBSD, FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, GhostBSD, glaucus, gNewSense,
|
||||||
# GoboLinux, GrapheneOS, Grombyang, Guix, Haiku, HamoniKR, HarDClanZ, Hash, Huayra, HydroOS,
|
# GNOME, GNU, GoboLinux, GrapheneOS, Grombyang, Guix, Haiku, HamoniKR, HarDClanZ, Hash, Huayra,
|
||||||
# Hyperbola, iglunix, instantOS, IRIX, Itc, januslinux, Kaisen, Kali, KaOS, KDE, Kibojoe, Kogaion,
|
# HydroOS, Hyperbola, iglunix, instantOS, IRIX, Itc, januslinux, Kaisen, Kali, KaOS, KDE, Kibojoe,
|
||||||
# Korora, KrassOS, KSLinux, Kubuntu, LangitKetujuh, LaxerOS, LEDE, LibreELEC, Linspire, Linux, Linux
|
# Kogaion, Korora, KrassOS, KSLinux, Kubuntu, LangitKetujuh, LaxerOS, LEDE, LibreELEC, Linspire,
|
||||||
# Lite, Linux Mint, Linux Mint Old, Live Raizo, LMDE, Lubuntu, Lunar, mac, Mageia, MagpieOS,
|
# Linux, Linux Lite, Linux Mint, Linux Mint Old, Live Raizo, LMDE, Lubuntu, Lunar, mac, Mageia,
|
||||||
# Mandriva, Manjaro, MassOS, MatuusOS, Maui, Mer, Minix, MIRACLE LINUX, MX, Namib, Neptune, NetBSD,
|
# MagpieOS, Mandriva, Manjaro, MassOS, MatuusOS, Maui, Mer, Minix, MIRACLE LINUX, MX, Namib,
|
||||||
# Netrunner, Nitrux, NixOS, NomadBSD, Nurunner, NuTyX, Obarun, OBRevenge, OmniOS, Open Source Media
|
# Neptune, NetBSD, Netrunner, Nitrux, NixOS, NomadBSD, Nurunner, NuTyX, Obarun, OBRevenge, OmniOS,
|
||||||
# Center, OpenBSD, openEuler, OpenIndiana, openmamba, OpenMandriva, OpenStage, openSUSE, openSUSE
|
# Open Source Media Center, OpenBSD, openEuler, OpenIndiana, openmamba, OpenMandriva, OpenStage,
|
||||||
# Leap, openSUSE Tumbleweed, OpenWrt, OPNsense, Oracle, orchid, OS Elbrus, PacBSD, Parabola, parch,
|
# openSUSE, openSUSE Leap, openSUSE Tumbleweed, OpenWrt, OPNsense, Oracle, orchid, OS Elbrus,
|
||||||
# Pardus, Parrot, Parsix, PCBSD, PCLinuxOS, pearOS, Pengwin, Pentoo, Peppermint, Pisi, PNM Linux,
|
# PacBSD, Parabola, parch, Pardus, Parrot, Parsix, PCBSD, PCLinuxOS, pearOS, Pengwin, Pentoo,
|
||||||
# Pop!_OS, Porteus, PostMarketOS, Profelis SambaBOX, Proxmox, PuffOS, Puppy, PureOS, Q4OS, Qubes,
|
# Peppermint, Pisi, PNM Linux, Pop!_OS, Porteus, PostMarketOS, Profelis SambaBOX, Proxmox, PuffOS,
|
||||||
# Qubyt, Quibian, Radix, Raspbian, ravynOS, Reborn OS, Red Star, Redcore, Redhat, Refracted Devuan,
|
# Puppy, PureOS, Q4OS, Qubes, Qubyt, Quibian, Radix, Raspbian, ravynOS, Reborn OS, Red Star,
|
||||||
# Regata, Regolith, rocky, Rosa, Sabayon, sabotage, Sailfish, SalentOS, Scientific, semc, Septor,
|
# Redcore, Redhat, Refracted Devuan, Regata, Regolith, rocky, Rosa, Sabayon, sabotage, Sailfish,
|
||||||
# Serene, SharkLinux, ShastraOS, Siduction, SkiffOS, Slackware, SliTaz, SmartOS, Soda, Solus, Source
|
# SalentOS, Scientific, semc, Septor, Serene, SharkLinux, ShastraOS, Siduction, SkiffOS, Slackware,
|
||||||
# Mage, Sparky, Star, SteamOS, Stock Linux, Sulin, SunOS, SwagArch, t2, Tails, TeArch, TorizonCore,
|
# SliTaz, SmartOS, Soda, Solus, Source Mage, Sparky, Star, SteamOS, Stock Linux, Sulin, SunOS,
|
||||||
# Trisquel, Twister, Ubuntu, Ubuntu Budgie, Ubuntu Cinnamon, Ubuntu Kylin, Ubuntu MATE, Ubuntu
|
# SwagArch, t2, Tails, TeArch, TorizonCore, Trisquel, Twister, Ubuntu, Ubuntu Budgie, Ubuntu
|
||||||
# Studio, Ubuntu Sway, Ubuntu Touch, Ubuntu-GNOME, ubuntu_old02, Ultramarine Linux, Univalent,
|
# Cinnamon, Ubuntu Kylin, Ubuntu MATE, Ubuntu Studio, Ubuntu Sway, Ubuntu Touch, Ubuntu-GNOME,
|
||||||
# Univention, Uos, uwuntu, Vanilla, Venom, VNux, Void, VzLinux, wii-linux-ngx, Windows, Windows 10,
|
# ubuntu_old02, Ultramarine Linux, Univalent, Univention, Uos, uwuntu, Vanilla, Venom, VNux, Void,
|
||||||
# Windows 11, XFerience, Xubuntu, yiffOS, Zorin have ascii logos.
|
# VzLinux, wii-linux-ngx, Windows, Windows 10, Windows 11, XFerience, Xubuntu, yiffOS, Zorin have
|
||||||
|
# ascii logos.
|
||||||
|
|
||||||
# NOTE: arch, dragonfly, Fedora, LangitKetujuh, nixos, redhat, Ubuntu have 'old' logo variants, use
|
# NOTE: arch, dragonfly, Fedora, LangitKetujuh, nixos, redhat, Ubuntu have 'old' logo variants, use
|
||||||
# {distro}_old to use them.
|
# {distro}_old to use them.
|
||||||
@@ -1181,6 +1188,7 @@ get_distro() {
|
|||||||
distro=${distro/DragonFly/DragonFlyBSD}
|
distro=${distro/DragonFly/DragonFlyBSD}
|
||||||
|
|
||||||
# Workarounds for some BSD based distros.
|
# Workarounds for some BSD based distros.
|
||||||
|
[[ -f /etc/os-release ]] && distro=Enso
|
||||||
[[ -f /etc/pcbsd-lang ]] && distro=PCBSD
|
[[ -f /etc/pcbsd-lang ]] && distro=PCBSD
|
||||||
[[ -f /etc/trueos-lang ]] && distro=TrueOS
|
[[ -f /etc/trueos-lang ]] && distro=TrueOS
|
||||||
[[ -f /etc/pacbsd-release ]] && distro=PacBSD
|
[[ -f /etc/pacbsd-release ]] && distro=PacBSD
|
||||||
@@ -2185,8 +2193,8 @@ get_de() {
|
|||||||
# TODO:
|
# TODO:
|
||||||
# - New config option + flag: --de_display_server on/off ?
|
# - New config option + flag: --de_display_server on/off ?
|
||||||
# - Add display of X11, Arcan and anything else relevant.
|
# - Add display of X11, Arcan and anything else relevant.
|
||||||
[[ $de && $WAYLAND_DISPLAY ]] &&
|
[[ $de ]] &&
|
||||||
de+=" (Wayland)"
|
de+=" (${XDG_SESSION_TYPE})"
|
||||||
|
|
||||||
de_run=1
|
de_run=1
|
||||||
}
|
}
|
||||||
@@ -2213,6 +2221,7 @@ get_wm() {
|
|||||||
-e asc \
|
-e asc \
|
||||||
-e clayland \
|
-e clayland \
|
||||||
-e dwc \
|
-e dwc \
|
||||||
|
-e dwl \
|
||||||
-e fireplace \
|
-e fireplace \
|
||||||
-e gnome-shell \
|
-e gnome-shell \
|
||||||
-e greenfield \
|
-e greenfield \
|
||||||
@@ -2573,9 +2582,8 @@ END
|
|||||||
esac
|
esac
|
||||||
|
|
||||||
# If cpu is not detected on a platform-specific bases, fallback to cpuinfo method
|
# If cpu is not detected on a platform-specific bases, fallback to cpuinfo method
|
||||||
[[ -z "$cpu" ]] && cpu="$(awk -F '\\s*: | @' \
|
[[ -z "$cpu" ]] && cpu="$(awk -F '\\s*: | @' '/model name|Model|uarch|Hardware|Processor|^cpu model|chip type|^cpu type/ { print $2; exit}' "$cpu_file")"
|
||||||
'/model name|Model|uarch|Hardware|Processor|^cpu model|chip type|^cpu type/ {
|
[[ -z "$cpu" ]] && cpu="$(awk -F '\\s*: | @' '/Hardware/ {print $2; exit}' "$cpu_file")"
|
||||||
cpu=$2; if ($1 == "Hardware") exit } END { print cpu }' "$cpu_file")"
|
|
||||||
|
|
||||||
speed_dir="/sys/devices/system/cpu/cpu0/cpufreq"
|
speed_dir="/sys/devices/system/cpu/cpu0/cpufreq"
|
||||||
|
|
||||||
@@ -3114,30 +3122,13 @@ get_memory() {
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
"Mac OS X" | "macOS" | "iPhone OS")
|
"Mac OS X" | "macOS" | "iPhone OS")
|
||||||
if [[ $osx_version == 10.[4-5]* ]]; then
|
hw_pagesize="$(sysctl -n hw.pagesize)"
|
||||||
mem_total="$(system_profiler SPHardwareDataType | grep Memory:)"
|
mem_total="$(($(sysctl -n hw.memsize) / 1024 / 1024))"
|
||||||
mem_total="${mem_total/Memory\: /}"
|
pages_app="$(($(sysctl -n vm.page_pageable_internal_count) - $(sysctl -n vm.page_purgeable_count)))"
|
||||||
mem_total="${mem_total/ MB/}"
|
pages_wired="$(vm_stat | awk '/ wired/ { print $4 }')"
|
||||||
|
pages_compressed="$(vm_stat | awk '/ occupied/ { printf $5 }')"
|
||||||
mem_used="$(vm_stat | grep Pages\ active:)"
|
pages_compressed="${pages_compressed:-0}"
|
||||||
mem_used="${mem_used/Pages active\: /}"
|
mem_used="$(((pages_app + ${pages_wired//.} + ${pages_compressed//.}) * hw_pagesize / 1024 / 1024))"
|
||||||
mem_used="${mem_used/\./}"
|
|
||||||
|
|
||||||
pages_inactive=$(vm_stat | grep "Pages inactive")
|
|
||||||
pages_inactive=${pages_inactive/Pages inactive\: /}
|
|
||||||
pages_inactive=${pages_inactive/\./}
|
|
||||||
|
|
||||||
mem_used=$((mem_used + pages_inactive))
|
|
||||||
mem_used=$((mem_used * 4096 / 1048576))
|
|
||||||
else
|
|
||||||
hw_pagesize="$(sysctl -n hw.pagesize)"
|
|
||||||
mem_total="$(($(sysctl -n hw.memsize) / 1024 / 1024))"
|
|
||||||
pages_app="$(($(sysctl -n vm.page_pageable_internal_count) - $(sysctl -n vm.page_purgeable_count)))"
|
|
||||||
pages_wired="$(vm_stat | awk '/ wired/ { print $4 }')"
|
|
||||||
pages_compressed="$(vm_stat | awk '/ occupied/ { printf $5 }')"
|
|
||||||
pages_compressed="${pages_compressed:-0}"
|
|
||||||
mem_used="$(((pages_app + ${pages_wired//.} + ${pages_compressed//.}) * hw_pagesize / 1024 / 1024))"
|
|
||||||
fi
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
"BSD" | "MINIX" | "ravynOS")
|
"BSD" | "MINIX" | "ravynOS")
|
||||||
@@ -3228,27 +3219,51 @@ get_memory() {
|
|||||||
|
|
||||||
[[ "$memory_percent" == "on" ]] && ((mem_perc=mem_used * 100 / mem_total))
|
[[ "$memory_percent" == "on" ]] && ((mem_perc=mem_used * 100 / mem_total))
|
||||||
|
|
||||||
|
# Creates temp variables: memory_unit_divider, memory_unit_multiplier
|
||||||
|
memory_unit_divider=1
|
||||||
|
memory_unit_multiplier=1
|
||||||
|
|
||||||
|
# Keep a copy of the original megabyte values because progress bar need them
|
||||||
|
mu_mb="$mem_used"
|
||||||
|
mt_mb="$mem_total"
|
||||||
|
|
||||||
case $memory_unit in
|
case $memory_unit in
|
||||||
|
tib)
|
||||||
|
mem_label=TiB
|
||||||
|
memory_unit_divider=$((1024 * 1024))
|
||||||
|
;;
|
||||||
|
|
||||||
gib)
|
gib)
|
||||||
mem_used=$(awk '{printf "%.1f", $1 / $2}' <<< "$mem_used 1024")
|
|
||||||
mem_total=$(awk '{printf "%.1f", $1 / $2}' <<< "$mem_total 1024")
|
|
||||||
mem_label=GiB
|
mem_label=GiB
|
||||||
|
memory_unit_divider=1024
|
||||||
;;
|
;;
|
||||||
|
|
||||||
kib)
|
kib)
|
||||||
mem_used=$((mem_used * 1024))
|
|
||||||
mem_total=$((mem_total * 1024))
|
|
||||||
mem_label=KiB
|
mem_label=KiB
|
||||||
|
memory_unit_multiplier=1024
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
|
# Uses temp variables from above: memory_unit_divider, memory_unit_multiplier
|
||||||
|
if test "$memory_unit_divider" -ge 1; then
|
||||||
|
printf -v mem_used "%'.*f" \
|
||||||
|
"${mem_precision}" \
|
||||||
|
$((mem_used / memory_unit_divider)).$((mem_used % memory_unit_divider))
|
||||||
|
printf -v mem_total "%'.*f" \
|
||||||
|
"${mem_precision}" \
|
||||||
|
$((mem_total / memory_unit_divider)).$((mem_total % memory_unit_divider))
|
||||||
|
elif test "$memory_unit_multiplier" -ge 1; then
|
||||||
|
mem_used=$((mem_used * memory_unit_multiplier))
|
||||||
|
mem_total=$((mem_total * memory_unit_multiplier))
|
||||||
|
fi
|
||||||
|
|
||||||
memory="${mem_used} ${mem_label:-MiB} / ${mem_total} ${mem_label:-MiB} ${mem_perc:+(${mem_perc}%)}"
|
memory="${mem_used} ${mem_label:-MiB} / ${mem_total} ${mem_label:-MiB} ${mem_perc:+(${mem_perc}%)}"
|
||||||
|
|
||||||
# Bars.
|
# Bars.
|
||||||
case $memory_display in
|
case $memory_display in
|
||||||
"bar") memory="$(bar "${mem_used}" "${mem_total}")" ;;
|
"bar") memory="$(bar "${mu_mb}" "${mt_mb}")" ;;
|
||||||
"infobar") memory="${memory} $(bar "${mem_used}" "${mem_total}")" ;;
|
"infobar") memory="${memory} $(bar "${mu_mb}" "${mt_mb}")" ;;
|
||||||
"barinfo") memory="$(bar "${mem_used}" "${mem_total}")${info_color} ${memory}" ;;
|
"barinfo") memory="$(bar "${mu_mb}" "${mt_mb}")${info_color} ${memory}" ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -5811,7 +5826,8 @@ INFO:
|
|||||||
--song_format format Print the song data in a specific format (see config file).
|
--song_format format Print the song data in a specific format (see config file).
|
||||||
--song_shorthand on/off Print the Artist/Album/Title on separate lines.
|
--song_shorthand on/off Print the Artist/Album/Title on separate lines.
|
||||||
--memory_percent on/off Display memory percentage.
|
--memory_percent on/off Display memory percentage.
|
||||||
--memory_unit kib/mib/gib Memory output unit.
|
--memory_unit (k/m/g/t)ib Memory output unit.
|
||||||
|
--memory_precision integer Change memory output precision. (≥0, default=2)
|
||||||
--music_player player-name Manually specify a player to use.
|
--music_player player-name Manually specify a player to use.
|
||||||
Available values are listed in the config file
|
Available values are listed in the config file
|
||||||
|
|
||||||
@@ -5890,36 +5906,36 @@ ASCII:
|
|||||||
Container Linux by CoreOS, CRUX, Crystal Linux, Cucumber,
|
Container Linux by CoreOS, CRUX, Crystal Linux, Cucumber,
|
||||||
CutefishOS, CyberOS, dahlia, DarkOs, Darwin, Debian, Deepin, DesaOS,
|
CutefishOS, CyberOS, dahlia, DarkOs, Darwin, Debian, Deepin, DesaOS,
|
||||||
Devuan, DietPi, DracOS, DragonFly, Drauger, Droidian, Elementary,
|
Devuan, DietPi, DracOS, DragonFly, Drauger, Droidian, Elementary,
|
||||||
Elive, EncryptOS, EndeavourOS, Endless, EuroLinux, Exherbo, Exodia
|
Elive, EncryptOS, EndeavourOS, Endless, Enso, EuroLinux, Exherbo,
|
||||||
Predator OS, Fedora, Feren, Finnix, FreeBSD, FreeMiNT, Frugalware,
|
Exodia Predator OS, Fedora, Feren, Finnix, FreeBSD, FreeMiNT,
|
||||||
Funtoo, GalliumOS, Garuda, Gentoo, GhostBSD, glaucus, gNewSense,
|
Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, GhostBSD, glaucus,
|
||||||
GNOME, GNU, GoboLinux, GrapheneOS, Grombyang, Guix, Haiku, HamoniKR,
|
gNewSense, GNOME, GNU, GoboLinux, GrapheneOS, Grombyang, Guix,
|
||||||
HarDClanZ, Hash, Huayra, HydroOS, Hyperbola, iglunix, instantOS,
|
Haiku, HamoniKR, HarDClanZ, Hash, Huayra, HydroOS, Hyperbola,
|
||||||
IRIX, Itc, januslinux, Kaisen, Kali, KaOS, KDE, Kibojoe, Kogaion,
|
iglunix, instantOS, IRIX, Itc, januslinux, Kaisen, Kali, KaOS, KDE,
|
||||||
Korora, KrassOS, KSLinux, Kubuntu, LangitKetujuh, LaxerOS, LEDE,
|
Kibojoe, Kogaion, Korora, KrassOS, KSLinux, Kubuntu, LangitKetujuh,
|
||||||
LibreELEC, Linspire, Linux, Linux Lite, Linux Mint, Linux Mint Old,
|
LaxerOS, LEDE, LibreELEC, Linspire, Linux, Linux Lite, Linux Mint,
|
||||||
Live Raizo, LMDE, Lubuntu, Lunar, mac, Mageia, MagpieOS, Mandriva,
|
Linux Mint Old, Live Raizo, LMDE, Lubuntu, Lunar, mac, Mageia,
|
||||||
Manjaro, MassOS, MatuusOS, Maui, Mer, Minix, MIRACLE LINUX, MX,
|
MagpieOS, Mandriva, Manjaro, MassOS, MatuusOS, Maui, Mer, Minix,
|
||||||
Namib, Neptune, NetBSD, Netrunner, Nitrux, NixOS, NomadBSD,
|
MIRACLE LINUX, MX, Namib, Neptune, NetBSD, Netrunner, Nitrux, NixOS,
|
||||||
Nurunner, NuTyX, Obarun, OBRevenge, OmniOS, Open Source Media
|
NomadBSD, Nurunner, NuTyX, Obarun, OBRevenge, OmniOS, Open Source
|
||||||
Center, OpenBSD, openEuler, OpenIndiana, openmamba, OpenMandriva,
|
Media Center, OpenBSD, openEuler, OpenIndiana, openmamba,
|
||||||
OpenStage, openSUSE, openSUSE Leap, openSUSE Tumbleweed, OpenWrt,
|
OpenMandriva, OpenStage, openSUSE, openSUSE Leap, openSUSE
|
||||||
OPNsense, Oracle, orchid, OS Elbrus, PacBSD, Parabola, parch,
|
Tumbleweed, OpenWrt, OPNsense, Oracle, orchid, OS Elbrus, PacBSD,
|
||||||
Pardus, Parrot, Parsix, PCBSD, PCLinuxOS, pearOS, Pengwin, Pentoo,
|
Parabola, parch, Pardus, Parrot, Parsix, PCBSD, PCLinuxOS, pearOS,
|
||||||
Peppermint, Pisi, PNM Linux, Pop!_OS, Porteus, PostMarketOS,
|
Pengwin, Pentoo, Peppermint, Pisi, PNM Linux, Pop!_OS, Porteus,
|
||||||
Profelis SambaBOX, Proxmox, PuffOS, Puppy, PureOS, Q4OS, Qubes,
|
PostMarketOS, Profelis SambaBOX, Proxmox, PuffOS, Puppy, PureOS,
|
||||||
Qubyt, Quibian, Radix, Raspbian, ravynOS, Reborn OS, Red Star,
|
Q4OS, Qubes, Qubyt, Quibian, Radix, Raspbian, ravynOS, Reborn OS,
|
||||||
Redcore, Redhat, Refracted Devuan, Regata, Regolith, rocky, Rosa,
|
Red Star, Redcore, Redhat, Refracted Devuan, Regata, Regolith,
|
||||||
Sabayon, sabotage, Sailfish, SalentOS, Scientific, semc, Septor,
|
rocky, Rosa, Sabayon, sabotage, Sailfish, SalentOS, Scientific,
|
||||||
Serene, SharkLinux, ShastraOS, Siduction, SkiffOS, Slackware,
|
semc, Septor, Serene, SharkLinux, ShastraOS, Siduction, SkiffOS,
|
||||||
SliTaz, SmartOS, Soda, Solus, Source Mage, Sparky, Star, SteamOS,
|
Slackware, SliTaz, SmartOS, Soda, Solus, Source Mage, Sparky, Star,
|
||||||
Stock Linux, Sulin, SunOS, SwagArch, t2, Tails, TeArch, TorizonCore,
|
SteamOS, Stock Linux, Sulin, SunOS, SwagArch, t2, Tails, TeArch,
|
||||||
Trisquel, Twister, Ubuntu, Ubuntu Budgie, Ubuntu Cinnamon, Ubuntu
|
TorizonCore, Trisquel, Twister, Ubuntu, Ubuntu Budgie, Ubuntu
|
||||||
Kylin, Ubuntu MATE, Ubuntu Studio, Ubuntu Sway, Ubuntu Touch,
|
Cinnamon, Ubuntu Kylin, Ubuntu MATE, Ubuntu Studio, Ubuntu Sway,
|
||||||
Ubuntu-GNOME, ubuntu_old02, Ultramarine Linux, Univalent,
|
Ubuntu Touch, Ubuntu-GNOME, ubuntu_old02, Ultramarine Linux,
|
||||||
Univention, Uos, uwuntu, Vanilla, Venom, VNux, Void, VzLinux, wii-
|
Univalent, Univention, Uos, uwuntu, Vanilla, Venom, VNux, Void,
|
||||||
linux-ngx, Windows, Windows 10, Windows 11, XFerience, Xubuntu,
|
VzLinux, wii-linux-ngx, Windows, Windows 10, Windows 11, XFerience,
|
||||||
yiffOS, Zorin have ascii logos.
|
Xubuntu, yiffOS, Zorin have ascii logos.
|
||||||
|
|
||||||
NOTE: arch, dragonfly, Fedora, LangitKetujuh, nixos, redhat, Ubuntu
|
NOTE: arch, dragonfly, Fedora, LangitKetujuh, nixos, redhat, Ubuntu
|
||||||
have 'old' logo variants, use {distro}_old to use them.
|
have 'old' logo variants, use {distro}_old to use them.
|
||||||
@@ -6030,6 +6046,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" ;;
|
||||||
"--cpu_temp")
|
"--cpu_temp")
|
||||||
cpu_temp="$2"
|
cpu_temp="$2"
|
||||||
[[ "$cpu_temp" == "on" ]] && cpu_temp="C"
|
[[ "$cpu_temp" == "on" ]] && cpu_temp="C"
|
||||||
@@ -8632,6 +8649,32 @@ dMm `/++/-``/yNNh+/sdNMNddMm- mMd
|
|||||||
EOF
|
EOF
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
"Enso"*)
|
||||||
|
set_colors 8 7
|
||||||
|
read -rd '' ascii_data <<'EOF'
|
||||||
|
${c1}
|
||||||
|
.:--==--:.
|
||||||
|
:=*#%%%%%%%#####*+-.
|
||||||
|
.+%%%%%%%%%%%%###%%#*##*:
|
||||||
|
.*%%%%%%%%%#+==-==++*####*##-
|
||||||
|
=%%%%%%%#=: .-+**#***.
|
||||||
|
*%%%%%%#- ++*#**.
|
||||||
|
+%%%%%%+ -*+#**
|
||||||
|
:%%%%%%* .*+**=
|
||||||
|
*%%%%%%: --#*#
|
||||||
|
%%%%%%% +++#.
|
||||||
|
%%%%%%%. ++=*.
|
||||||
|
*%%%%%%+ .-+*+
|
||||||
|
:%%%%%%%- -:*+:
|
||||||
|
=%%%%%%%*. :.*+-
|
||||||
|
+%%%%%%%%*- :*=-
|
||||||
|
=%%%%%%%%%%#+=: =+=:
|
||||||
|
.+%%%%%%%%%%%%%. .-==:
|
||||||
|
.=#%%%%%%%%%%= ..:--:.
|
||||||
|
.-+#%%%%%+
|
||||||
|
EOF
|
||||||
|
;;
|
||||||
|
|
||||||
"EuroLinux"*)
|
"EuroLinux"*)
|
||||||
set_colors 4 7
|
set_colors 4 7
|
||||||
read -rd '' ascii_data <<'EOF'
|
read -rd '' ascii_data <<'EOF'
|
||||||
@@ -9764,7 +9807,7 @@ EOF
|
|||||||
"LMDE"*)
|
"LMDE"*)
|
||||||
set_colors 2 7
|
set_colors 2 7
|
||||||
read -rd '' ascii_data <<'EOF'
|
read -rd '' ascii_data <<'EOF'
|
||||||
${c2} `.-::---..
|
${c2} `.-::---..
|
||||||
${c1} .:++++ooooosssoo:.
|
${c1} .:++++ooooosssoo:.
|
||||||
.+o++::. `.:oos+.
|
.+o++::. `.:oos+.
|
||||||
${c1} :oo:.` -+oo${c2}:
|
${c1} :oo:.` -+oo${c2}:
|
||||||
|
|||||||
+36
-32
@@ -1,7 +1,7 @@
|
|||||||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
|
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.2.
|
||||||
.TH NEOFETCH "1" "October 2022" "Neofetch 7.3.3" "User Commands"
|
.TH NEOFETCH "1" "November 2022" "Neofetch 7.3.4" "User Commands"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
Neofetch \- manual page for Neofetch 7.3.3
|
Neofetch \- manual page for Neofetch 7.3.4
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
.B neofetch
|
.B neofetch
|
||||||
\fI\,func_name --option "value" --option "value"\/\fR
|
\fI\,func_name --option "value" --option "value"\/\fR
|
||||||
@@ -164,9 +164,12 @@ Print the Artist/Album/Title on separate lines.
|
|||||||
\fB\-\-memory_percent\fR on/off
|
\fB\-\-memory_percent\fR on/off
|
||||||
Display memory percentage.
|
Display memory percentage.
|
||||||
.TP
|
.TP
|
||||||
\fB\-\-memory_unit\fR kib/mib/gib
|
\fB\-\-memory_unit\fR (k/m/g/t)ib
|
||||||
Memory output unit.
|
Memory output unit.
|
||||||
.TP
|
.TP
|
||||||
|
\fB\-\-memory_precision\fR integer
|
||||||
|
Change memory output precision. (???0, default=2)
|
||||||
|
.TP
|
||||||
\fB\-\-music_player\fR player\-name
|
\fB\-\-music_player\fR player\-name
|
||||||
Manually specify a player to use.
|
Manually specify a player to use.
|
||||||
Available values are listed in the config file
|
Available values are listed in the config file
|
||||||
@@ -312,35 +315,36 @@ Chrom, Cleanjaro, Clear Linux OS, ClearOS, Clover, Cobalt, Condres,
|
|||||||
Container Linux by CoreOS, CRUX, Crystal Linux, Cucumber,
|
Container Linux by CoreOS, CRUX, Crystal Linux, Cucumber,
|
||||||
CutefishOS, CyberOS, dahlia, DarkOs, Darwin, Debian, Deepin, DesaOS,
|
CutefishOS, CyberOS, dahlia, DarkOs, Darwin, Debian, Deepin, DesaOS,
|
||||||
Devuan, DietPi, DracOS, DragonFly, Drauger, Droidian, Elementary,
|
Devuan, DietPi, DracOS, DragonFly, Drauger, Droidian, Elementary,
|
||||||
Elive, EncryptOS, EndeavourOS, Endless, EuroLinux, Exherbo, Exodia
|
Elive, EncryptOS, EndeavourOS, Endless, Enso, EuroLinux, Exherbo,
|
||||||
Predator OS, Fedora, Feren, Finnix, FreeBSD, FreeMiNT, Frugalware,
|
Exodia Predator OS, Fedora, Feren, Finnix, FreeBSD, FreeMiNT,
|
||||||
Funtoo, GalliumOS, Garuda, Gentoo, GhostBSD, glaucus, gNewSense,
|
Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, GhostBSD, glaucus,
|
||||||
GNOME, GNU, GoboLinux, GrapheneOS, Grombyang, Guix, Haiku, HamoniKR,
|
gNewSense, GNOME, GNU, GoboLinux, GrapheneOS, Grombyang, Guix,
|
||||||
HarDClanZ, Hash, Huayra, HydroOS, Hyperbola, iglunix, instantOS,
|
Haiku, HamoniKR, HarDClanZ, Hash, Huayra, HydroOS, Hyperbola,
|
||||||
IRIX, Itc, januslinux, Kaisen, Kali, KaOS, KDE, Kibojoe, Kogaion,
|
iglunix, instantOS, IRIX, Itc, januslinux, Kaisen, Kali, KaOS, KDE,
|
||||||
Korora, KrassOS, KSLinux, Kubuntu, LangitKetujuh, LaxerOS, LEDE,
|
Kibojoe, Kogaion, Korora, KrassOS, KSLinux, Kubuntu, LangitKetujuh,
|
||||||
LibreELEC, Linspire, Linux, Linux Lite, Linux Mint, Linux Mint Old,
|
LaxerOS, LEDE, LibreELEC, Linspire, Linux, Linux Lite, Linux Mint,
|
||||||
Live Raizo, LMDE, Lubuntu, Lunar, mac, Mageia, MagpieOS, Mandriva,
|
Linux Mint Old, Live Raizo, LMDE, Lubuntu, Lunar, mac, Mageia,
|
||||||
Manjaro, MassOS, MatuusOS, Maui, Mer, Minix, MIRACLE LINUX, MX,
|
MagpieOS, Mandriva, Manjaro, MassOS, MatuusOS, Maui, Mer, Minix,
|
||||||
Namib, Neptune, NetBSD, Netrunner, Nitrux, NixOS, NomadBSD,
|
MIRACLE LINUX, MX, Namib, Neptune, NetBSD, Netrunner, Nitrux, NixOS,
|
||||||
Nurunner, NuTyX, Obarun, OBRevenge, OmniOS, Open Source Media
|
NomadBSD, Nurunner, NuTyX, Obarun, OBRevenge, OmniOS, Open Source
|
||||||
Center, OpenBSD, openEuler, OpenIndiana, openmamba, OpenMandriva,
|
Media Center, OpenBSD, openEuler, OpenIndiana, openmamba,
|
||||||
OpenStage, openSUSE, openSUSE Leap, openSUSE Tumbleweed, OpenWrt,
|
OpenMandriva, OpenStage, openSUSE, openSUSE Leap, openSUSE
|
||||||
OPNsense, Oracle, orchid, OS Elbrus, PacBSD, Parabola, parch,
|
Tumbleweed, OpenWrt, OPNsense, Oracle, orchid, OS Elbrus, PacBSD,
|
||||||
Pardus, Parrot, Parsix, PCBSD, PCLinuxOS, pearOS, Pengwin, Pentoo,
|
Parabola, parch, Pardus, Parrot, Parsix, PCBSD, PCLinuxOS, pearOS,
|
||||||
Peppermint, Pisi, PNM Linux, Pop!_OS, Porteus, PostMarketOS,
|
Pengwin, Pentoo, Peppermint, Pisi, PNM Linux, Pop!_OS, Porteus,
|
||||||
Profelis SambaBOX, Proxmox, PuffOS, Puppy, PureOS, Q4OS, Qubes,
|
PostMarketOS, Profelis SambaBOX, Proxmox, PuffOS, Puppy, PureOS,
|
||||||
Qubyt, Quibian, Radix, Raspbian, ravynOS, Reborn OS, Red Star,
|
Q4OS, Qubes, Qubyt, Quibian, Radix, Raspbian, ravynOS, Reborn OS,
|
||||||
Redcore, Redhat, Refracted Devuan, Regata, Regolith, rocky, Rosa,
|
Red Star, Redcore, Redhat, Refracted Devuan, Regata, Regolith,
|
||||||
Sabayon, sabotage, Sailfish, SalentOS, Scientific, semc, Septor,
|
rocky, Rosa, Sabayon, sabotage, Sailfish, SalentOS, Scientific,
|
||||||
Serene, SharkLinux, ShastraOS, Siduction, SkiffOS, Slackware,
|
semc, Septor, Serene, SharkLinux, ShastraOS, Siduction, SkiffOS,
|
||||||
SliTaz, SmartOS, Soda, Solus, Source Mage, Sparky, Star, SteamOS,
|
Slackware, SliTaz, SmartOS, Soda, Solus, Source Mage, Sparky, Star,
|
||||||
Stock Linux, Sulin, SunOS, SwagArch, t2, Tails, TeArch, TorizonCore,
|
SteamOS, Stock Linux, Sulin, SunOS, SwagArch, t2, Tails, TeArch,
|
||||||
Trisquel, Twister, Ubuntu, Ubuntu Budgie, Ubuntu Cinnamon, Ubuntu
|
TorizonCore, Trisquel, Twister, Ubuntu, Ubuntu Budgie, Ubuntu
|
||||||
Kylin, Ubuntu MATE, Ubuntu Studio, Ubuntu Sway, Ubuntu Touch,
|
Cinnamon, Ubuntu Kylin, Ubuntu MATE, Ubuntu Studio, Ubuntu Sway,
|
||||||
Ubuntu\-GNOME, ubuntu_old02, Ultramarine Linux, Univalent,
|
Ubuntu Touch, Ubuntu\-GNOME, ubuntu_old02, Ultramarine Linux,
|
||||||
Univention, Uos, uwuntu, Vanilla, Venom, VNux, Void, VzLinux, wiilinux\-ngx, Windows, Windows 10, Windows 11, XFerience, Xubuntu,
|
Univalent, Univention, Uos, uwuntu, Vanilla, Venom, VNux, Void,
|
||||||
yiffOS, Zorin have ascii logos.
|
VzLinux, wii\-linux\-ngx, Windows, Windows 10, Windows 11, XFerience,
|
||||||
|
Xubuntu, yiffOS, Zorin have ascii logos.
|
||||||
.TP
|
.TP
|
||||||
NOTE: arch, dragonfly, Fedora, LangitKetujuh, nixos, redhat, Ubuntu
|
NOTE: arch, dragonfly, Fedora, LangitKetujuh, nixos, redhat, Ubuntu
|
||||||
have 'old' logo variants, use {distro}_old to use them.
|
have 'old' logo variants, use {distro}_old to use them.
|
||||||
|
|||||||
+1
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "neowofetch",
|
"name": "neowofetch",
|
||||||
"version": "1.4.3",
|
"version": "1.4.4",
|
||||||
"description": "Updated neofetch",
|
"description": "Updated neofetch",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ import pathlib
|
|||||||
|
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
import hyfetch
|
import hyfetch.constants
|
||||||
|
|
||||||
# The directory containing this file
|
# The directory containing this file
|
||||||
HERE = pathlib.Path(__file__).parent
|
HERE = pathlib.Path(__file__).parent
|
||||||
@@ -14,7 +14,7 @@ README = (HERE / "README.md").read_text('utf-8')
|
|||||||
# This call to setup() does all the work
|
# This call to setup() does all the work
|
||||||
setup(
|
setup(
|
||||||
name="HyFetch",
|
name="HyFetch",
|
||||||
version=hyfetch.__version__,
|
version=hyfetch.constants.VERSION,
|
||||||
description="neofetch with flags <3",
|
description="neofetch with flags <3",
|
||||||
long_description=README,
|
long_description=README,
|
||||||
long_description_content_type="text/markdown",
|
long_description_content_type="text/markdown",
|
||||||
|
|||||||
Reference in New Issue
Block a user