Compare commits

...

116 Commits

Author SHA1 Message Date
azalea 98a3befd4b [U] Release 1.4.11 2023-12-01 19:22:33 -05:00
azalea 09c62956a3 [F] Fix distro listing 2023-12-01 19:21:31 -05:00
azalea 9945075de5 [F] Fix deploy script 2023-12-01 19:17:36 -05:00
azalea 5f079cec46 [F] Fix distro listing script 2023-12-01 19:14:49 -05:00
azalea 97a31aba52 [+] Changelog 2023-12-01 19:05:15 -05:00
azalea 76f3ce2608 [PR] dylanaraps/neofetch#2417 from ACertainPersons - Added linux_small
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2417
Thanks to @ACertainPersons

Co-authored-by: ACertainPersons <127463096+ACertainPersons@users.noreply.github.com>
2023-12-01 14:35:09 -05:00
azalea 3a5ce4eb58 [F] Fix parch alignment
https://github.com/dylanaraps/neofetch/pull/2045
2023-12-01 14:30:35 -05:00
azalea 44c9a5491b [PR] dylanaraps/neofetch#2045 from mmdbalkhi - add parch logo
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2045
Thanks to @mmdbalkhi

Co-authored-by: Sohrab Behdani <behdanisohrab@gmail.com>
2023-12-01 14:26:57 -05:00
Sohrab Behdani 2cbd8e440d changed parch neofetch logo 2023-12-01 20:56:47 +03:30
azalea 4516747954 Merge branch 'master' of https://github.com/hykilpikonna/hyfetch 2023-12-01 06:16:10 -05:00
azalea 813b6f7173 [F] Fix shellcheck #218 2023-12-01 06:15:55 -05:00
Azalea 937e5041c4 [PR] #217 from OldWorldOrdr: Add windows NT 2023-12-01 20:01:37 +09:00
azalea f59f6f55d2 [F] Fix backslash escape bug #218 2023-12-01 05:58:19 -05:00
Azalea 2ce3bb6a11 [PR] Merge pull request #218 from mc680x0/master 2023-12-01 19:52:03 +09:00
Horst G. Burkhardt a2fb43bfca add Adélie Linux to list of ASCII logos 2023-11-30 10:24:24 +00:00
Horst G. Burkhardt 9a5d8fb971 colourise Adélie Linux logo 2023-11-30 07:53:19 +00:00
ACertainPersons 8ee497ad97 Readded Plasma for Backwards Compatibility 2023-11-29 20:20:06 -06:00
ACertainPersons 5072baf1cf Added linux_small 2023-11-29 19:47:33 -06:00
Horst G. Burkhardt b407bc0ea4 fix and colourise digital UNIX logo 2023-11-30 00:26:06 +00:00
Horst G. Burkhardt 78bcf1e5cc add digital UNIX logo (uncolourised) for OSF/1, DEC UNIX, and Tru64 2023-11-30 00:13:34 +00:00
Horst G. Burkhardt e080924040 Update distro logo for Adélie Linux with distro tagline 2023-11-30 00:08:44 +00:00
Horst G. Burkhardt c2f69d64f4 Add distro logo for Adélie Linux 2023-11-30 00:01:37 +00:00
Horst G. Burkhardt 620bc2ca88 preliminary support for OSF/1 2023-11-29 08:34:06 +00:00
OldWorldOrdr ea61ca96b7 Update neofetch 2023-11-24 19:35:56 -05:00
azalea 979e3950e9 [-] Remove Aster Linux #216
Closes #216
2023-11-24 12:10:37 -05:00
azalea ce1423bfbd [+] Add Peropesis Linux support
https://github.com/dylanaraps/neofetch/issues/2414
2023-11-22 04:26:55 -05:00
azalea f66b128caf [PR] dylanaraps/neofetch#2413 from Xray-OS - ASCII Artwork for Xray_OS (Arch Linux)
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2413
Thanks to @Xray-OS

Co-authored-by: xray_os <xray_os@proton.me>
2023-11-22 03:42:48 -05:00
azalea e63e2693c2 [+] Add support for npm global packages
Closes #215
2023-11-22 02:16:25 -05:00
xray_os 5e109afceb edit the name of the distro 2023-11-18 10:37:47 -04:00
Azalea 524baf9cf7 [PR] #214 from BKasin: Check for newer xfce4-term config
[+] Check for newer xfce4-term config
2023-11-17 13:07:48 -08:00
Bailey Kasin deac271585 [+] Check for newer xfce4-term config
Signed-off-by: Bailey Kasin <baileykasin@gmail.com>
2023-11-17 01:11:37 -08:00
xray_os b027dc4cb5 fixing even more 2023-11-12 23:59:06 -04:00
xray_os 5b93e00b63 fixing even more 2023-11-12 23:54:32 -04:00
xray_os d7e9ee8499 fixing 2023-11-12 23:33:40 -04:00
xray_os 48da56a78e ASCII Artwork done 2023-11-12 23:26:29 -04:00
azalea a1e42b4f89 [O] Keep original plasma for backward compatibility
https://github.com/dylanaraps/neofetch/pull/2411
2023-11-10 22:14:10 -05:00
azalea 0f62374205 [PR] dylanaraps/neofetch#2411 from ACertainPersons - Fixed Kubuntu recognized as Ubuntu
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2411
Thanks to @ACertainPersons

Co-authored-by: ACertainPersons <127463096+ACertainPersons@users.noreply.github.com>
2023-11-10 22:12:45 -05:00
ACertainPersons 953001537f Fixed Kubuntu recognized as Ubuntu 2023-11-10 20:12:10 -06:00
azalea 05bdef915a [PR] dylanaraps/neofetch#2409 from makuhlmann - Added support for Interix (Windows Subsystem for UNIX)
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2409
Thanks to @makuhlmann

Co-authored-by: makuhlmann <19255462+makuhlmann@users.noreply.github.com>
2023-11-01 00:35:53 -04:00
azalea 91ced42151 Merge branch 'master' of https://github.com/hykilpikonna/hyfetch 2023-11-01 00:24:49 -04:00
azalea 5d076fcea6 [PR] dylanaraps/neofetch#2407 from Online122228 - added MainsailOS support and ascii art
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2407
Thanks to @Online122228

Co-authored-by: Online122228 <pemtimdukaj@hotmail.com>
2023-11-01 00:23:51 -04:00
makuhlmann ec8693322a Code style fixes according to coding convention 2023-10-31 16:26:49 +01:00
makuhlmann a6e184bd4a Added Interix support for OS, Distro, Model, Kernel, Uptime, CPU, GPU, Memory, Battery, Packages, Battery; Fixed Logo not displying properly on Interix Bash 2023-10-31 15:51:50 +01:00
Bailey Kasin d16806cb16 [F] Add code tags to commands 2023-10-31 06:11:21 -07:00
makuhlmann bfcd8b1f67 Added Interix logo 2023-10-31 13:53:18 +01:00
Azalea 81cdaa980c Merge pull request #211 from EnterTheVoid-x86/master
Fix phyOS logo
2023-10-31 03:10:25 -04:00
etvx86 2af4aa9adc Fix phyOS logo 2023-10-30 20:03:54 -04:00
Online122228 ae4e484d65 added MainsailOS support and ascii art 2023-10-30 01:04:13 +01:00
Azalea 1e736ae011 [PR] #210 from delgh1: Edit FAQ
[trivial change] update README.md: add one FAQ
2023-10-29 17:52:01 -04:00
Jing Luo f316b2b5cb Update README.md: add one FAQ 2023-10-27 05:13:07 +09:00
azalea b87bb47502 [PR] dylanaraps/neofetch#2339 from RedFireSoftwareEntertainment - Added AZOS GNU/Linux
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2339
Thanks to @RedFireSoftwareEntertainment

Co-authored-by: RedFireSoftwareEntertainment <98542488+RedFireSoftwareEntertainment@users.noreply.github.com>
2023-10-26 13:12:04 -04:00
azalea 797199dd05 [PR] dylanaraps/neofetch#2382 from hasecilu - Add LainOS distro
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2382
Thanks to @hasecilu

Co-authored-by: hasecilu <hasecilu@tuta.io>
2023-10-26 12:44:49 -04:00
Bailey Kasin 42a275b27b [F] Use correct awk logic for toml vs yml
I have no idea how, but I had the awk logic reversed.

Signed-off-by: Bailey Kasin <baileykasin@gmail.com>
2023-10-21 23:18:37 -07:00
Bailey Kasin d267aaa90c [U] hyfetch is now in the official Gentoo repos 2023-10-20 00:43:24 -07:00
Bailey Kasin f06dea80fc [U] Add openSUSE and Homebrew 2023-10-18 14:15:37 -07:00
Bailey Kasin 1114fe53d4 [U] Add repology badge 2023-10-18 14:06:01 -07:00
Osama Albahrani a214e65b08 README: Add repology badge 2023-10-18 16:23:41 -04:00
Azalea b24f6663ba [U] Closes #203 2023-10-14 10:38:29 -07:00
azalea d91db75b4a Merge branch 'master' of https://github.com/hykilpikonna/hyfetch 2023-10-14 13:35:56 -04:00
azalea 294805f045 [+] Add Xenia by @bhavyakukkar
Co-Authored-By: bhavyakukkar <60596790+bhavyakukkar@users.noreply.github.com>
2023-10-14 13:35:50 -04:00
Bailey Kasin 47dea65fa8 [U] Add support for alacritty's new config format 2023-10-14 10:32:12 -07:00
Bailey Kasin 8e367e41a4 Add support for alacritty's new config format
Signed-off-by: Bailey Kasin <baileykasin@gmail.com>
2023-10-13 20:14:29 -07:00
azalea 81134bbb34 [PR] dylanaraps/neofetch#2396 from malik1004x - No Hackintosh check on arm64
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2396
Thanks to @malik1004x

Co-authored-by: malik <malikowskirobert@gmail.com>
2023-10-12 17:46:17 -04:00
malik 0729e40e00 simplify iterm profile check 2023-10-12 13:40:40 +02:00
malik 598731bf89 no hackintosh check on arm64 2023-10-12 13:07:47 +02:00
azalea afcf53f01f [PR] dylanaraps/neofetch#2356 from CarterLi - Resolution (macOS): improve detection
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2356
Thanks to @CarterLi

Co-authored-by: 李通洲 <zhangsongcui3371@sina.com>
2023-10-10 22:19:02 -04:00
李通洲 c505323826 Resolution (macOS): improve detection
1. fix detection when `screenresolution` is not available
2. make scale factor detection actually work
3. remove `screenresolution` dependency

EDIT: applied changes suggested by @hykilpikonna and fixed a
[bug](https://github.com/hykilpikonna/hyfetch/issues/196) that neofetch
fails to print scale factors when `system_profiler` fails to detect
refresh rates.
2023-10-11 09:18:50 +08:00
azalea 10b227a780 [PR] dylanaraps/neofetch#2391 from Pickles888 - Add EndeavourOS Small Option
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2391
Thanks to @Pickles888

Co-authored-by: Pickles888 <121081484+Pickles888@users.noreply.github.com>
2023-10-10 16:44:01 -04:00
azalea a9d76846a9 [U] Add lure.sh package 2023-10-10 16:30:00 -04:00
Pickles888 73d305ac69 Add EndeavourOS Small Option 2023-10-08 12:13:54 -07:00
RedFireSoftwareEntertainment d3577a8878 Update neofetch 2023-10-07 19:35:00 +00:00
azalea 5519dd16a0 [F] Fix #192 2023-10-02 19:17:42 -04:00
Bailey Kasin 20e93689b6 [F] Do not read debian_version on Ubuntu
Signed-off-by: Bailey Kasin <baileykasin@gmail.com>
2023-09-29 11:32:21 -07:00
Azalea fca42c0390 Merge pull request #194 from YisuiDenghua/patch-5
Update for Gentoo in README
2023-09-28 21:45:40 -07:00
Milena - 一穗灯花 ce9c4aa432 Update README.md, Gentoo 2023-09-29 12:43:20 +08:00
RedFireSoftwareEntertainment 3ebfcfd474 Update neofetch 2023-09-27 15:55:43 +03:00
RedFireSoftwareEntertainment d7c3475726 Logo change on AZOS is now updated 2023-09-27 15:52:06 +03:00
Azalea 8d0393d654 [U] Update installation method
Closes #188
2023-09-26 07:48:15 -07:00
Azalea 54d82ff557 [PR] #191 from BKasin/debian-version
[F] Use /etc/debian_version to get .x on Debian
2023-09-26 07:46:06 -07:00
Azalea fd96030436 [PR] #190 from hasecilu/LainOS_hyfetch
Add LainOS distro
2023-09-26 07:44:35 -07:00
Azalea b1df896e44 [PR] #171 from OldWorldOrdr/fix-sed
use sed -r instead of -E when using GNU sed
2023-09-26 07:42:19 -07:00
azalea 4a053f942c [PR] dylanaraps/neofetch#2360 from XanuduBuster - Adding aerOS Logo
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2360
Thanks to @XanuduBuster

Co-authored-by: Piotr Zalewski <bardzoglodnypiotrek@gmail.com>
2023-09-26 10:40:23 -04:00
Piotr Zalewski 025dff4c30 fixes coloring of aerOS logo 2023-09-26 07:59:10 +00:00
OldWorldOrdr c33c897724 make it a wrapper function 2023-09-25 23:44:28 -04:00
Bailey Kasin ff8f9b2879 [F] Use /etc/debian_version to get .x on Debian
/etc/os-release on Debian only reports the major
version, so use mix os-release and debian_version
to build PRETTY_NAME.

Signed-off-by: Bailey Kasin <baileykasin@gmail.com>
2023-09-25 18:46:20 -07:00
hasecilu 6b84920587 Fix colors.
Oops! colors swapped
2023-09-25 14:00:58 -06:00
hasecilu a5f2653675 Fix colors.
First and second color were swapped.
2023-09-25 13:54:58 -06:00
hasecilu 5f527960e9 Add LainOS distro 2023-09-24 13:44:49 -06:00
hasecilu d312ca97cc Add LainOS distro 2023-09-24 13:15:34 -06:00
OldWorldOrdr c77a05809e Merge branch 'hykilpikonna:master' into fix-sed 2023-09-21 19:34:11 -04:00
Azalea Gui 74d1bb5622 Merge branch 'AOSC-Dev-aosc/afterdark-rename-and-logo' 2023-09-12 13:44:17 -04:00
Azalea d9d9998d99 [PR] #185 from AOSC-Dev/aosc/aosc-os-logo
neofetch: use new AOSC OS logo
2023-09-12 13:35:47 -04:00
Mingcong Bai a8f26f9e36 neofetch: rename AOSC OS/Retro as Afterglow; update logo
Refer to our newsletter for details on the rebranding.

Ref: https://aosc.io/news/posts/2023-08-25-coffee-break/
2023-09-08 16:27:41 +08:00
Mingcong Bai 1e8fade4be neofetch: use new AOSC OS logo 2023-09-08 15:46:10 +08:00
Azalea ace0245097 [PR] #177 from BKasin/config 2023-09-06 23:19:27 -04:00
Azalea 5122d08ff6 [U] Update release script for #174 2023-09-06 20:18:00 -07:00
Azalea 179fa567a3 [PR] #174 from BKasin/makefile 2023-09-06 23:14:49 -04:00
Azalea 1acfe273e8 [PR] #181 from BKasin/config_args 2023-09-06 23:11:12 -04:00
Bailey Kasin 1ff772a01b [+] Add ability to set backend args in config file
Adds the option to set permanent backend args in
the config file, as requested in #180.
2023-08-30 01:02:45 -07:00
Bailey Kasin 8182224dc7 [F] Fix config file argument not being used 2023-08-25 21:19:37 -07:00
Bailey Kasin 57a28da23b all shouldn’t call install, whoops 2023-08-23 01:38:39 -07:00
Bailey Kasin 4536dafa09 remove neowofetch.1 since it was a copy of neofetch.1 2023-08-22 23:55:49 -07:00
Bailey Kasin c8185944dc Update Makefile to be able to install hyfetch 2023-08-22 23:47:53 -07:00
OldWorldOrdr 4a90533097 Merge branch 'hykilpikonna:master' into fix-sed 2023-08-18 13:44:07 -04:00
azalea b353cb7247 Merge branch 'master' of https://github.com/hykilpikonna/hyfetch 2023-08-18 09:41:45 -07:00
azalea 4d9bbbae9c [F] Fix DE empty bracket in macOS
Closes #172

Co-Authored-By: Carter Li <6134068+carterli@users.noreply.github.com>
2023-08-18 09:41:43 -07:00
Azalea edf2a697d9 [PR] #170 from OldWorldOrdr: Fix color blocks for bash !=3 & <5 2023-08-18 12:37:07 -04:00
OldWorldOrdr c7a516247a use sed -r instead of -E when using GNU sed 2023-08-17 15:21:20 -04:00
OldWorldOrdr 29cbbae974 fix issue with cols 2023-08-17 09:03:27 -04:00
Xanudu 6167ba885b Update neofetch 2023-08-09 14:45:40 +05:30
komeil Parseh 5bbaf0a658 Update neofetch
Co-authored-by: Azalea <hykilpikonna@gmail.com>
2023-07-16 10:21:39 +03:30
RedFireSoftwareEntertainment 41d1446476 Update neofetch 2023-07-10 10:54:12 +03:00
RedFireSoftwareEntertainment 02b8e6bd5f Update neofetch 2023-07-10 10:47:24 +03:00
RedFireSoftwareEntertainment 356c83f057 Update neofetch 2023-07-10 10:00:52 +03:00
RedFireSoftwareEntertainment 38cf9502c5 Update neofetch.1 2023-07-10 09:38:30 +03:00
RedFireSoftwareEntertainment ae70359fca Update neofetch.1 2023-07-10 09:08:28 +03:00
31 changed files with 1274 additions and 348 deletions
+23 -4
View File
@@ -1,16 +1,35 @@
PREFIX = /usr
MANDIR = $(PREFIX)/share/man
all:
@echo Run \'make install\' to install Neofetch.
all: build
build:
python setup.py build
install:
python setup.py install --prefix=${PREFIX}
install-doc:
@mkdir -p $(DESTDIR)$(MANDIR)/man1
@cp -p docs/hyfetch.1 $(DESTDIR)$(MANDIR)/man1
@cp -p docs/neofetch.1 $(DESTDIR)$(MANDIR)/man1/neowofetch.1
uninstall:
@rm -rf $(DESTDIR)$(PREFIX)/bin/hyfetch
@rm -rf $(DESTDIR)$(PREFIX)/bin/neowofetch
@rm -rf $(DESTDIR)$(MANDIR)/man1/hyfetch.1*
@rm -rf $(DESTDIR)$(MANDIR)/man1/neowofetch.1*
clean:
rm -rf build/ HyFetch.egg-info
install-neofetch:
@mkdir -p $(DESTDIR)$(PREFIX)/bin
@mkdir -p $(DESTDIR)$(MANDIR)/man1
@cp -p neofetch $(DESTDIR)$(PREFIX)/bin/neofetch
@cp -p neofetch.1 $(DESTDIR)$(MANDIR)/man1
@cp -p docs/neofetch.1 $(DESTDIR)$(MANDIR)/man1
@chmod 755 $(DESTDIR)$(PREFIX)/bin/neofetch
uninstall:
uninstall-neofetch:
@rm -rf $(DESTDIR)$(PREFIX)/bin/neofetch
@rm -rf $(DESTDIR)$(MANDIR)/man1/neofetch.1*
+53 -3
View File
@@ -6,7 +6,7 @@ neofetch with pride flags <3
### Running Updated Original Neofetch
This repo also serves as an updated version of the original `neofetch` since the upstream [dylanaraps/neofetch](https://github.com/dylanaraps/neofetch) doesn't seem to be maintained anymore (as of Jul 30, 2022, the original repo hasn't merged a pull request for 6 months). If you only want to use the updated neofetch without pride flags, you can use the `neofetch` script from this repo. To prevent command name conflict, I call it `neowofetch` :)
This repo also serves as an updated version of the original `neofetch` since the upstream [dylanaraps/neofetch](https://github.com/dylanaraps/neofetch) doesn't seem to be maintained anymore (as of Oct 27, 2023, the original repo hasn't merged a pull request for almost 2 years). If you only want to use the updated neofetch without pride flags, you can use the `neofetch` script from this repo. To prevent command name conflict, I call it `neowofetch` :)
* Method 1: `pip install -U hyfetch` then run `neowofetch`
* Method 2: `npx neowofetch`
@@ -22,18 +22,25 @@ Install Python >= 3.7 first. Then, just do:
```sh
pip install -U hyfetch
# or
pipx install hyfetch
```
### Method 2: Install using system package manager
Currently, these distributions have existing packages for HyFetch:
* Universal [Lure.sh](https://lure.sh/): `lure in hyfetch` (Thanks to [@Elara6331](https://github.com/Elara6331))
* Arch Linux: `sudo pacman -S hyfetch` (Thanks to [@Aleksana](https://github.com/Aleksanaa) and [@Antiz96](https://github.com/Antiz96))
* Nix: `nix-env -i hyfetch` (Thanks to [@YisuiDenghua](https://github.com/YisuiDenghua))
* Nix Profile: `nix profile install nixpkgs#hyfetch`
* Guix: `guix install hyfetch` (Thanks to [@WammKD](https://github.com/WammKD))
* Slackware `sbopkg -b hyfetch` Slackware [Slackbuild](https://slackbuilds.org/repository/15.0/desktop/hyfetch/?search=hyfetch) (Thanks to [@bittin](https://github.com/bittin) and Urchlay)
* Nix Profile `nix profile install nixpkgs#hyfetch`
* Slackware: `sbopkg -b hyfetch` [Slackbuild](https://slackbuilds.org/repository/15.0/desktop/hyfetch/?search=hyfetch) (Thanks to [@bittin](https://github.com/bittin) and Urchlay)
* Homebrew: `brew install hyfetch` (Thanks to [@BKasin](https://github.com/BKasin) and [@osalbahr](https://github.com/osalbahr))
* openSUSE Tumbleweed: `zypper in python311-hyfetch` (Thanks to [@BKasin](https://github.com/BKasin))
* Gentoo: `emerge --ask app-misc/hyfetch` (Thanks to [@BKasin](https://github.com/BKasin))
[![Packaging status](https://repology.org/badge/vertical-allrepos/hyfetch.svg)](https://repology.org/project/hyfetch/versions)
### Method 3: Install the latest developmental version using git
@@ -67,6 +74,16 @@ Feel free to experiment with it!
![image](https://user-images.githubusercontent.com/22280294/162614553-eb758e4e-1936-472c-8ca7-b601c696c6eb.png)
#### Q: Why do you use pride flag's coloring? I don't think it looks nice at all.
A: The core idea behind HyFetch coloring isn't just to make logos look nicer, it's about representation and identity. While it's okay to assess the visual appeal, you also need to understand that the LGBTQ+ flag colors serves a much deeper purpose than just aesthetics.
For many in the LGBTQ+ community, these flags symbolize their identity, struggles, and pride. Integrating these symbols into a showcase of the tech specs they share can provide a sense of empowerment. It's combining their enthusiasm for their favorite distro / hardware with their LGBTQ+ identity.
Also, by including flag coloring along with the updated neofetch, we're also broadcasting a wider message about the importance of inclusivity and representation. It's not just a design choice, it's a statement that promotes awareness and understanding toward the LGBTQ+ community.
## Contributing
@@ -101,6 +118,39 @@ pip install git+https://github.com/hykilpikonna/hyfetch.git@master
<!-- CHANGELOG STARTS HERE --->
### 1.4.11
* 🌈 Add ability to set backend args in hyfetch config file ([#181](https://github.com/hykilpikonna/hyfetch/pull/181))
* 🌈 Update makefile to be able to install hyfetch ([#174](https://github.com/hykilpikonna/hyfetch/pull/174))
* 🌈 Fix config file argument ([#177](https://github.com/hykilpikonna/hyfetch/pull/177))
* 🌈 Support pipx installation ([#188](https://github.com/hykilpikonna/hyfetch/pull/188), [#192](https://github.com/hykilpikonna/hyfetch/pull/192))
* 🌈 Create package for Debian, OpenSUSE, Homebrew, Gentoo, and lure.sh
([#184](https://github.com/hykilpikonna/hyfetch/pull/184), [#194](https://github.com/hykilpikonna/hyfetch/pull/194), [#207](https://github.com/hykilpikonna/hyfetch/pull/207), [#206](https://github.com/hykilpikonna/hyfetch/pull/206)) Huge thanks to @BKasin!
* 🖼 DE - Fix DE empty bracket in macOS ([#172](https://github.com/hykilpikonna/hyfetch/pull/172))
* 🖼 Distro - Use /etc/debian_version to get .x on Debian ([#191](https://github.com/hykilpikonna/hyfetch/pull/191))
* 🖼 Distro - Add LainOS ([#190](https://github.com/hykilpikonna/hyfetch/pull/190))
* 🖼 Distro - Add aerOS ([dylanaraps#2360](https://github.com/dylanaraps/neofetch/pull/2360))
* 🖼 Distro - Add Xenia ([#197](https://github.com/hykilpikonna/hyfetch/pull/197))
* 🖼 Distro - Add EndeavourOS Small Option ([dylanaraps#2391](https://github.com/dylanaraps/neofetch/pull/2391))
* 🖼 Distro - Add AZOS ([dylanaraps#2339](https://github.com/dylanaraps/neofetch/pull/2339))
* 🖼 Distro - Add MainsailOS ([dylanaraps#2407](https://github.com/dylanaraps/neofetch/pull/2407))
* 🖼 Distro - Add Interix ([dylanaraps#2409](https://github.com/dylanaraps/neofetch/pull/2409))
* 🖼 Distro - Add Peropesis Linux ([dylanaraps#2414](https://github.com/dylanaraps/neofetch/pull/2414))
* 🖼 Distro - Add Adélie Linux ([#218](https://github.com/hykilpikonna/hyfetch/pull/218))
* 🖼 Distro - Add Xray_OS ([dylanaraps#2413](https://github.com/dylanaraps/neofetch/pull/2413))
* 🖼 Ascii - Update AOSC logo ([#185](https://github.com/hykilpikonna/hyfetch/pull/185))
* 🖼 Ascii - Update phyOS logo ([#211](https://github.com/hykilpikonna/hyfetch/pull/211))
* 🖼 Ascii - Update Parch logo ([dylanaraps#2045](https://github.com/dylanaraps/neofetch/pull/2045))
* 🖼 Ascii - Add linux_small ([dylanaraps#2417](https://github.com/dylanaraps/neofetch/pull/2417))
* 🖼 Bug Fix - Fix color blocks for bash !=3 & <5 ([#170](https://github.com/hykilpikonna/hyfetch/pull/170))
* 🖼 Bug Fix - Use sed -r instead of -E when using GNU sed ([#171](https://github.com/hykilpikonna/hyfetch/pull/171))
* 🖼 Bug Fix - Fixed Kubuntu recognized as Ubuntu ([dylanaraps#2411](https://github.com/dylanaraps/neofetch/pull/2411))
* 🖼 OS - Improved MacOS resolution detection ([dylanaraps#2356](https://github.com/dylanaraps/neofetch/pull/2356))
* 🖼 OS - Disable Hackintosh check on arm64 processors ([dylanaraps#2396](https://github.com/dylanaraps/neofetch/pull/2396))
* 🖼 OS - Add Windows NT ([#217](https://github.com/hykilpikonna/hyfetch/pull/217))
* 🖼 Terminal - Add support for alacritty's new config format ([#202](https://github.com/hykilpikonna/hyfetch/pull/202))
* 🖼 Terminal - Check for newer xfce4-term config ([#214](https://github.com/hykilpikonna/hyfetch/pull/214))
* 🖼 Package - Add support for npm global packages ([#215](https://github.com/hykilpikonna/hyfetch/pull/215))
### 1.4.10
* 🌈 Add support for qwqfetch backend ([#148](https://github.com/hykilpikonna/hyfetch/pull/148))
+73
View File
@@ -0,0 +1,73 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH VERSION "1" "December 2023" "Version is 1.4.11" "User Commands"
.SH NAME
Version \- manual page for Version is 1.4.11
.SH DESCRIPTION
usage: hyfetch [\-h] [\-c] [\-C CONFIG_FILE]
.IP
[\-p {rainbow,transgender,nonbinary,agender,queer,genderfluid,bisexual,pansexual,polysexual,omnisexual,omniromantic,gay\-men,lesbian,abrosexual,asexual,aromantic,aroace1,aroace2,aroace3,autosexual,intergender,greygender,akiosexual,bigender,demigender,demiboy,demigirl,transmasculine,transfeminine,genderfaun,demifaun,genderfae,demifae,neutrois,biromantic1,biromantic2,autoromantic,boyflux2,finsexual,unlabeled1,unlabeled2,pangender,gendernonconforming1,gendernonconforming2,femboy,tomboy,gynesexual,androsexual,gendervoid,voidgirl,voidboy,nonhuman\-unity,beiyang,burger}]
[\-m {8bit,rgb}]
[\-b {qwqfetch,neofetch,fastfetch,fastfetch\-old}] [\-\-args ARGS]
[\-\-c\-scale SCALE] [\-\-c\-set\-l LIGHT] [\-\-c\-overlay] [\-V] [\-\-june]
[\-\-debug] [\-\-distro DISTRO] [\-\-ascii\-file ASCII_FILE]
.PP
hyfetch \- neofetch with flags <3
.SS "options:"
.TP
\fB\-h\fR, \fB\-\-help\fR
show this help message and exit
.TP
\fB\-c\fR, \fB\-\-config\fR
Configure hyfetch
.TP
\fB\-C\fR CONFIG_FILE, \fB\-\-config\-file\fR CONFIG_FILE
Use another config file
.TP
\fB\-p\fR {rainbow,transgender,nonbinary,agender,queer,genderfluid,bisexual,pansexual,polysexual,omnisexual,omniromantic,gay\-men,lesbian,abrosexual,asexual,aromantic,aroace1,aroace2,aroace3,autosexual,intergender,greygender,akiosexual,bigender,demigender,demiboy,demigirl,transmasculine,transfeminine,genderfaun,demifaun,genderfae,demifae,neutrois,biromantic1,biromantic2,autoromantic,boyflux2,finsexual,unlabeled1,unlabeled2,pangender,gendernonconforming1,gendernonconforming2,femboy,tomboy,gynesexual,androsexual,gendervoid,voidgirl,voidboy,nonhuman\-unity,beiyang,burger}, \fB\-\-preset\fR {rainbow,transgender,nonbinary,agender,queer,genderfluid,bisexual,pansexual,polysexual,omnisexual,omniromantic,gay\-men,lesbian,abrosexual,asexual,aromantic,aroace1,aroace2,aroace3,autosexual,intergender,greygender,akiosexual,bigender,demigender,demiboy,demigirl,transmasculine,transfeminine,genderfaun,demifaun,genderfae,demifae,neutrois,biromantic1,biromantic2,autoromantic,boyflux2,finsexual,unlabeled1,unlabeled2,pangender,gendernonconforming1,gendernonconforming2,femboy,tomboy,gynesexual,androsexual,gendervoid,voidgirl,voidboy,nonhuman\-unity,beiyang,burger}
Use preset
.TP
\fB\-m\fR {8bit,rgb}, \fB\-\-mode\fR {8bit,rgb}
Color mode
.TP
\fB\-b\fR {qwqfetch,neofetch,fastfetch,fastfetch\-old}, \fB\-\-backend\fR {qwqfetch,neofetch,fastfetch,fastfetch\-old}
Choose a *fetch backend
.TP
\fB\-\-args\fR ARGS
Additional arguments pass\-through to backend
.TP
\fB\-\-c\-scale\fR SCALE
Lighten colors by a multiplier
.TP
\fB\-\-c\-set\-l\fR LIGHT
Set lightness value of the colors
.TP
\fB\-\-c\-overlay\fR
Use experimental overlay color adjusting instead of
HSL lightness
.TP
\fB\-V\fR, \fB\-\-version\fR
Check version
.TP
\fB\-\-june\fR
Show pride month easter egg
.TP
\fB\-\-debug\fR
Debug mode
.TP
\fB\-\-distro\fR DISTRO, \fB\-\-test\-distro\fR DISTRO
Test for a specific distro
.TP
\fB\-\-ascii\-file\fR ASCII_FILE
Use a specific file for the ascii art
.SH "SEE ALSO"
The full documentation for
.B Version
is maintained as a Texinfo manual. If the
.B info
and
.B Version
programs are properly installed at your site, the command
.IP
.B info Version
.PP
should give you access to the complete manual.
+53 -50
View File
@@ -1,7 +1,7 @@
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3.
.TH NEOFETCH "1" "August 2023" "Neofetch 7.3.10" "User Commands"
.TH NEOFETCH "1" "December 2023" "Neofetch 7.3.11" "User Commands"
.SH NAME
Neofetch \- manual page for Neofetch 7.3.10
Neofetch \- manual page for Neofetch 7.3.11
.SH SYNOPSIS
.B neofetch
\fI\,func_name --option "value" --option "value"\/\fR
@@ -313,61 +313,64 @@ Colors to print the ascii art
\fB\-\-ascii_distro\fR distro
Which Distro's ascii art to print
.TP
NOTE: AIX, AlmaLinux, Alpine, Alter, Amazon, AmogOS, Anarchy,
Android, Antergos, antiX, AOSC OS, AOSC OS/Retro, Aperio GNU/Linux,
Aperture, Apricity, Arch, ArchBox, Archcraft, archcraft_ascii,
archcraft_minimal, ARCHlabs, ArchMerge, ArchStrike, ArcoLinux,
ArseLinux, Artix, Arya, Asahi, Aster, AsteroidOS, astOS, Astra
Linux, Athena, Bedrock, BigLinux, Bitrig, BlackArch, blackPanther,
BLAG, BlankOn, BlueLight, Bodhi, bonsai, BSD, BunsenLabs, CachyOS,
Calculate, CalinixOS, Carbs, CBL\-Mariner, CelOS, Center, CentOS,
Chakra, ChaletOS, Chapeau, ChonkySealOS, Chrom, Cleanjaro, Clear
Linux OS, ClearOS, Clover, Cobalt, Condres, Container Linux by
CoreOS, CRUX, Crystal Linux, Cucumber, CutefishOS, CuteOS, CyberOS,
dahlia, DarkOs, Darwin, Debian, Deepin, DesaOS, Devuan, DietPi,
DracOS, DragonFly, Drauger, Droidian, Elementary, Elive, EncryptOS,
EndeavourOS, Endless, Enso, EuroLinux, EvolutionOS, Exherbo, Exodia
Predator OS, Fedora, FemboyOS, Feren, Finnix, Floflis, FreeBSD,
FreeMiNT, Frugalware, Funtoo, GalliumOS, Garuda, Gentoo, GhostBSD,
glaucus, gNewSense, GNOME, GNU, GoboLinux, GrapheneOS, Grombyang,
Guix, Haiku, HamoniKR, HarDClanZ, Hash, Huayra, Hybrid, HydroOS,
Hyperbola, iglunix, instantOS, IRIX, Itc, januslinux, Kaisen, Kali,
KaOS, KDE, Kibojoe, Kogaion, Korora, KrassOS, KSLinux, Kubuntu,
NOTE: Ad??lie, aerOS, Afterglow, AIX, AlmaLinux, Alpine, Alter,
Amazon, AmogOS, Anarchy, Android, Antergos, antiX, AOSC OS, Aperio
GNU/Linux, Aperture, Apricity, Arch, ArchBox, Archcraft,
archcraft_ascii, archcraft_minimal, ARCHlabs, ArchMerge, ArchStrike,
ArcoLinux, ArseLinux, Artix, Arya, Asahi, AsteroidOS, astOS, Astra
Linux, Athena, azos, Bedrock, BigLinux, Bitrig, BlackArch,
blackPanther, BLAG, BlankOn, BlueLight, Bodhi, bonsai, BSD,
BunsenLabs, CachyOS, Calculate, CalinixOS, Carbs, CBL\-Mariner,
CelOS, Center, CentOS, Chakra, ChaletOS, Chapeau, ChonkySealOS,
Chrom, Cleanjaro, Clear Linux OS, ClearOS, Clover, Cobalt, Condres,
Container Linux by CoreOS, CRUX, Crystal Linux, Cucumber,
CutefishOS, CuteOS, CyberOS, dahlia, DarkOs, Darwin, Debian, Deepin,
DesaOS, Devuan, DietPi, digital UNIX, DracOS, DragonFly, Drauger,
Droidian, Elementary, Elive, EncryptOS, EndeavourOS, Endless, Enso,
EuroLinux, EvolutionOS, Exherbo, Exodia Predator OS, Fedora,
FemboyOS, Feren, Finnix, Floflis, FreeBSD, FreeMiNT, Frugalware,
Funtoo, GalliumOS, Garuda, Gentoo, GhostBSD, glaucus, gNewSense,
GNOME, GNU, GoboLinux, GrapheneOS, Grombyang, Guix, Haiku, HamoniKR,
HarDClanZ, Hash, Huayra, Hybrid, HydroOS, Hyperbola, iglunix,
instantOS, Interix, IRIX, Itc, januslinux, Kaisen, Kali, KaOS, KDE,
Kibojoe, Kogaion, Korora, KrassOS, KSLinux, Kubuntu, LainOS,
LangitKetujuh, LaxerOS, LEDE, LibreELEC, Linspire, Linux, Linux
Lite, Linux Mint, Linux Mint Old, Live Raizo, LMDE, Lubuntu, Lunar,
mac, Mageia, MagpieOS, Mandriva, Manjaro, MassOS, MatuusOS, Maui,
Meowix, Mer, Minix, MIRACLE LINUX, MX, Namib, NekOS, Neptune,
NetBSD, Netrunner, Nitrux, NixOS, Nobara, NomadBSD, Nurunner, NuTyX,
Obarun, OBRevenge, OmniOS, Open Source Media Center, OpenBSD,
openEuler, OpenIndiana, openKylin, openmamba, OpenMandriva,
OpenStage, openSUSE, openSUSE Leap, openSUSE Tumbleweed, OPNsense,
Oracle, orchid, OS Elbrus, PacBSD, Panwah, Parabola, parch, Pardus,
Parrot, Parsix, PCBSD, PCLinuxOS, pearOS, Pengwin, Pentoo,
Peppermint, phyOS, PikaOS, Pisi, PNM Linux, Pop!_OS, Porteus,
PostMarketOS, Profelis SambaBOX, Proxmox, PuffOS, Puppy, PureOS,
Q4OS, Qubes, Qubyt, Quibian, Radix, Raspbian, ravynOS, Reborn OS,
Red Star, Redcore, Redhat, Refracted Devuan, Regata, Regolith,
RhaymOS, rocky, Rosa, Sabayon, sabotage, Sailfish, SalentOS, Salient
OS, Salix, Sasanqua, Scientific, semc, Septor, Serene, SharkLinux,
ShastraOS, Siduction, SkiffOS, Slackel, Slackware, SliTaz, SmartOS,
Soda, Solus, Source Mage, Sparky, Star, SteamOS, Stock Linux, Sulin,
SunOS, SwagArch, t2, Tails, TeArch, TorizonCore, Trisquel, Twister,
Ubuntu, Ubuntu Budgie, Ubuntu Cinnamon, Ubuntu Kylin, Ubuntu MATE,
Ubuntu Studio, Ubuntu Sway, Ubuntu Touch, Ubuntu\-GNOME,
ubuntu_old02, Ultramarine Linux, unicodearch, Univalent, Univention,
Uos, UrukOS, uwuntu, Vanilla, Venom, VNux, Void, VzLinux, wii\-linuxngx, Windows, Windows 10, Windows 11, Windows95, Wrt, XFerience,
mac, Mageia, MagpieOS, MainsailOS, Mandriva, Manjaro, MassOS,
MatuusOS, Maui, Meowix, Mer, Minix, MIRACLE LINUX, MX, Namib, NekOS,
Neptune, NetBSD, Netrunner, Nitrux, NixOS, Nobara, NomadBSD,
Nurunner, NuTyX, Obarun, OBRevenge, OmniOS, Open Source Media
Center, OpenBSD, openEuler, OpenIndiana, openKylin, openmamba,
OpenMandriva, OpenStage, openSUSE, openSUSE Leap, openSUSE
Tumbleweed, OPNsense, Oracle, orchid, OS Elbrus, PacBSD, Panwah,
Parabola, parch, Pardus, Parrot, Parsix, PCBSD, PCLinuxOS, pearOS,
Pengwin, Pentoo, Peppermint, Peropesis, phyOS, PikaOS, Pisi, PNM
Linux, Pop!_OS, Porteus, PostMarketOS, Profelis SambaBOX, Proxmox,
PuffOS, Puppy, PureOS, Q4OS, Qubes, Qubyt, Quibian, Radix, Raspbian,
ravynOS, Reborn OS, Red Star, Redcore, Redhat, Refracted Devuan,
Regata, Regolith, RhaymOS, rocky, Rosa, Sabayon, sabotage, Sailfish,
SalentOS, Salient OS, Salix, Sasanqua, Scientific, semc, Septor,
Serene, SharkLinux, ShastraOS, Siduction, SkiffOS, Slackel,
Slackware, SliTaz, SmartOS, Soda, Solus, Source Mage, Sparky, Star,
SteamOS, Stock Linux, Sulin, SunOS, SwagArch, t2, Tails, TeArch,
TorizonCore, Trisquel, Twister, Ubuntu, Ubuntu Budgie, Ubuntu
Cinnamon, Ubuntu Kylin, Ubuntu MATE, Ubuntu Studio, Ubuntu Sway,
Ubuntu Touch, Ubuntu\-GNOME, ubuntu_old02, Ultramarine Linux,
unicodearch, Univalent, Univention, Uos, UrukOS, uwuntu, Vanilla,
Venom, VNux, Void, VzLinux, wii\-linux\-ngx, Windows, Windows 10,
Windows 11, Windows95, Wrt, Xenia, Xenia2, XFerience, Xray_OS,
Xubuntu, yiffOS, Zorin have ascii logos.
.TP
NOTE: arch, dragonfly, Fedora, LangitKetujuh, nixos, redhat, Ubuntu
have 'old' logo variants, use {distro}_old to use them.
.TP
NOTE: alpine, android, aoscosretro, arch, arcolinux, artix,
CalinixOS, centos, cleanjaro, crux, debian, dragonfly, elementary,
fedora, freebsd, garuda, gentoo, guix, haiku, hyperbola, kali,
linuxlite, linuxmint, mac, mageia, manjaro, mx, netbsd, nixos,
openbsd, opensuse, orchid, parabola, popos, postmarketos, pureos,
Raspbian, rocky, slackware, sunos, ubuntu, venom, void have 'small'
logo variants, use {distro}_small to use them.
NOTE: alpine, android, arch, arcolinux, artix, CalinixOS, centos,
cleanjaro, crux, debian, dragonfly, elementary, endeavouros, fedora,
freebsd, garuda, gentoo, guix, haiku, hyperbola, kali, Linux,
linuxlite, linuxmint, mac, mageia, MainsailOS, manjaro, mx, netbsd,
nixos, openbsd, opensuse, orchid, parabola, popos, postmarketos,
pureos, Raspbian, rocky, slackware, sunos, ubuntu, venom, void have
\&'small' logo variants, use {distro}_small to use them.
.TP
\fB\-\-ascii_bold\fR on/off
Whether or not to bold the ascii logo.
+1 -1
View File
@@ -1 +1 @@
VERSION = '1.4.10'
VERSION = '1.4.11'
+23
View File
@@ -0,0 +1,23 @@
# This file is automatically generated. Please do not modify.
from . import AsciiArt
adélie = AsciiArt(match=r'''"Adélie"* | "Adelie"*''', color='4 7 6', ascii=r"""
${c1} ${c3} ,-^-___
${c3} /\\\///
${c2}refined.${c1} /\\\\//
${c2}reliable.${c1} /\\\///
${c2}ready.${c1} /\\/////\
__///\\\\/////\
${c3} _//////\\\\\\\////
${c1} ///////${c3}\\\\\\\\\\//
//////${c1}\\\\\/
/////\\\\\/
/////${c3}\\\\/
/\\///\\\/
/\\\/${c1}\\/
/\\\\//
//////
/// ${c3}\\\\\
""")
+29
View File
@@ -0,0 +1,29 @@
# This file is automatically generated. Please do not modify.
from . import AsciiArt
aeros = AsciiArt(match=r'''"aerOS"*''', color='fg 0 0 0', ascii=r"""
${c1}
ooo OOO OOO ooo
oOO OOo
oOO OOo
oOO OOo
oOO OOo
oOO OOo
oOO OOo
OOo
OOo
OOo
OOo
OOo
OOo
oOO OOo
oOO OOo
oOO OOo
oOO OOo
oO OOo
oOO OOo
oOO OOo
ooo OOO OOO ooo
""")
+22
View File
@@ -0,0 +1,22 @@
# This file is automatically generated. Please do not modify.
from . import AsciiArt
afterglow = AsciiArt(match=r'''"Afterglow"*''', color='5 1 3 4', ascii=r"""
${c2} .
${c1}. ${c2}.{!
${c1}.L! ${c2}J@||*
${c1}gJJJJL` ${c2}g@FFS"
${c1},@FFFJF`${c2}_g@@LLP`
${c1}_@FFFFF`${c2}_@@@@@P` ${c4}.
${c1}J@@@LLF ${c2}_@@@@@P` ${c4}.J!
${c1}g@@@@@" ${c2}_@@@@@P`${c3}. ${c4}.L|||*
${c1}g@@@@M" ${c2}"VP`${c3}.L! ${c4}<@JJJJ`
${c1}"@N" ${c3}:||||! ${c4}JFFFFS"
${c3}.{JJ||F`${c4}_gFFFF@'
${c3}.@FJJJF`${c4},@LFFFF`
${c3}_@FFFFF ${c4}VLLLP`
${c3}J@@LL@" ${c4}`"
${c3}V@@"
""")
+18 -21
View File
@@ -2,26 +2,23 @@
from . import AsciiArt
aosc_os = AsciiArt(match=r'''"AOSC OS"*''', color='4 7 1', ascii=r"""
${c2} .:+syhhhhys+:.
.ohNMMMMMMMMMMMMMMNho.
`+mMMMMMMMMMMmdmNMMMMMMMMm+`
+NMMMMMMMMMMMM/ `./smMMMMMN+
.mMMMMMMMMMMMMMMo -yMMMMMm.
:NMMMMMMMMMMMMMMMs .hMMMMN:
.NMMMMhmMMMMMMMMMMm+/- oMMMMN.
dMMMMs ./ymMMMMMMMMMMNy. sMMMMd
-MMMMN` oMMMMMMMMMMMN: `NMMMM-
/MMMMh NMMMMMMMMMMMMm hMMMM/
/MMMMh NMMMMMMMMMMMMm hMMMM/
-MMMMN` :MMMMMMMMMMMMy. `NMMMM-
dMMMMs .yNMMMMMMMMMMMNy/. sMMMMd
.NMMMMo -/+sMMMMMMMMMMMmMMMMN.
:NMMMMh. .MMMMMMMMMMMMMMMN:
.mMMMMMy- NMMMMMMMMMMMMMm.
+NMMMMMms/.` mMMMMMMMMMMMN+
`+mMMMMMMMMNmddMMMMMMMMMMm+`
.ohNMMMMMMMMMMMMMMNho.
.:+syhhhhys+:.
aosc_os = AsciiArt(match=r'''"AOSC OS"*''', color='4 0 1 3', ascii=r"""
${c2} __
${c2}gpBBBBBBBBBP
${c2}_gBBBBBBBBBRP
${c2}4BBBBBBBBRP ${c4},_____
${c2}`"" ${c4}_g@@@@@@@@@@@@@%g>
${c4}__@@@@@@@@@@@@@@@@P" ${c1}___
${c4}_g@@@@@@@@@@@@@@@N"` ${c1}_gN@@@@@N^
${c4}_w@@@@@@@@@@@@@@@@P" ${c1}_g@@@@@@@P"
${c4}_g@@@@@@@@@@@@@@@N"` ${c1}VMNN@NNNM^`
${c4}^MMM@@@@@@@@@@@MP" ${c3},ggppww__
${c4}`"\"\"\"" ${c3}_wNNNNNNNNNNNNNNNNNNN
${c3}_gBNNNNNNNNNNNNNNNNNP"
${c3}_wNNNNNNNNNNNNNNNNNNMP`
${c3}_gBNNNNNNNNNNNNNNNNNP"
${c3}_wNNNNNNNNNNNNNNNNNNNM^
${c3}""Y^^MNNNNNNNNNNNNP`
${c3}`"\"\""\"\""
""")
+24
View File
@@ -0,0 +1,24 @@
# This file is automatically generated. Please do not modify.
from . import AsciiArt
azos = AsciiArt(match=r'''"azos"*''', color='6 1', ascii=r"""
${c1} ////. ${c2} (((((
${c1} //////// ${c2} @((((((((
${c1} //////// ${c2} @((((((((
${c1} //////// /////// ${c2} ((((((( @((((((((
${c1} //////// ///////// ${c2} ((((((((( @((((((((
${c1} //////// ///////// ${c2} ((((((((( @((((((((
${c1} //////// ///////// ////// ${c2} (((((( ((((((((( @((((((((
${c1} //////// ///////// //////// ${c2} (((((((( ((((((((( @((((((((
${c1} //////// ///////// //////// ${c2} (((((((( ((((((((( @((((((((
${c1} //////// ///////// //////// ${c2} ((((((( ((((((((( @((((((((
${c1} //////// ///////// /// ${c2} ( ((((((((( @((((((((
${c1} //////// ///////// ${c2} ((((((((( @((((((((
${c1} //////// ///////// ${c2} &(((((((( @((((((((
${c1} //////// ////// ${c2} @(((( @((((((((
${c1} //////// ${c2} @((((((((
${c1} //////// ${c2} @((((((((
${c1} ///// ${c2} (((((
""")
+16
View File
@@ -0,0 +1,16 @@
# This file is automatically generated. Please do not modify.
from . import AsciiArt
digital_unix = AsciiArt(match=r'''"digital UNIX"*''', color='1 6 7', ascii=r"""
${c1} +-+-+-+-+-+-+-+
|${c3}d${c1}|${c3}i${c1}|${c3}g${c1}|${c3}i${c1}|${c3}t${c1}|${c3}a${c1}|${c3}l${c1}|
+-+-+-+-+-+-+-+
${c2} _ _ _ _ _______ __
| | | | \ | |_ _\ \ / /
| | | | \| | | | \ V /
| | | | . ` | | | > <
| |__| | |\ |_| |_ / . \
\____/|_| \_|_____/_/ \_\
""")
+59 -11
View File
@@ -8,6 +8,10 @@ def detect(name: str) -> AsciiArt | None:
if not name:
return None
name = name.lower()
if name.startswith('adélie') or name.startswith('adelie'):
from .adélie import adélie
return adélie
if name.startswith('aix'):
from .aix import aix
return aix
@@ -88,13 +92,9 @@ def detect(name: str) -> AsciiArt | None:
from .antix import antix
return antix
if name.startswith('aosc os/retro'):
from .aosc_os_retro import aosc_os_retro
return aosc_os_retro
if name == 'aoscosretro_small':
from .aoscosretro_small import aoscosretro_small
return aoscosretro_small
if name.startswith('afterglow'):
from .afterglow import afterglow
return afterglow
if name.startswith('aosc os'):
from .aosc_os import aosc_os
@@ -160,6 +160,10 @@ def detect(name: str) -> AsciiArt | None:
from .archmerge import archmerge
return archmerge
if name.startswith('aeros'):
from .aeros import aeros
return aeros
if name.startswith('arch'):
from .arch import arch
return arch
@@ -188,14 +192,14 @@ def detect(name: str) -> AsciiArt | None:
from .asteroidos import asteroidos
return asteroidos
if name.startswith('aster'):
from .aster import aster
return aster
if name.startswith('athena'):
from .athena import athena
return athena
if name.startswith('azos'):
from .azos import azos
return azos
if name.startswith('bedrock'):
from .bedrock import bedrock
return bedrock
@@ -376,6 +380,10 @@ def detect(name: str) -> AsciiArt | None:
from .debian import debian
return debian
if name.startswith('digital unix'):
from .digital_unix import digital_unix
return digital_unix
if name.startswith('droidian'):
from .droidian import droidian
return droidian
@@ -440,6 +448,10 @@ def detect(name: str) -> AsciiArt | None:
from .elive import elive
return elive
if name.startswith('endeavouros_small'):
from .endeavouros_small import endeavouros_small
return endeavouros_small
if name.startswith('endeavouros'):
from .endeavouros import endeavouros
return endeavouros
@@ -608,6 +620,10 @@ def detect(name: str) -> AsciiArt | None:
from .iglunix import iglunix
return iglunix
if name.startswith('interix'):
from .interix import interix
return interix
if name.startswith('januslinux') or name.startswith('janus') or name.startswith('ataraxia linux') or name.startswith('ataraxia'):
from .januslinux import januslinux
return januslinux
@@ -652,6 +668,10 @@ def detect(name: str) -> AsciiArt | None:
from .kubuntu import kubuntu
return kubuntu
if name.startswith('lainos'):
from .lainos import lainos
return lainos
if name.startswith('lede'):
from .lede import lede
return lede
@@ -676,6 +696,10 @@ def detect(name: str) -> AsciiArt | None:
from .linux import linux
return linux
if name == 'linux_small':
from .linux_small import linux_small
return linux_small
if name.startswith('linuxlite_small'):
from .linuxlite_small import linuxlite_small
return linuxlite_small
@@ -716,6 +740,14 @@ def detect(name: str) -> AsciiArt | None:
from .magpieos import magpieos
return magpieos
if name.startswith('mainsailos_small'):
from .mainsailos_small import mainsailos_small
return mainsailos_small
if name.startswith('mainsailos'):
from .mainsailos import mainsailos
return mainsailos
if name.startswith('mandriva') or name.startswith('mandrake'):
from .mandriva import mandriva
return mandriva
@@ -1012,6 +1044,10 @@ def detect(name: str) -> AsciiArt | None:
from .pureos import pureos
return pureos
if name.startswith('peropesis'):
from .peropesis import peropesis
return peropesis
if name.startswith('q4os'):
from .q4os import q4os
return q4os
@@ -1384,6 +1420,10 @@ def detect(name: str) -> AsciiArt | None:
from .windows import windows
return windows
if name.startswith('xray_os'):
from .xray_os import xray_os
return xray_os
if name.startswith('xubuntu'):
from .xubuntu import xubuntu
return xubuntu
@@ -1400,6 +1440,14 @@ def detect(name: str) -> AsciiArt | None:
from .irix import irix
return irix
if name.startswith('xenia2'):
from .xenia2 import xenia2
return xenia2
if name.startswith('xenia'):
from .xenia import xenia
return xenia
if name.startswith('zorin'):
from .zorin import zorin
return zorin
+14
View File
@@ -0,0 +1,14 @@
# This file is automatically generated. Please do not modify.
from . import AsciiArt
endeavouros_small = AsciiArt(match=r'''"endeavouros_small"*''', color='1 5 4', ascii=r"""
${c1} /${c2}o${c3}.
${c1} :${c2}sssso${c3}-
${c1} :${c2}ossssssso${c3}:
${c1} /${c2}ssssssssssso${c3}+
${c1} -+${c2}ssssssssssssssso${c3}+
${c1} //${c2}osssssssssssssso${c3}+-
`+++++++++++++++-`
""")
+24
View File
@@ -0,0 +1,24 @@
# This file is automatically generated. Please do not modify.
from . import AsciiArt
interix = AsciiArt(match=r'''"Interix"*''', color='1 7 4 0 3', ascii=r"""
${c1} .${c3}.
${c1} 75${c3}G!
${c1} ^?PG${c3}&&J.
${c1} :!5GPP${c3}&&&B!
${c1} :YPPPPP${c3}&&&&&Y:
${c1} !5PPPPPP${c3}&&&&&&B!
${c1} :?PPPPPPPP${c3}&&&&&&&&Y~
${c1} !5PPPPPPPPP${c3}###&&&&&&B7
${c1} :?PPPP5555555${c3}B####&&&&&&5:
${c1} ~5PPPP555YJ${c5}7!~7?${c3}5B###&&&&&B?.
${c1} .:JPPPP5555Y${c5}?^....:^?${c3}G####&&&&&5:
${c1} 75PPP555555Y${c5}7:....:^!${c3}5#####&&&&&B7.
${c1} :JPPPP${c2}555555YY?${c5}~::::^~${c2}7YPGBB###${c3}&&&&&5^
${c1}75${c2}GGPPPPPP555555YJ?77??YYYYYY55PPGGB#${c3}&B?
${c2}~!!7JY5PGGBBBBBBBBGGGGGGGBGGGGGP5YJ?7~~~
.::^~7?JYPGBB#BGPYJ?7!7^:.
..:^...
""")
+27
View File
@@ -0,0 +1,27 @@
# This file is automatically generated. Please do not modify.
from . import AsciiArt
lainos = AsciiArt(match=r'''"LainOS"*''', color='4 14 7 2 3 5', ascii=r"""
${c2} /==\
\==/
${c1} · · · · · · ·
· · · · · · · · · ·
· · · ${c2}.-======-.${c1}· · · ·
${c2} .::.${c1} ·${c2}.-============-.${c1}· ${c2}.::.
.:==:${c1}· ${c2}.:===:'${c1}. ·· .${c2}':===:.${c1} ·${c2}:==:.
.:===:${c1} · ${c2}:===.${c1} · ${c3}.--.${c1} · ${c2}.===:${c1} · ${c2}:===:.
:===:${c1}· · ${c2}:===.${c1} · ${c3}.:====:.${c1} · ${c2}.===:${c1} · ·${c2}:===:
(===:${c1}· · ${c2}:===-${c1} · ${c3}:======:${c1} · ${c2}-===:${c1} · ·${c2}:===)
:===:${c1}· · ${c2}:===.${c1} · ${c3}':====:'${c1} · ${c2}.===:${c1} · ·${c2}:===:
':===:${c1} · ${c2}:===.${c1} · ${c3}'--'${c1} · ${c2}.===:${c1} · ${c2}:===:'
':==:${c1}· ${c2}':===:.${c1}' ·· '${c2}.:===:'${c1} ·${c2}:==:'
'::'${c1} · ${c2}'===-. .-==='${c1} · ${c2}'::'
${c2}/==\${c1} · · · ${c2}:=== ===:${c1} · · · ${c2}/==\
\==/${c1} · · ·${c2}:===${c1} ·${c2}===:${c1}· · · ${c2}\==/${c2}
.-. ${c1}· ${c2}:===${c1}· ${c2}===:${c1} ·${c2} ${c2}.-.
.===. .=== ===. .===.
.======== ========.
''''' '''''
""")
+14
View File
@@ -0,0 +1,14 @@
# This file is automatically generated. Please do not modify.
from . import AsciiArt
linux_small = AsciiArt(match=r'''"Linux_small"''', color='fg 8 3', ascii=r"""
${c2} ___
${c2} (${c1}.. ${c2}|
${c2} (${c3}<> ${c2}|
${c2} / ${c1}__ ${c2}\
${c2} ( ${c1}/ \ ${c2}/|
${c3}_${c2}/\ ${c1}__)${c2}/${c3}_${c2})
${c3}\/${c2}-____${c3}\/
""")
+25
View File
@@ -0,0 +1,25 @@
# This file is automatically generated. Please do not modify.
from . import AsciiArt
mainsailos = AsciiArt(match=r'''"MainsailOS"*''', color='1', ascii=r"""
${c1} -
*%:
:%%%#
=%%%%%-
*%%%%%%#
:#%%%%%%%#.
-%%%%%%%%+
*%%%%%%%%- :
.#%%%%%%%#. *%=
-%%%%%%%%+ :#%%%*
+%%%%%%%%- =%%%%%%#.
.#%%%%%%%#. *%%%%%%%%:
-%%%%%%%%* :#%%%%%%%#.
+%%%%%%%%- =%%%%%%%%+ :%*.
.#%%%%%%%#: *%%%%%%%%- +%%%%*:
:%%%%%%%%* :#%%%%%%%#. .*%%%%%%%*
+%%%%%%%%= -%%%%%%%%+ :%%%%%%%%*
.#%%%%%%%%: *%%%%%%%%- =%%%%%%%%=
""")
+14
View File
@@ -0,0 +1,14 @@
# This file is automatically generated. Please do not modify.
from . import AsciiArt
mainsailos_small = AsciiArt(match=r'''"MainsailOS_small"*''', color='1', ascii=r"""
${c1} -:
+%*
.#%%+
-%%%: +=
+%%#..#%%-
.#%%+ -%%%- +=
-%%%- +%%#..#%%+
""")
+26 -21
View File
@@ -2,26 +2,31 @@
from . import AsciiArt
parch = AsciiArt(match=r'''"parch"* | "Parch"* | "PARCH"*''', color='4 6', ascii=r"""
${c1}
+s;;:o-
s/sssso+/-'+\
+/ssssss/`
/ssssssss/
\ 'sssssss:
`o+;ssssssso\
/sssssssssssss\+
;ssssssssssssssss:
:sssssssssssssssssso;
/ssssssssssssssssssssss
`+ssssssssssssssssssssso\
so+'+ssssssssssssssss+'`
'` +osssssoooooosssss++oo\
/sssssssooooooosssssssso
`osssssssssoooossssssssso:
\sssssssssssssssssssss;
`+osssssssssssssss:/'
`\osssssssssso;+'
`\+;so:+-`
parch = AsciiArt(match=r'''"parch"* | "Parch"* | "PARCH"*''', color='4 7 1', ascii=r"""
${c1} ,:lodddd.
.:clooood.
;clllooooc
;cclllllloo
.cccccllllll
. ,cccclllll
':::;; ccccclll;
.:::cccccccccccll;
;::::ccccllllllcll:
.;::::cccclllloool::;
;;;::::cccclllolc::::;.
;;;::::cccclllccc:::::;.
;;;::::cccclccccc::::::;.
;;;;::::::llcccccc:::::'
;;;;:; ,clllccccccc::
.;; .cllllllcccccc::;::::'
.'''''''''',:lddoooolll
'.....'''',cdddooooollll
........':oddddoooolllllc
....';ldddddooooolllllc:
,cdddddddooooollllccc
:ddddddoooolllllccc
;ddooooolllllcc.
:ooollllc.
c'
""")
+12
View File
@@ -0,0 +1,12 @@
# This file is automatically generated. Please do not modify.
from . import AsciiArt
peropesis = AsciiArt(match=r'''"Peropesis"*''', color='4 7 1', ascii=r"""
${c1}#### #### #### ### #### #### #### # ####
# # # # # # # # # # # # #
#### ### #### # # #### ### # # #
# # # # # # # # # # #
# #### # # ### # #### #### # ####
""")
+1 -2
View File
@@ -3,8 +3,7 @@
from . import AsciiArt
phyos = AsciiArt(match=r'''"phyOS"*''', color='33 33 7 1', ascii=r"""
${c1} '
.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^.^^^^^.
${c1}.^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^.^^^^^.
:777777777777777777777777777777^~7777:
.~~~~~~~~~~~~~~~~~~~~~^~7777!:!777!.
~7!!!!!!!!!!!!!!!!!^:!777~^!777~
+34
View File
@@ -0,0 +1,34 @@
# This file is automatically generated. Please do not modify.
from . import AsciiArt
xenia = AsciiArt(match=r'''"Xenia"*''', color='#55CDFD' '#F6AAB7' '#FFFFFF', ascii=r"""
${c3} !${c3}`${c3} @
${c3} @${c3}```${c3}b @@@@@
${c3} @${c3}`````${c3}@ @/${c3}@@@@
${c3} @@${c3}``'))))))))))C@@
${c3} @@@){)))))())))))))
${c3} @r))))@${c1}oooo${c3})))))h)))[
${c3} rr)))j${c1}oooooo${c3}(x${c1}ooooo${c3}$@)
${c3} rrrxr))r/l;${c1},,,${c3}z@{${c1},,,,,${c3}@@
${c3} rr ) ${c2}v${c3} @;@rx
${c3} rrr) ${c2}\__^__/${c3} ji
${c3} rj]. . r
${c3}[[${c2}]]${c1}11111111111111111]
${c2}]${c3}[[[${c2}]]][${c1}11111111111111111<
${c2}]${c3}[[[[[${c2}]]]]]]]]]]]]]]${c1}-111111[
${c2}]-${c3}[[[[[[;${c2}]]]]]]]]]]]]]]]]${c1} 1
${c2}]]${c3}[[[[[[[[[[[${c2}]]]]]]]]]]]]]
${c1}1${c2}]][${c3}[[[[[[[[[[[[[${c2}<]]]]]]]]]
${c1}11${c2}]]]${c3}[[[[[[[[[[[[[[[${c2}]]]]]]]
${c1}111${c2}]]]]'${c3}[[[[[[[[[[[[[[${c2}]]]]
${c1}111-${c2}]]]]]${c3}[[[[[[[[[[[[[${c2}]]
${c1}11111${c2}]]]]]_${c3}[[[[[[[[[[${c2}]
${c1}11111${c2}]]]i${c3}[[[[[[[[
${c1}1111${c2}]]+${c3}[[[[[[^
${c1}11 ${c2}]]${c3}[[[[[[
${c1}11 +${c2}]${c3}[[[[
${c1}1 ${c2}]${c3}[[
`
""")
+28
View File
@@ -0,0 +1,28 @@
# This file is automatically generated. Please do not modify.
from . import AsciiArt
xenia2 = AsciiArt(match=r'''"Xenia2"*''', color='#55CDFD' '#F6AAB7' '#FFFFFF', ascii=r"""
${c2} ,c. .c;
${c2} .${c1}KMMMk${c2}.... ....${c1}kMMMK${c2}.
${c2} .${c1}WMMMMMX${c2}..... .....${c1}KMMMMMW.
${c1} XMMMMMMM0${c2}..... ....${c1}OMMMMMMMN
${c1} dMMMMMMMMM;${c2}.... ..... ....,${c1}MMMMMMMMMd
${c1} WMMMMMMMMMl;${c3}okKKKKKKKKKOo${c1};cMMMMMMMMMM
${c1} 'MMMMMMMNX${c2}K0${c3}KKKKKKKKKKKKKKK${c2}0K${c1}XNMMMMMMM;
${c1} oMMMMMMM${c2}Oxo${c3}KKKKKKKKKKKKKKKKK${c2}oxO${c1}MMMMMMMd
${c1} dMMMMMMM${c2}dxxx${c3}KKKKKKKKKKKKKKK${c2}xxxd${c1}NMMMMMMk
${c1} :MMMMX0${c2}xxxxxx${c3}0KKKKKKKK0KK0${c2}xxxxxx0${c1}XMMMMc
${c1} MMMO${c2}xxxxxxxxdx${c3}kdd${c2}0x0${c3}ddk${c2}xdxxxxxxxx${c1}OMMM
${c1} ;${c2}xxkxddxxxxdodxxxxdxdxxxxdodxxxxddxkxx${c1};
${c1}dxd${c2}KMMMWXo${c1}'.....'${c2}cdxxxdc${c1}'.....'${c2}lXWMMMX${c1}dxd
${c1}cxd${c2}XMMMN${c1},..........${c2}dxd${c1}'.........'${c2}XMMMN${c1}dxl
${c1} .xx${c2}WMMl${c1}...''....'.;k:.'....''...${c2}lMMW${c1}xx.
${c1}..:kXMMx..'....''..kMk..''....'..xMMXkc..
${c1} dMMMMMMd.....'...xMMMx...''....dMMMMMMx
${c1} kMMMMWOoc:coOkolllokOoc:coOWMMMMO
${c1} .MMMMMMMMl${c2}...${c1}lNMMMMMMM.
${c1} KMMMMMMX${c2}l${c1}KMMMMMMX
${c1} .MMMMMMMMM.
""")
+28
View File
@@ -0,0 +1,28 @@
# This file is automatically generated. Please do not modify.
from . import AsciiArt
xray_os = AsciiArt(match=r'''"Xray_OS"*''', color='15 14 16 24', ascii=r"""
${c1} ${c1}rrrrrraaaaaaaaaaaayyyy
${c1}xxrrrrrrrraaaaaaaaaaaayyyyyyyyy
${c1}xxxxxrrrrrrrraaaaaaaaaaaayyyyyyy${c3}yyyyy${c2}yyyyyyyyyy
${c1}xxxxxxxrrrrrrrraaaaa ${c2}aaaaayyyyyyyyyyyyyyyyyyy
${c1}xxxxxx${c3}xxx${c1}rrrrrrrraaaa ${c2}aaaaaaayyyyyyyyyyyyyyyyy
${c1}xxxxxx${c3}xxxxxr${c1}rrrrrrraa ${c2}aaaaaaaaay${c3}yyyyyyyyy${c2}yyyy ${c1}yy
${c1}xxxxxxx${c3}xxx${c1}xxrrrrrrrra ${c2}aaaaaaaaa${c3}ayyyyyyyyyyyy${c1}yyyyyy
${c1}xxxxxxxxxxxxrrrrrrrr ${c2}aaaaaaaaaaa${c3}yyyyyyyyyyyy${c1}yyyyyyy
${c1}xxxxxxxxxxxxxrrrrrr ${c2}raaaaaaaaaaaayyy${c3}yyyyyyyy${c1}yyyyyy${c1}yyy
${c1}xxxxxxxxxxxxxrrrrr ${c2}rraaaaaaaaaaaayyyyy${c3}yy${c2}yyyyyy ${c1}yyyyyy
${c1}xxxxxxxx${c3}xxxx${c1}xrrrrr${c2}rr${c3}raaaaaaa${c2}aaaaayyyyyyyyyy ${c1}yyyyyyyyy
${c1}xxxxxxx${c3}xxxx${c1}xxrrrrrrr${c3}raaaaaa${c2}aaaaaayyyyyyy ${c1}yyyyyyyyyyyy
${c1}xxxxxxx${c3}xxx${c1}xxxrrrrrrrr${c3}aaaaaa${c2}aaaaaayyyy ${c1}yyyyyyyyyyyyyy
${c1}xxxxxxxxxxxxrrrrrrrra ${c2}aaaaaaaaaay ${c1}yyyyyyyyyyyyyyyy
${c1}xxxxxxxxxxxrrrrrrr ${c2}aaaaaaaaaaaayyyy${c1}yyyyyyyyyyyyy
${c1}xxxxxxx${c3}xxxrr${c1}rrrr ${c2}raaaaaaaaaaaa ${c1}yyyyyyyyyyyyyyy
${c1}xxxxxxxxrrrr ${c2}rrraaaaaaaaa ${c1}aayyyyyyyyyyyyyy
${c1}xxxxxxrrrrrrr ${c2}aaaaaa ${c1}aaaayyyyyyyyyyyy
${c1}xxxrrrrrr ${c2}raaa ${c1}aaaaaaayyyyyyyyy
${c1}rrrr ${c2}rr ${c1}aaaaaaaaaayyyyyy
${c2}r ${c1}aaaaaaaaaa
""")
+4 -2
View File
@@ -27,7 +27,7 @@ def check_config(path) -> Config:
"""
if path.is_file():
try:
return Config.from_dict(json.loads(CONFIG_PATH.read_text('utf-8')))
return Config.from_dict(json.loads(path.read_text('utf-8')))
except KeyError:
return create_config()
@@ -401,6 +401,8 @@ def run():
config.mode = args.mode
if args.backend:
config.backend = args.backend
if args.args:
config.args = args.args
# Override global color mode
GLOBAL_CFG.color_mode = config.mode
@@ -421,7 +423,7 @@ def run():
try:
asc = get_distro_ascii() if not args.ascii_file else Path(args.ascii_file).read_text("utf-8")
asc = config.color_align.recolor_ascii(asc, preset)
neofetch_util.run(asc, config.backend, args.args or '')
neofetch_util.run(asc, config.backend, config.args or '')
except Exception as e:
print(f'Error: {e}')
traceback.print_exc()
+1
View File
@@ -16,6 +16,7 @@ class Config:
lightness: float | None = None
color_align: ColorAlignment = field(default_factory=lambda: ColorAlignment('horizontal'))
backend: BackendLiteral = "neofetch"
args: str | None = None
distro: str | None = None
pride_month_shown: list[int] = field(default_factory=list) # This is deprecated, see issue #136
pride_month_disable: bool = False
+614 -220
View File
File diff suppressed because it is too large Load Diff
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "neowofetch",
"version": "1.4.10",
"version": "1.4.11",
"description": "Updated neofetch",
"repository": {
"type": "git",
+6 -5
View File
@@ -1,12 +1,13 @@
#!/usr/bin/env python3
import pathlib
from pathlib import Path
from setuptools import setup, find_namespace_packages
from hyfetch.__version__ import VERSION
# The directory containing this file
HERE = pathlib.Path(__file__).parent
HERE = Path(__file__).parent
# Load version without importing it (see issue #192 if you are confused)
for l in (HERE / 'hyfetch' / '__version__.py').read_text().strip().splitlines():
exec(l)
# The text of the README file
README = (HERE / "README.md").read_text('utf-8')
+4 -4
View File
@@ -64,7 +64,7 @@ def edit_versions(version: str):
# 4. neofetch script
print('Editing neofetch...')
path = Path('neofetch')
lines = path.read_text().replace("\t", " ").split('\n')
lines = path.read_text().replace("\t", " ").split('\n')
version_i = next(i for i, l in enumerate(lines) if l.startswith('version='))
nf = pv.parse(lines[version_i].replace('version=', ''))
new = pv.parse(version)
@@ -92,7 +92,8 @@ def finalize_neofetch():
# 2. Regenerate man page
print('Regenerating neofetch man page...')
Path('neofetch.1').write_text(subprocess.check_output(['help2man', './neofetch']).decode())
Path('docs/neofetch.1').write_text(subprocess.check_output(['help2man', './neofetch']).decode())
Path('docs/hyfetch.1').write_text(subprocess.check_output(['help2man', 'python3 -m hyfetch']).decode())
# 3. Reformat readme links
print('Reformatting readme links...')
@@ -114,8 +115,7 @@ def create_release(v: str):
print('Committing changes...')
# 1. Add files
subprocess.check_call(['git', 'add', 'hyfetch/__version__.py', 'neofetch', 'neofetch.1', 'package.json', 'README.md',
'hyfetch/distros/*'])
subprocess.check_call(['git', 'add', '.'])
# 2. Commit
subprocess.check_call(['git', 'commit', '-m', f'[U] Release {v}'])
+3 -3
View File
@@ -15,7 +15,7 @@ from hypy_utils import write
from hyfetch.distros import AsciiArt
RE_SPLIT = regex.compile('EOF[ \n]*?;;')
RE_COLORS = regex.compile("""(?<=set_colors )[\"#a-z\\d ]+(?=\n)""")
RE_COLORS = regex.compile("""(?<=set_colors )[\"#a-zA-Z\\d ']+(?=\n)""")
def substr(s: str, start: str, end: str | None = None):
@@ -34,7 +34,7 @@ def parse_ascii_distros() -> list[AsciiArt]:
"""
Parse ascii distros from neofetch script
"""
nf = (Path(__file__).parent.parent / 'neofetch').read_text()
nf = (Path(__file__).parent.parent / 'neofetch').read_text().replace('\t', ' ' * 4)
# Get the content of "get_distro_ascii" function
nf = nf[nf.index('get_distro_ascii() {\n'):]
@@ -63,7 +63,7 @@ def parse_ascii_distros() -> list[AsciiArt]:
match = match[:-1]
# Get colors
color = RE_COLORS.findall(block)[0]
color = RE_COLORS.findall(block)[0].strip("'")
if len(color) == 0:
raise Exception(block)