Compare commits

...

242 Commits

Author SHA1 Message Date
Azalea Gui 2fda114552 [U] Release 1.4.6 2023-01-14 22:06:01 -05:00
Azalea Gui 8ee516e640 [U] Update release script 2023-01-14 22:03:56 -05:00
Azalea Gui d4c8472991 [U] Changelog 2023-01-14 16:36:43 -05:00
Azalea Gui 7960624185 [+] Compatibility with fastfetch < 1.8.0
#62
2023-01-14 16:36:37 -05:00
Azalea Gui 4fe39b405b [O] Filter states better 2023-01-14 16:25:02 -05:00
Hykilpikonna d017b6066c [PR] #62 from soopyc/patch-fastfetch 2023-01-14 16:24:32 -05:00
Azalea Gui 6cd2bf4b41 [+] Issue content moderation bot 2023-01-14 16:02:37 -05:00
Mizuki Cheung 56976cdfdd fix: fix fastfetch raw mode 2023-01-15 03:52:33 +08:00
Azalea Gui 3535dd3fcf [+] Sync Aperture to neofetch
#61
2023-01-08 21:55:15 -05:00
Azalea Gui 2ffa75f567 [U] Changelog 2023-01-08 21:51:43 -05:00
Hykilpikonna de97821341 [PR] #61 from juliavdkris/master
Add aperture science ASCII art
2023-01-08 21:40:42 -05:00
Hykilpikonna 139b89204e [PR] #60 from aaronfranke/riscv-isa
Add support for displaying the ISA string on RISC-V CPUs
2023-01-08 21:38:15 -05:00
Julia van der Kris 1aaeae1197 Add aperture science ASCII art 2023-01-09 00:04:29 +01:00
Aaron Franke 70690c50df Add support for displaying the ISA string on RISC-V CPUs 2023-01-08 00:14:25 -06:00
Hykilpikonna 117bc7738c [PR] #59 from ivabus/patch-1
LICENSE: change year from 2021 to 2023
2023-01-07 14:59:03 -05:00
Ivan Bushchik 36d6ada646 LICENSE: change year from 2021 to 2023 2023-01-07 22:56:34 +03:00
Azalea Gui e1f65895db [F] Fix terminal detection with new get_process_name method 2023-01-06 01:32:40 -05:00
Azalea Gui e5c227119f [PR] dylanaraps/neofetch#2277 from rohandebsarkar - Add terminal
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2277
Thanks to @rohandebsarkar

Co-authored-by: Rohan Deb Sarkar <rohandebsarkar@protonmail.com>
2023-01-06 01:18:34 -05:00
Rohan Deb Sarkar 2f84ef0160 fix gnome-console 2023-01-05 22:39:30 +05:30
Hykilpikonna 0538e02eee [PR] #58 from lilyinstarlight/fix/empty-pkg-dirs
fix: assume no pkgs when dir is empty or does not exist
2023-01-04 10:29:42 -05:00
Lily Foster 9a52096c91 fix: assume no pkgs when dir is empty or does not exist 2023-01-04 09:59:23 -05:00
Azalea Gui 426a242c94 [F] Fix semicolon for RhaymOS
https://github.com/dylanaraps/neofetch/pull/2274
2023-01-01 12:38:40 -05:00
Azalea Gui 1b19c63d53 [PR] dylanaraps/neofetch#2274 from rhaym-tech - added RhaymOS distro
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2274
Thanks to @rhaym-tech

Co-authored-by: Ghellab Abderrahmane <43763935+rhaym-tech@users.noreply.github.com>
2023-01-01 12:32:42 -05:00
Ghellab Abderrahmane c0125cb632 added RhaymOS distro 2023-01-01 00:41:21 +01:00
Azalea d7ecefa051 [O] Ignore shellcheck 2317 2022-12-28 21:44:26 -05:00
Azalea 2330b159ca [U] Changelog 2022-12-28 21:42:49 -05:00
Azalea 51ed5be11e [PR] dylanaraps/neofetch#2271 from m-ildefons - feat: display editor setting
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2271
Thanks to @m-ildefons

Co-authored-by: Moritz Röhrich <moritz@ildefons.de>
2022-12-28 21:35:53 -05:00
Moritz Röhrich d6f16601a8 feat: display editor setting
Display the configured editor, version and path using the $EDITOR
environment variable similar to the way the shell version is displayed
from the $SHELL variable.

fixes: #2270
2022-12-28 22:24:48 +01:00
Hykilpikonna 14c7963d88 [PR] #56 from leana8959: Fix macOS network detection
Fix network module on macOS
2022-12-24 02:38:20 -05:00
Dummy c69407345c shellcheck fix 2022-12-24 05:51:03 +01:00
Dummy b30bbf5927 Revert "shellcheck: double quote"
This reverts commit 3938f43134.
2022-12-24 05:46:14 +01:00
Dummy 501c4f5e1f escaped quotes 2022-12-24 05:30:03 +01:00
Dummy 3938f43134 shellcheck: double quote 2022-12-24 05:26:16 +01:00
Léana 江 f3bdeb2d30 fixes 2022-12-24 04:34:28 +01:00
Léana 江 c2bac01778 use awk instead 2022-12-24 04:20:47 +01:00
Léana 江 99a6fc0770 fixed network module for macOS 2022-12-24 04:17:04 +01:00
Hykilpikonna 1c2cee4cf5 [PR] #55 from leana8959: Fix cmus macOS
fixed cmus on macOS
2022-12-22 11:30:22 -05:00
Léana 江 281904948b fixed cmus on macOS 2022-12-22 16:35:41 +01:00
Hykilpikonna 8b14d02f05 [O] Push neofetch tag as well 2022-12-19 11:17:22 -05:00
Hykilpikonna 007c82b3f4 [U] Release 1.4.5 2022-12-19 11:13:37 -05:00
Hykilpikonna 24a1283095 [F] Fix changelog location 2022-12-19 11:13:22 -05:00
Hykilpikonna 798cf64a94 [U] Update change files list 2022-12-19 11:09:29 -05:00
Hykilpikonna eb516710e8 [U] Update changelog structure 2022-12-19 11:07:55 -05:00
Hykilpikonna 7d75a62c41 [+] Export distros before release 2022-12-19 11:06:47 -05:00
Hykilpikonna b97b9403b9 [U] Changelog 2022-12-19 11:05:43 -05:00
Hykilpikonna 2ebf79a0d9 [PR] dylanaraps/neofetch#2239 from norz3n - Add Hybrid Linux ASCII Logo
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2239
Thanks to @norz3n

Co-authored-by: norz3n <vellynproduction@gmail.com>
2022-12-19 10:50:35 -05:00
Hayder Majid e99db35920 Adding Uruk GNU/Linux logo
https://github.com/dylanaraps/neofetch/pull/2258
2022-12-19 10:44:58 -05:00
Hykilpikonna 6a7c72446b [PR] dylanaraps/neofetch#2264 from soushi0210 - add Project Sasanqua my wip Project)
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2264
Thanks to @soushi0210

Co-authored-by: soushi0210 <77261946+soushi0210@users.noreply.github.com>
2022-12-19 10:35:19 -05:00
soushi0210 3d3a793d53 fix 2022-12-18 11:33:25 +09:00
soushi0210 a54013ffd9 add Project Sasanqua 2022-12-17 22:49:19 +09:00
soushi0210 eac7381023 add Project Cosmos 2022-12-17 22:48:54 +09:00
soushi0210 d6c18e1222 add Project Cosmos 2022-12-17 22:44:03 +09:00
Hykilpikonna 244efd541e [+] Add python 3.11 tag 2022-12-12 19:21:09 -05:00
Hykilpikonna 39be7aa916 [PR] #52 from slackingfred: Memory unit fix
Proper implementation of memory_unit and mem_precision
2022-12-12 11:44:40 -05:00
Fred 4fab51355e Shorten variable names to keep within 100 columns 2022-12-12 21:23:22 +08:00
Fred b951600d00 Keep the default memory unit MiB, despite internal logic change 2022-12-12 21:20:57 +08:00
Fred efb5a4f4be Proper implementation of memory_unit and mem_precision 2022-12-12 18:01:30 +08:00
Hykilpikonna 51b8bd61e0 [F] Fix subpackage installing
https://github.com/dylanaraps/neofetch/issues/2257
2022-12-11 21:35:20 -05:00
Hykilpikonna bc2a8dbf3c [M] Move distro.py to distros/__init__.py 2022-12-11 07:40:53 -05:00
Hykilpikonna 0c4b239266 [+] Try pure-python distro detection 2022-12-11 07:08:09 -05:00
Hykilpikonna 5d392262c1 [F] Unescape backslash 2022-12-11 07:03:10 -05:00
Hykilpikonna 485aa44f3f [F] Lowercase distro detection 2022-12-11 07:02:54 -05:00
Hykilpikonna adc947cecd [+] Generate distro detection script based on glob 2022-12-11 06:54:01 -05:00
Hykilpikonna 6404b37b9e [M] Move distros into hyfetch 2022-12-11 06:23:29 -05:00
Hykilpikonna 0897d468a8 [U] Changelog 2022-12-11 05:40:47 -05:00
Azalea 5c0f6bfd78 [F] Fix wm detection when lsof doesn't exist but fuser exists
https://github.com/hykilpikonna/hyfetch/pull/51
2022-12-11 05:26:59 -05:00
Hykilpikonna 2117040796 [F] Fix typo 2022-12-10 21:06:43 -05:00
Hykilpikonna dea5f5b583 [-] Remove debug output 2022-12-10 21:05:25 -05:00
Hykilpikonna 4447313769 [+] Support fastfetch as a *fetch backend
https://github.com/dylanaraps/neofetch/issues/2257
2022-12-10 21:04:38 -05:00
Hykilpikonna 389cd91346 [O] Hide debug arguments from help menu, shorten --test-distro to --distro 2022-12-10 21:00:45 -05:00
Hykilpikonna f786dce40e [M] Move literal types to types.py 2022-12-10 21:00:10 -05:00
Hykilpikonna 4d073df750 [O] tools: Use module instead of custom search path 2022-12-10 20:54:20 -05:00
Hykilpikonna 2ca7103f1a [-] Remove ascii_len and ascii_lines env variables 2022-12-10 20:32:58 -05:00
Hykilpikonna 7e0b0d7212 [O] Remove print_custom_ascii requirement from neofetch 2022-12-10 20:31:11 -05:00
Hykilpikonna 1b0cf4ae1e [PR] #49 from DaRacci: Fix cargo bin dir
fix: cargo bin dir
2022-12-07 10:09:10 -05:00
Racci 1ac9680442 fix: path ins't set by default
Co-authored-by: Hykilpikonna <me@hydev.org>
2022-12-07 13:40:41 +11:00
Hykilpikonna 818a27e949 [PR] #48 from NinVoido: Config file argument
[+] Add config file arg
2022-12-06 19:47:19 -05:00
Racci 30c50dc792 fix: cargo bin dir
Use the environment variable to find the dir instead of the hard coded default
2022-12-05 16:00:35 +11:00
Your name dd5084fbe8 [+] Add config file arg 2022-12-04 22:44:32 +03:00
Hykilpikonna d607b3326c [F] Fix Aster wildcard matching 2022-12-03 00:56:28 -05:00
Hykilpikonna b5f1af6949 [F] neofetch: Fix aster* and asteroid order
https://github.com/dylanaraps/neofetch/pull/2251
2022-12-03 00:56:01 -05:00
Hykilpikonna 18fe75efae [PR] dylanaraps/neofetch#2251 from sahanuser - Add Aster Linux Logo
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2251
Thanks to @sahanuser

Co-authored-by: sahanuser <sahan.user@gmail.com>
2022-12-03 00:47:13 -05:00
SahanRasanjana 3f6211aec8 Delete .gitignore 2022-12-03 09:19:28 +05:30
sahanuser 2f741d8933 Add Aster Logo 2022-12-03 09:19:09 +05:30
sahanuser ef9d0886e6 Add Aster Logo 2022-12-03 09:17:53 +05:30
sahanuser 961acd9713 asl-keyring 2022-12-03 09:16:01 +05:30
Hykilpikonna b2b51fa621 [PR] dylanaraps/neofetch#2242 from aderepas - Add Kali linux small logo
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2242
Thanks to @aderepas

Co-authored-by: KIRISHIMA Touka <tkirishima@gmail.com>
2022-11-27 14:06:36 -05:00
KIRISHIMA Touka 36605b9745 Add Kali linux small logo 2022-11-25 17:03:20 +01:00
Hykilpikonna 1bccaad8fd [F] Implement os detection in termenv
https://github.com/hykilpikonna/hyfetch/issues/16
2022-11-22 14:59:46 -05:00
Hykilpikonna 79a086fcc3 [F] termios cannot be imported on Windows
https://github.com/hykilpikonna/hyfetch/issues/16
2022-11-22 14:52:09 -05:00
Hykilpikonna 0fbf8d58cc [PR] dylanaraps/neofetch#2026 from vnepogodin - add cachyos
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2026
Thanks to @vnepogodin

Co-authored-by: Vladislav Nepogodin <nepogodin.vlad@gmail.com>
2022-11-22 11:35:16 -05:00
Hykilpikonna 5b9271e7e5 [F] Fix terminal stuck in raw mode
https://github.com/hykilpikonna/hyfetch/issues/41
2022-11-20 22:53:37 -05:00
Hykilpikonna 4ed6e3d7cc [U] Update todo 2022-11-20 22:13:36 -05:00
Hykilpikonna b86f43e9ab [PR] dylanaraps/neofetch#2238 from RealStr1ke - Tweaked function for obtaining host model
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2238
Thanks to @RealStr1ke

Co-authored-by: Azalea (on HyDEV-Daisy) <me@hydev.org>
2022-11-19 00:18:39 -05:00
norz3n 50d0f24a80 Add Hybrid Linux Logo 2022-11-18 21:44:16 +02:00
norz3n 58ddcc52c6 Add Hybrid Linux Logo 2022-11-18 21:40:41 +02:00
norz3n 1614fd8dbb Add Hybrid Linux Logo 2022-11-18 21:31:52 +02:00
norz3n cbcef65610 Add Hybrid Linux Logo 2022-11-18 20:20:58 +02:00
Thandi M 25d8e2f10e Changed to model/host function 2022-11-18 00:16:31 -05:00
Hykilpikonna 829c387dc4 [PR] #39 from stock-linux/master
[U] Updated Stock Linux package counter to meet new squirrel config
2022-11-16 14:26:14 -05:00
Skythrew 834aa56030 [U] Updated Stock Linux package counter to meet new squirrel config 2022-11-16 15:32:52 +01:00
Hykilpikonna de3c3aa9b6 [U] Update PR markings 2022-11-16 00:13:35 -05:00
Hykilpikonna d6c57bd6f9 [O] NF: Replace tab indent with spaces, remove trailing space 2022-11-16 00:06:58 -05:00
Hykilpikonna ee64bd843a [O] chmod +x 2022-11-16 00:02:59 -05:00
Hykilpikonna 737e4afaac [+] Fix issue template 2022-11-16 00:02:32 -05:00
Hykilpikonna f68377fead [U] Update changelog 2022-11-15 23:57:31 -05:00
Hykilpikonna d7c4d493c9 [+] NF: Add Tea package manager
Fixes https://github.com/dylanaraps/neofetch/issues/2235
2022-11-15 23:52:28 -05:00
Hykilpikonna 8235a400f0 [U] Update deploy script 2022-11-15 23:37:09 -05:00
Hykilpikonna 673d995618 [U] Release 1.4.4 2022-11-15 23:34:50 -05:00
Hykilpikonna 1097435501 [U] Update changelog 2022-11-15 23:30:02 -05:00
Hykilpikonna 78f4f061f4 [PR] dylanaraps/neofetch#2234 from medanisjbara - Add dwl to wayland window managers
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2234
Thanks to @medanisjbara

Co-authored-by: Med Anis Jbara <74317212+medanisjbara@users.noreply.github.com>
2022-11-14 09:31:53 -05:00
Med Anis Jbara f909b3c3b8 Add dwl to wayland window managers 2022-11-14 12:43:44 +01:00
Hykilpikonna b4944599c5 [PR] dylanaraps/neofetch#2232 from tmiland - Fix display of
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2232
Thanks to @tmiland

Co-authored-by: Tommy Miland <kontakt@tmiland.com>
2022-11-13 12:24:14 -05:00
Hykilpikonna 21cffcc4f4 [PR] dylanaraps/neofetch#2233 from JackGannonUK - Add Enso Support
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2233
Thanks to @JackGannonUK

Co-authored-by: Jack Gannon <jack@uquinix.com>
2022-11-13 12:02:37 -05:00
Jack Gannon 8d9d4407a3 syntax 2022-11-13 16:18:30 +00:00
Jack Gannon 0e93f5484f enso distro addition 2022-11-13 16:06:20 +00:00
Tommy Miland f9c7c570a1 Fix display of $XDG_SESSION_TYPE
- Fixed display $XDG_SESSION_TYPE
2022-11-11 12:44:23 +01:00
Hykilpikonna 6f443a23a6 [U] Update readme 2022-11-10 22:25:53 -05:00
Hykilpikonna ed3bb65824 [F] Fix random count being negative when screen is too small 2022-11-10 22:24:38 -05:00
Hykilpikonna 3770e58e66 Merge branch 'master' of github.com:hykilpikonna/hyfetch 2022-11-10 22:21:43 -05:00
Hykilpikonna e0d7c4885a [F] Fix issues cause by terminal size too small 2022-11-10 22:21:40 -05:00
Hykilpikonna e5a7eb2d24 [+] Add install script 2022-11-06 11:46:16 -05:00
Hykilpikonna ece7cb1f8f [+] Add instructions to install nightly version 2022-11-05 00:16:57 -04:00
Azalea (on HyDEV-Daisy) 43aecc70fe [U] Changelog 2022-11-04 03:35:03 -04:00
Hykilpikonna f93315a7ad [PR] #34 from saeziae: fix some problem in detecting cpu such as loongson 2022-11-03 23:45:36 -04:00
Azalea (on HyDEV-Daisy) cde4914c19 [PR] dylanaraps/neofetch#2225 from TriMoon - Enhancing --memory_unit functionality
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2225
Thanks to @TriMoon

Co-authored-by: ©TriMoon™ <TriMoon@users.noreply.github.com>
2022-11-03 23:39:40 -04:00
Azalea (on HyDEV-Daisy) e8c7266671 [F] Fix #35 python 3.11 compatibility 2022-11-03 23:35:21 -04:00
saeziae bce73f6836 fix some problem in detecting cpu such as loongson 2022-11-03 23:50:58 +08:00
Hykilpikonna 5012c996f2 [O] Fix shellcheck warnings 2022-11-01 14:26:01 -04:00
Hykilpikonna c00568d413 [F] Fix memory progress bar only displaying when unit is mib 2022-11-01 14:25:52 -04:00
Hykilpikonna d56f083dbc [PR] dylanaraps/neofetch#2228 from netsecninja - Corrected spacing issue on LMDE logo
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2228
Thanks to @netsecninja

Co-authored-by: netsecninja <netsecninja@users.noreply.github.com>
2022-11-01 12:58:03 -04:00
netsecninja b7f6e4f306 Corrected spacing issue on LMDE logo
The top line of the LMDE logo was missing the correct spacing to properly align with the rest of the logo
2022-11-01 09:19:12 -06:00
©TriMoon™ 619c9d2224 Update neofetch
Making calculations general purpose.
2022-10-31 14:29:18 +03:00
©TriMoon™ d57463b0d3 Update neofetch
Separating calculations as shown in https://github.com/dylanaraps/neofetch/pull/2225#issuecomment-1296882170
2022-10-31 14:15:44 +03:00
©TriMoon™ ca13eb22e7 Update neofetch
Fixing shellcheck warnings mentioned in https://github.com/dylanaraps/neofetch/pull/2225#issuecomment-1296876166
2022-10-31 14:00:55 +03:00
©TriMoon™ a52c49380d Update neofetch
Added `--memory_precision` flag, default=`2`.
2022-10-31 13:52:51 +03:00
©TriMoon™ ba2001cc64 Update neofetch
Added `tib` to usage output of `-memory_unit`.
2022-10-31 13:18:21 +03:00
Hykilpikonna e07895c614 [PR] dylanaraps/neofetch#2225 from TriMoon - Enhancing --memory_unit functionality
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2225
Thanks to @TriMoon

Co-authored-by: ©TriMoon™ <TriMoon@users.noreply.github.com>
2022-10-31 06:15:01 -04:00
Hykilpikonna 3d6427b936 [PR] dylanaraps/neofetch#2225 from TriMoon - Enhancing --memory_unit functionality
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2225
Thanks to @TriMoon

Co-authored-by: ©TriMoon™ <TriMoon@users.noreply.github.com>
2022-10-31 06:14:35 -04:00
©TriMoon™ 943c3025e5 Update neofetch
added `tib` to description of `memory_unit`.
2022-10-31 13:14:29 +03:00
©TriMoon™ 67cf02c964 Enhancing --memory_unit functionality
Improving https://github.com/dylanaraps/neofetch/commit/0435dcd0cd44bb22afa9b986f15742cc05de7b20
- Implementing https://github.com/dylanaraps/neofetch/issues/1170#issuecomment-455576889 to avoid awk usage.
- Adding ability to configure precision of output using `mem_precision` which defaults to `2`.
- Added `tib` to accommodate TiB mentioned in https://github.com/dylanaraps/neofetch/issues/1170#issuecomment-894705941
2022-10-31 13:03:10 +03:00
Hykilpikonna 8616ff0504 [U] Release 1.4.3 2022-10-30 13:24:53 -04:00
Hykilpikonna dde9443ec7 [U] Update changelog 2022-10-30 13:23:16 -04:00
Hykilpikonna b6f0a80bb1 [F] Specify /usr/bin/env bash to prevent ld signature check on iOS 2022-10-30 13:21:21 -04:00
Hykilpikonna a758b4ba04 [U] Update changelog 2022-10-30 13:16:30 -04:00
Hykilpikonna 700f651378 [F] Fix cols coloring reset for bash 3.2
Introduce by #24
2022-10-30 13:11:27 -04:00
Hykilpikonna 77614b635f Merge branch 'master' of github.com:hykilpikonna/hyfetch 2022-10-30 12:35:54 -04:00
Hykilpikonna fdd3ef970d [PR] dylanaraps/neofetch#2222 from AwkwardTeenageBoy - VanillaOS neofetch
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2222
Thanks to @AwkwardTeenageBoy

Co-authored-by: Twinkie <105467171+AwkwardTeenageBoy@users.noreply.github.com>
2022-10-30 12:35:36 -04:00
Hykilpikonna e49ed7d080 [PR] #32 from ngkz: Add gender presentation pride flags 2022-10-30 12:25:47 -04:00
Kazutoshi Noguchi a1149ab68b add GNC, femboy and tomboy flags 2022-10-30 18:50:41 +09:00
Twinkie 6390ed10c4 Update neofetch 2022-10-27 12:20:39 -07:00
Twinkie 810b380e47 Update neofetch 2022-10-27 12:17:20 -07:00
Twinkie 1274e977c3 Update neofetch 2022-10-27 12:07:51 -07:00
Twinkie 38fb44cb8e Added Vanilla Logo and Support for Vanilla 2022-10-27 10:15:52 -07:00
Hykilpikonna 90c94044f4 [PR] #31 from yxnan: Check if the output is a tty 2022-10-27 10:39:22 -04:00
yxnan 5bf7fbf2b4 Add options for --stdout 2022-10-27 22:16:10 +08:00
yxnan 23a1b10467 Check if the output is a tty
The color code should not be emitted if the stdout is not a typical terminal, we add the check so there is no need to explictly specify `--stdout`
2022-10-27 00:27:23 +08:00
Hykilpikonna 0dae7ca3f9 [U] Update todo list 2022-10-25 03:27:23 -04:00
Hykilpikonna e23eb980d3 [U] Update screenshot 2022-10-25 03:19:52 -04:00
Azalea (on HyDEV-Daisy) 7171494e95 [F] Fix OSC timeout too short for ssh 2022-10-23 02:51:34 -04:00
Azalea (on HyDEV-Daisy) c00848fd79 [U] Update readme changelog 2022-10-23 02:26:55 -04:00
Azalea (on HyDEV-Daisy) 717ff369c0 [O] Optimize fore_back distro detection 2022-10-23 02:20:51 -04:00
Azalea (on HyDEV-Daisy) ff44ea6185 [+] Add more ubuntu variants with fore_back layout 2022-10-23 02:16:08 -04:00
Azalea (on HyDEV-Daisy) 969a7c668c [O] Dynamic prompt numbering 2022-10-23 02:12:05 -04:00
Azalea (on HyDEV-Daisy) bd5d76167e [F] Fix incorrect coloring when the first color isn't ${c1} 2022-10-23 02:06:45 -04:00
Azalea (on HyDEV-Daisy) f57ad70a20 [O] Clarify prompt 2022-10-23 01:51:42 -04:00
Azalea (on HyDEV-Daisy) a3da5b6c59 [F] Fix lightness logic 2022-10-23 01:51:12 -04:00
Azalea (on HyDEV-Daisy) 3cbb20c899 [F] Refactor lightness logic 2022-10-23 01:37:48 -04:00
Azalea (on HyDEV-Daisy) 0a9ac6a351 [U] Detect background and color mode in main 2022-10-23 01:37:23 -04:00
Azalea (on HyDEV-Daisy) 75ed187e72 [+] termenv: Detect system when detecting ansi mode 2022-10-23 01:36:09 -04:00
Azalea (on HyDEV-Daisy) cd4849f0b8 [F] Fix unhashable type error for RGB 2022-10-23 01:35:54 -04:00
Azalea (on HyDEV-Daisy) 0960024e71 [+] termenv: Translate golang code into python 2022-10-22 19:52:05 -04:00
Azalea (on HyDEV-Daisy) 7411ec87e7 [F] Fix relative import 2022-10-22 18:46:42 -04:00
Azalea (on HyDEV-Daisy) d8f49a2ea2 [+] Detect if a color is light 2022-10-22 18:42:52 -04:00
Azalea (on HyDEV-Daisy) 101d798c0a [O] Refactor HSL and RGB 2022-10-22 18:42:06 -04:00
Azalea (on HyDEV-Daisy) 330de73df3 [M] Rename osc -> termenv 2022-10-22 18:26:00 -04:00
Azalea (on HyDEV-Daisy) 4e11d21401 [+] osc: parse background color 2022-10-22 18:22:51 -04:00
Azalea (on HyDEV-Daisy) cb5635908f [-] osc: remove commented code 2022-10-22 17:53:00 -04:00
Azalea (on HyDEV-Daisy) fbbe3b1c93 [+] Send/read osc responses 2022-10-22 17:52:36 -04:00
Azalea 774598fcb3 [PR] dylanaraps/neofetch#2215 from VitoFe - Add garuda_small, sort _small variants
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2215
Thanks to @VitoFe

Co-authored-by: VitoFe <vito-7@hotmail.it>
2022-10-21 14:42:22 -04:00
Azalea 8abfb0c876 [PR] dylanaraps/neofetch#2213 from EnterTheVoid-x86 - Add Cobalt Linux logo
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2213
Thanks to @EnterTheVoid-x86

Co-authored-by: etvx86 <64978924+EnterTheVoid-x86@users.noreply.github.com>
2022-10-21 14:25:26 -04:00
Hykilpikonna 7a6628d387 [PR] #28 from alyxferrari: Surround macOS build number in parentheses 2022-10-21 13:02:36 +08:00
Azalea (on HyDEV-Daisy) 09185e5a41 [F] Fix light dark detection 2022-10-19 23:48:41 -04:00
Alyx Ferrari 6efd890526 Surround macOS build number in parentheses 2022-10-19 10:25:08 -04:00
VitoFe 05cf31fc14 Add garuda_small, sort _small variants
Added garuda_small
Sorted the _small variants note distro list alphabetically, just like the normal list (for consistency)
2022-10-15 17:55:11 +00:00
Hykilpikonna 220b528c72 [PR] #27 from alyxferrari: arch-linux-readme-fix
Update Arch Linux installation docs
2022-10-14 13:25:37 -04:00
Alyx Ferrari 038d976b39 Update Arch Linux installation docs 2022-10-14 13:23:16 -04:00
Hykilpikonna 60609dfb7e [PR] #26 from alyxferrari: Fix typo
Change 'look' to 'looks' in main.py
2022-10-14 13:21:46 -04:00
Alyx Ferrari 610e06fcd9 Change 'look' to 'looks' in main.py 2022-10-14 13:11:05 -04:00
etvx86 49003c859f add cobalt in help message 2022-10-11 13:44:16 -04:00
etvx86 10bf2fce08 Add Cobalt Linux logo
Hopefully this gets merged -

Cobalt Linux is a distribution I'm currently working on, which will come with window managers and have the goal of customization. It also has a goal of "Arch Linux made easy".
2022-10-11 13:38:11 -04:00
Hykilpikonna 8a091f4d01 [PR] #25 from ben5vik: add unlabeled flag 2022-10-10 10:06:31 -04:00
Ben 10b331052d Update presets.py 2022-10-10 15:45:20 +02:00
Ben 8751faab2e Adding unlabeled 2022-10-10 15:40:14 +02:00
Azalea (on HyDEV-Daisy) 0a1e97cd92 [U] Release 1.4.2 2022-10-04 13:10:37 -04:00
Azalea (on HyDEV-Daisy) 7e59c362be [F] Fix deploy script 2022-10-04 13:10:00 -04:00
Azalea (on HyDEV-Daisy) 3e8c103479 [U] Update changelog 2022-10-04 13:07:52 -04:00
Azalea (on HyDEV-Daisy) 5be5aa1b51 [O] Show memory percentage, speed shorthand, refresh rate by default 2022-10-04 13:03:32 -04:00
Azalea (on HyDEV-Daisy) 08f75415eb [F] Fix neofetch permissions (+x) 2022-10-04 12:44:02 -04:00
Azalea (on HyDEV-Daisy) 02b6e9d72d [PR] dylanaraps/neofetch#1706 from ravenclaw900 - Add DietPi support
Upstream PR: https://github.com/dylanaraps/neofetch/pull/1706
Thanks to @ravenclaw900

Co-Authored-By: ravenclaw900 <50060110+ravenclaw900@users.noreply.github.com>
2022-10-04 12:42:15 -04:00
Azalea (on HyDEV-Daisy) 59b9dc6e1a [PR] dylanaraps/neofetch#2196 from matt-fidd - Added for OmniOS illumos distribution
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2196
Thanks to @matt-fidd

Co-authored-by: matt <matt@fiddaman.net>
2022-10-04 12:31:15 -04:00
Azalea (on HyDEV-Daisy) 0f302eea60 [PR] dylanaraps/neofetch#2201 from FakeShell - add droidian to neofetch
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2201
Thanks to @FakeShell

Co-authored-by: Bardia Moshiri <fakeshell@bardia.tech>
2022-10-04 12:22:52 -04:00
Azalea (on HyDEV-Daisy) 7c7cba2346 Merge branch 'master' of github.com:hykilpikonna/hyfetch 2022-10-04 12:04:37 -04:00
Azalea (on HyDEV-Daisy) f989ec0d20 [PR] dylanaraps/neofetch#2210 from chaeya - Added ascii logo for hamonikr
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2210
Thanks to @chaeya

Co-authored-by: Kevin Kim <hckim@invesume.com>
2022-10-04 12:04:18 -04:00
Hykilpikonna e72fe4d934 [PR] #24 from OldWorldOrdr: Fix bash 5.2 column cut off issue 2022-10-04 11:57:54 -04:00
Kevin Kim 7f48e4cd43 Added ascii logo for hamonikr 2022-10-01 20:24:04 +09:00
OldWorldOrdr bc89c50427 Update neofetch 2022-09-30 06:34:19 -04:00
Hykilpikonna 7c93a0df1c [+] Progress bar test 2022-09-27 14:40:06 -04:00
Hykilpikonna 8b67e539b5 [U] Update changlog 2022-09-26 16:18:34 -04:00
Hykilpikonna 7c16e15cea [U] Update change log 2022-09-26 16:12:34 -04:00
Azalea (on HyDEV-Daisy) 79e0a8360b Merge branch 'master' of github.com:hykilpikonna/hyfetch 2022-09-26 09:16:30 -04:00
Azalea (on HyDEV-Daisy) d2347cefb1 [+] #22 Add tidal-hifi song detection 2022-09-26 09:16:18 -04:00
Hykilpikonna cda96dda4e [PR] #23 from stock-linux: Added Stock Linux logo 2022-09-26 09:11:32 -04:00
Skythrew 3dde4bcdef feat: added Stock Linux logo 2022-09-26 07:31:09 +02:00
Hykilpikonna 0811acab58 [F] Fix multiple CPU model detection for ARM
https://github.com/dylanaraps/neofetch/pull/2139
2022-09-20 13:20:32 -04:00
Hykilpikonna f14324ffce [U] Display memory in GiB by default 2022-09-20 11:50:07 -04:00
Hykilpikonna 1ba7b339c9 [-] Disable network display when network is not detected 2022-09-20 11:44:17 -04:00
Bardia Moshiri 8987b0b15f change droidian from half green to full green logo 2022-09-18 16:07:32 -04:00
Bardia Moshiri 4f12d97e40 add droidian to neofetch 2022-09-18 15:40:34 -04:00
matt c3beb21966 Add 'pkg list' package source 2022-09-15 17:24:08 +00:00
matt 078af21630 Fix solaris fqdn 2022-09-15 17:24:08 +00:00
matt 4e7724ecf8 Add illumos os support 2022-09-15 17:24:08 +00:00
matt 624bd97045 Fix uptime value in Solaris 2022-09-15 17:24:08 +00:00
matt 45ea478414 Added ascii art for OmniOS illumos distribution 2022-09-15 17:24:08 +00:00
Azalea (on HyDEV-Daisy) 9e001c530f Merge branch 'master' of github.com:hykilpikonna/hyfetch 2022-09-10 15:19:08 -04:00
Azalea (on HyDEV-Daisy) d850e4c91e [PR] dylanaraps/neofetch#2139 from saeziae - Fix support for ARM, RISC-V, LoongArch detection
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2139
Thanks to @saeziae

Co-authored-by: Estela Xu <i@estela.cn>
2022-09-10 15:18:49 -04:00
Hykilpikonna 376268f79e [PR] #21 from TheSudoer: Local install method and contributing note 2022-09-10 02:04:14 -04:00
Hykilpikonna b955a61ac5 [U] Update local install method and contributing note 2022-09-10 01:56:29 -04:00
C0UNTM31N c099c9e5f7 Update README.md 2022-09-10 00:17:54 -05:00
C0UNTM31N 7b62c80881 Fixed formatting 2022-09-10 00:15:33 -05:00
C0UNTM31N d6b33ae3e9 Merge branch 'master' of https://github.com/TheSudoer/hyfetch 2022-09-10 00:09:09 -05:00
C0UNTM31N 9da32dab4b Altered the deploy script and added build instructions 2022-09-10 00:05:08 -05:00
Azalea (on HyDEV-Daisy) cf0202fd7c Merge branch 'master' of github.com:hykilpikonna/hyfetch 2022-09-09 19:53:18 -04:00
Azalea (on HyDEV-Daisy) 8a01ce491b [PR] dylanaraps/neofetch#2192 from Skythrew - Stock Linux distro support
Upstream PR: https://github.com/dylanaraps/neofetch/pull/2192
Thanks to @Skythrew

Co-authored-by: Skythrew <76571984+Skythrew@users.noreply.github.com>
2022-09-09 19:53:08 -04:00
saeziae fd2248daec merge riscv and loongarch to others 2022-09-08 22:55:50 +08:00
Hykilpikonna ab23dc3c2b Merge pull request #20 from TheSudoer/master 2022-09-07 10:52:25 -04:00
C0UNTM31N 58a82c2b5e Fix GhostBSD commit being atributed to the wrong person, was previously attributed to dylanaraps as a commit to neofetch. 2022-09-06 13:18:30 -05:00
Azalea (on HyDEV-Daisy) d0fda1ef0d [U] Deploy tool: Push tag 2022-09-06 12:20:37 -04:00
Azalea (on HyDEV-Daisy) 82c37a28d3 [F] fix deploy script path 2022-09-06 12:18:58 -04:00
Skythrew 042ec7a33c Added support for Stock Linux distro (squirrel package manager add) 2022-09-03 12:38:12 +02:00
Vladislav Nepogodin 4c3465badf 🐛 bug is leaving $HOME 2022-08-16 19:30:59 +04:00
saeziae 3253d4cbcc add loongarch 2022-07-31 18:55:05 +08:00
365 changed files with 4065 additions and 987 deletions
+1 -1
View File
@@ -1,6 +1,6 @@
The MIT License (MIT)
Copyright (c) 2015-2021 Dylan Araps
Copyright (c) 2015-2023 Dylan Araps
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
+116 -8
View File
@@ -2,7 +2,7 @@
neofetch with pride flags <3
<img src="https://user-images.githubusercontent.com/22280294/162614541-af2b4660-f1f7-4287-b978-1aa2266ac70f.png" width="60%">
<img alt="screenshot" src="https://user-images.githubusercontent.com/22280294/197708447-ddee6db2-1017-48f2-b507-8ddf85acef0d.png">
### Running Updated Original Neofetch
@@ -10,7 +10,9 @@ This repo also serves as an updated version of the original `neofetch` since the
* Method 1: `pip install hyfetch` then run `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
@@ -26,9 +28,20 @@ pip install hyfetch
Currently, these distributions have existing packages for HyFetch:
* ArchLinux: `yay -S hyfetch` (Thanks to @ Aleksana)
* Nix: `nix-env -i hyfetch` (Thanks to @ YisuiDenghua)
* Guix: `guix install hyfetch` (Thanks to @ WammKD)
* Arch Linux: `paru -S hyfetch` or `yay -S hyfetch` (Thanks to [@Aleksana](https://github.com/Aleksanaa))
* Nix: `nix-env -i hyfetch` (Thanks to [@YisuiDenghua](https://github.com/YisuiDenghua))
* Guix: `guix install hyfetch` (Thanks to [@WammKD](https://github.com/WammKD))
### Method 3: Install the latest developmental version using git
Install Python >= 3.7 first. Then run the following commands:
```sh
git clone https://github.com/hykilpikonna/hyfetch.git
cd hyfetch
pip install .
```
## Usage
@@ -36,6 +49,9 @@ When you run `hyfetch` for the first time, it will prompt you to choose a color
If you want to use the updated `neofetch` without LGBTQ flags, check out [this section](https://github.com/hykilpikonna/hyfetch#running-updated-original-neofetch)
## Questions and answers
#### Q: How do I change my config?
A: Use `hyfetch -c`
@@ -48,6 +64,18 @@ Feel free to experiment with it!
![image](https://user-images.githubusercontent.com/22280294/162614553-eb758e4e-1936-472c-8ca7-b601c696c6eb.png)
## Contributing
To make changes to our codebase, you first need to create a fork by clicking the "Fork" button on the top right. Then, you can clone your fork of the source code using `git clone https://github.com/{your username}/hyfetch.git`.
After making changes to the source code, you can run `python -m hyfetch` in the root directory of your repo to test out your changes.
If they work correctly, you can commit and push these changes using git command or Github Desktop. Then, you can create a pull request on Github so that it can go into our next release!
You can also install your version locally by running `pip install .` in the repo root.
## Change Log
### About Notation
@@ -57,11 +85,91 @@ Updates to `neowofetch` begins with the emoji 🖼️
### TODO
* [ ] Allow left-right arrow keys for pagination
* [ ] Implement light/dark background detection based on https://github.com/muesli/termenv
* [ ] (Important!) Refactor flag storage & coloring to support non-stride patterns
* [ ] Config menu: Allow left-right arrow keys for pagination
* [ ] Neofetch argument pass through
### Nightly
Note: You can install the latest nightly version by using:
```sh
pip install git+https://github.com/hykilpikonna/hyfetch.git@master
```
<!-- CHANGELOG STARTS HERE --->
### 1.4.6
* 🌈 Add compatibility for FastFetch version `>1.8.0` (#62)
* 🖼 Distro - Add Aperture Science ascii art (#61)
* 🖼 Distro - Add RhaymOS ([dylanaraps#2274](https://github.com/dylanaraps/neofetch/pull/2274))
* 🖼 Editor - Add editor information detection ([dylanaraps#2271](https://github.com/dylanaraps/neofetch/pull/2271))
* 🖼 Packages - Fix empty cargo directory (#58)
* 🖼 Terminal - Display gnome-console instead of kgx ([dylanaraps#2277](https://github.com/dylanaraps/neofetch/pull/2277))
* 🖼 Terminal - Fix terminal detection with new get_process_name function
* 🖼 CPU - Detect ISA string on RISC-V CPUs (#60)
* 🖼 Song - Fix CMUS player song detection on macOS (#55)
* 🖼 Network - Fix macOS network detection (#56)
* 🖼 Misc - Change LICENSE year to 2023 (#59)
### 1.4.5
* 🌈 **Support using FastFetch as a HyFetch backend** (`hyfetch -b fastfetch`)
* 🌈 Add config file argument (#48)
* 🌈 Fix problems caused by color detection on Windows (#16)
* 🌈 Support pure-python distro detection for FastFetch
* 🖼️ Distro - Add Aster Linux ([dylanaraps#2251](https://github.com/dylanaraps/neofetch/pull/2251))
* 🖼️ Distro - Add Hybrid Linux ([dylanaraps#2239](https://github.com/dylanaraps/neofetch/pull/2239))
* 🖼️ Distro - Add UrukOS ([dylanaraps#2258](https://github.com/dylanaraps/neofetch/pull/2258))
* 🖼️ Distro - Add Project Sasanqua ([dylanaraps#2264](https://github.com/dylanaraps/neofetch/pull/2264))
* 🖼️ Distro - Add Kali small variant ([dylanaraps#2242](https://github.com/dylanaraps/neofetch/pull/2242))
* 🖼️ Distro - Fix CachyOS matching ([dylanaraps#2026](https://github.com/dylanaraps/neofetch/pull/2026))
* 🖼 WM - Fix wm detection with `fuser` (#39)
* 🖼️ Memory - Make memory unit decimal calculation more accurate (#52)
* 🖼 Packages - Fix squirrel (Stock Linux) package count detection (#39)
* 🖼 Packages - Support cargo bin environment variable (#49)
* 🖼 Packages - Add tea.xyz package manager (issue [dylanaraps#2235](https://github.com/dylanaraps/neofetch/pull/2235))
### 1.4.4
* 🌈 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
* 🌈 **Auto detect terminal background color & rgb support**
* 🌈 **Optimize experience on light-themed terminals**
* 🌈 Fix bugs with lightness and light-mode config not applying
* 🌈 Fix color alignment for distros with first color ≠ `${c1}` (e.g. Ubuntu Budgie)
* 🌈 Add unlabeled flags (#25)
* 🌈 Add gender nonconforming & femboy & tomboy flags (#32)
* 🌈 Fix jailbreak iOS shell `killed: 9` issue caused by ld signature check.
* 🖼️ Distro - Add garuda_small ([dylanaraps#2215](https://github.com/dylanaraps/neofetch/pull/2215))
* 🖼️ Distro - Add Cobalt Linux ([dylanaraps#2213](https://github.com/dylanaraps/neofetch/pull/2213))
* 🖼️ Distro - Add VanillaOS ([dylanaraps#2222](https://github.com/dylanaraps/neofetch/pull/2222))
* 🖼️ Distro - Surround macOS build number in parentheses (#28)
* 🖼️ Misc - Auto select stdout mode based on tty detection (#31)
* 🖼️ Bug Fix - Fix cols coloring reset for bash 3.2 (#24)
### 1.4.2
* 🌈 Detailed runnning/contributing instructions in README.md (#21)
* 🖼️ Distro - Add Stock Linux (#23)
* 🖼️ Distro - Add DietPi ([dylanaraps#1706](https://github.com/dylanaraps/neofetch/pull/1706))
* 🖼️ Distro - Add OmniOS illumos ([dylanaraps#2196](https://github.com/dylanaraps/neofetch/pull/2196))
* 🖼️ Distro - Add Droidian ([dylanaraps#2201](https://github.com/dylanaraps/neofetch/pull/2201))
* 🖼️ Distro - Add HamoniKR ([dylanaraps#2210](https://github.com/dylanaraps/neofetch/pull/2210))
* 🖼️ Song - Add support for TIDAL HiFi (#22)
* 🖼️ CPU - Detect multiple CPU models for ARM
* 🖼️ Misc - Better defaults: Show RAM in GiB, RAM percentage, CPU speed rounding, refresh rate
* 🖼️ Bug Fix - Fix bash 5.2 column cut off issue (#24)
### 1.4.1
* 🌈 Paginate flags (#14)
@@ -72,7 +180,7 @@ Updates to `neowofetch` begins with the emoji 🖼️
* 🌈 Add experimental Windows support (very unstable at the moment)
* 🖼️ Distro - Add ravynOS ([dylanaraps#2182](https://github.com/dylanaraps/neofetch/pull/2182))
* 🖼️ Distro - Add ChonkySealOS ([dylanaraps#2180](https://github.com/dylanaraps/neofetch/pull/2180))
* 🖼️ Distro - Add GhostBSD ([dylanaraps#2180](https://github.com/dylanaraps/neofetch/pull/2180))
* 🖼️ Distro - Add GhostBSD ([TheSudoer#18](https://github.com/hykilpikonna/hyfetch/pull/18))
* 🖼️ Distro - Add NekOS ([dylanaraps#2186](https://github.com/dylanaraps/neofetch/pull/2186))
* 🖼️ Distro - Add astOS ([dylanaraps#2185](https://github.com/dylanaraps/neofetch/pull/2185))
* 🖼️ Distro - Fix ChromeOS identification ([dylanaraps#1949](https://github.com/dylanaraps/neofetch/pull/1949))
+33 -16
View File
@@ -1,15 +1,10 @@
from __future__ import annotations
import colorsys
from typing import NamedTuple, Callable, Optional
from typing_extensions import Literal
from dataclasses import dataclass, astuple
from .constants import GLOBAL_CFG
AnsiMode = Literal['default', 'ansi', '8bit', 'rgb']
LightDark = Literal['light', 'dark']
from .types import *
MINECRAFT_COLORS = ["&0/\033[0;30m", "&1/\033[0;34m", "&2/\033[0;32m", "&3/\033[0;36m", "&4/\033[0;31m",
"&5/\033[0;35m", "&6/\033[0;33m", "&7/\033[0;37m", "&8/\033[1;30m", "&9/\033[1;34m",
@@ -84,11 +79,28 @@ def redistribute_rgb(r: int, g: int, b: int) -> tuple[int, int, int]:
return int(gray + x * r), int(gray + x * g), int(gray + x * b)
class RGB(NamedTuple):
@dataclass(unsafe_hash=True)
class HSL:
h: float
s: float
l: float
def __iter__(self):
return iter(astuple(self))
def rgb(self) -> RGB:
return RGB(*[round(v * 255.0) for v in colorsys.hls_to_rgb(self.h, self.l, self.s)])
@dataclass(unsafe_hash=True)
class RGB:
r: int
g: int
b: int
def __iter__(self):
return iter(astuple(self))
@classmethod
def from_hex(cls, hex: str) -> "RGB":
"""
@@ -100,9 +112,7 @@ class RGB(NamedTuple):
:param hex: Hex color code
:return: RGB object
"""
while hex.startswith('#'):
hex = hex[1:]
hex = hex.lstrip("#")
r = int(hex[0:2], 16)
g = int(hex[2:4], 16)
b = int(hex[4:6], 16)
@@ -177,6 +187,10 @@ class RGB(NamedTuple):
"""
return RGB(*redistribute_rgb(*[v * multiplier for v in self]))
def hsl(self) -> HSL:
h, l, s = colorsys.rgb_to_hls(*[v / 255.0 for v in self])
return HSL(h, s, l)
def set_light(self, light: float, at_least: bool | None = None, at_most: bool | None = None) -> 'RGB':
"""
Set HSL lightness value
@@ -187,16 +201,19 @@ class RGB(NamedTuple):
:return: New color (original isn't modified)
"""
# Convert to HSL
h, l, s = colorsys.rgb_to_hls(*[v / 255.0 for v in self])
hsl = self.hsl()
# Modify light value
if at_least is None and at_most is None:
l = light
hsl.l = light
else:
if at_most:
l = min(l, light)
hsl.l = min(hsl.l, light)
if at_least:
l = max(l, light)
hsl.l = max(hsl.l, light)
# Convert back to RGB
return RGB(*[round(v * 255.0) for v in colorsys.hls_to_rgb(h, l, s)])
return hsl.rgb()
def is_light(self):
return self.hsl().l > 0.5
+4 -5
View File
@@ -1,13 +1,12 @@
from __future__ import annotations
import os
from dataclasses import dataclass
from pathlib import Path
from typing_extensions import Literal
from .types import LightDark
CONFIG_PATH = Path.home() / '.config/hyfetch.json'
VERSION = '1.4.1'
VERSION = '1.4.6'
TEST_ASCII = r"""
@@ -36,10 +35,10 @@ class GlobalConfig:
debug: bool
is_light: bool
def light_dark(self) -> Literal['light', 'dark']:
def light_dark(self) -> LightDark:
return 'light' if self.is_light else 'dark'
def default_lightness(self, term: Literal['light', 'dark'] | None = None) -> float:
def default_lightness(self, term: LightDark | None = None) -> float:
if term is None:
term = self.light_dark()
return 0.65 if term.lower() == 'dark' else 0.4
@@ -2,8 +2,6 @@ from __future__ import annotations
import string
asciis: list['AsciiArt'] = []
class AsciiArt:
name: str
@@ -16,10 +14,7 @@ class AsciiArt:
self.color = color
self.ascii = ascii
self.name = name or self.get_friendly_name()
asciis.append(self)
def get_friendly_name(self) -> str:
return self.match.split("|")[0].strip(string.punctuation + '* ') \
.replace('"', '').replace('*', '')
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
aix = AsciiArt(match=r'''"AIX"*''', color='2 7', ascii=r"""
${c1} `:+ssssossossss+-`
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
almalinux = AsciiArt(match=r'''"AlmaLinux"*''', color='1 3 4 2 6', ascii=r"""
${c1} 'c:.
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
alpine = AsciiArt(match=r'''"Alpine"*''', color='4 5 7 6', ascii=r"""
${c1} .hddddddddddddddddddddddh.
+12
View File
@@ -0,0 +1,12 @@
from . import AsciiArt
alpine_small = AsciiArt(match=r'''"alpine_small"''', color='4 7', ascii=r"""
${c1} /\ /\
/${c2}/ ${c1}\ \
/${c2}/ ${c1}\ \
/${c2}// ${c1}\ \
${c2}// ${c1}\ \
\
""")
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
alter = AsciiArt(match=r'''"Alter"*''', color='6 6', ascii=r"""
${c1} %,
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
amazon = AsciiArt(match=r'''"Amazon"*''', color='3 7', ascii=r"""
${c1} `-/oydNNdyo:.`
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
amogos = AsciiArt(match=r'''"AmogOS"*''', color='15 6', ascii=r"""
${c1} ___________
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
anarchy = AsciiArt(match=r'''"Anarchy"*''', color='7 4', ascii=r"""
${c2}..${c1}
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
android = AsciiArt(match=r'''"Android"*''', color='2 7', ascii=r"""
${c1} -o o-
@@ -1,11 +1,11 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
android_small = AsciiArt(match=r'''"android_small"*''', color='2 7', ascii=r"""
${c1} ;, ,;
';,.-----.,;'
,' ',
/ O O \\
/ O O \
| |
'-----------------'
""")
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
antergos = AsciiArt(match=r'''"Antergos"*''', color='4 6', ascii=r"""
${c2} `.-/::/-``
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
antix = AsciiArt(match=r'''"antiX"*''', color='1 7 3', ascii=r"""
${c1}
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
aosc_os = AsciiArt(match=r'''"AOSC OS"*''', color='4 7 1', ascii=r"""
${c2} .:+syhhhhys+:.
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
aosc_os_retro = AsciiArt(match=r'''"AOSC OS/Retro"*''', color='4 7 1 3', ascii=r"""
${c2} .........
@@ -1,13 +1,13 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
aoscosretro_small = AsciiArt(match=r'''"aoscosretro_small"''', color='4 7 1 3', ascii=r"""
${c2} _____ ${c1}_____${c2}
-' '-${c1}| |${c2}
/ ___ ${c1}| |${c2}
| / _ \\${c1}|_____|${c2}
' / /_\\ \\
\\ / _____ \\${c4}___
| / _ \${c1}|_____|${c2}
' / /_\ \
\ / _____ \${c4}___
${c3}|${c2}/_/ ${c3}| ${c4}| |
${c3}| | ${c4}|___|
${c3}|_____|
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
aperio_gnu_linux = AsciiArt(match=r'''"Aperio GNU/Linux"*''', color='255', ascii=r"""
${c2}
+26
View File
@@ -0,0 +1,26 @@
from . import AsciiArt
aperture = AsciiArt(match=r'''"Aperture"*''', color='6 6 7 1', ascii=r"""
${c1} .,-:;//;:=,
. :H@@@MM@M#H/.,+%;,
,/X+ +M@@M@MM%=,-%HMMM@X/,
-+@MM; $M@@MH+-,;XMMMM@MMMM@+-
;@M@@M- XM@X;. -+XXXXXHHH@M@M#@/.
,%MM@@MH ,@%= .---=-=:=,.
=@#@@@MX., -%HX$$%%%:;
=-./@M@M$ .;@MMMM@MM:
X@/ -$MM/ . +MM@@@M$
,@M@H: :@: . =X#@@@@-
,@@@MMX, . /H- ;@M@M=
.H@@@@M@+, %MM+..%#$.
/MMMM@MMH/. XM@MH; =;
/%+%$XHH@$= , .H@@@@MX,
.=--------. -%H.,@@@@@MX,
.%MM@@@HHHXX$$$%+- .:$MMX =M@@MM%.
=XMMM@MM@MM#H;,-+HMM@M+ /MMMX=
=%@M@M#@$-.=$@MM@@@M; %M%=
,:+$+-,/H#MMMMMMM@= =,
=++%%%%+/:-.
""")
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
apricity = AsciiArt(match=r'''"Apricity"*''', color='4 7 1', ascii=r"""
${c2} ./o-
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
arch = AsciiArt(match=r'''"Arch"*''', color='6 6 7 1', ascii=r"""
${c1} -`
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
arch_old = AsciiArt(match=r'''"arch_old"''', color='6 7 1', ascii=r"""
${c1} __
+13
View File
@@ -0,0 +1,13 @@
from . import AsciiArt
arch_small = AsciiArt(match=r'''"arch_small"''', color='6 7 1', ascii=r"""
${c1} /\
/ \
/\ \
${c2} / \
/ ,, \
/ | | -\
/_-'' ''-_\
""")
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
archbox = AsciiArt(match=r'''"ArchBox"*''', color='2 7 1', ascii=r"""
${c1} ...:+oh/:::..
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
archcraft = AsciiArt(match=r'''"Archcraft"*''', color='6 1 2 3 4 5', ascii=r"""
${c1}${c1}${c1}
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
archlabs = AsciiArt(match=r'''"ARCHlabs"*''', color='6 6 7 1', ascii=r"""
${c1} 'c'
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
archmerge = AsciiArt(match=r'''"ArchMerge"*''', color='6 6 7 1', ascii=r"""
${c1} y:
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
archstrike = AsciiArt(match=r'''"ArchStrike"*''', color='8 6', ascii=r"""
${c1} *
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
arcolinux = AsciiArt(match=r'''"ArcoLinux"*''', color='7 4', ascii=r"""
${c2} /-
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
arcolinux_small = AsciiArt(match=r'''"arcolinux_small"*''', color='7 4', ascii=r"""
${c2} A
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
artix = AsciiArt(match=r'''"Artix"*''', color='6 6 7 1', ascii=r"""
${c1} '
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
artix_small = AsciiArt(match=r'''"artix_small"*''', color='6 6 7 1', ascii=r"""
${c1} '
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
arya = AsciiArt(match=r'''"Arya"*''', color='2 1', ascii=r"""
${c1} `oyyy/${c2}-yyyyyy+
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
asahi = AsciiArt(match=r'''"Asahi"*''', color='3 2 1 8 7 6 4', ascii=r"""
${c1} ## ${c2}**
+24
View File
@@ -0,0 +1,24 @@
from . import AsciiArt
aster = AsciiArt(match=r'''"Aster"*''', color='6 6', ascii=r"""
${c1} ...''...
${c1} .;oOXWMWNXXXNMMN0d:.
${c1} .oXMWOo;.. ..:oO;
${c1} ;KMWx, co,
${c1} 'KMNl dMMW.
${c1} oMMx xMMMMk
${c1} xMM: dMMMMMM;
${c1} cMMl dMMMMMMMW
${c1} NMK xMMMx::dXMx
${c1} ,MMl xMMN' .o.
${c1} cMM; dMMW'
${c1} ;MMc oMMW,
${c1} WMK dMMW, ccccccc.
${c1} lMMl oMMM; ooooooo.
${c1} OMMc ...
${c1} xMMx
${c1} ;XMN:
${c1} ,.
""")
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
asteroidos = AsciiArt(match=r'''"AsteroidOS"*''', color='160 208 202 214', ascii=r"""
${c1} ***
+29
View File
@@ -0,0 +1,29 @@
from . import AsciiArt
astos = AsciiArt(match=r'''"astOS"*''', color='8', ascii=r"""
${c1} oQA#$%UMn
H 9
G #
6 %
?#M#%KW3"
// \\
// \\
// \\
// \\
n%@$DK&ML .0O3#@&M_
P # 8 W
H U G #
B N O @
C&&#%HNAR 'WS3QMHB"
// \\ \\
// \\ \\
// \\ \\
// \\ \\
uURF$##Bv nKWB$%ABc aM@3R@D@b
8 M @ O # %
% & G U @ @
& @ # % % #
!HGN@MNCf t&$9#%HQr ?@G#6S@QP
""")
+23
View File
@@ -0,0 +1,23 @@
from . import AsciiArt
bedrock = AsciiArt(match=r'''"Bedrock"*''', color='8 7', 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}------
--------------------------------------
--------------------------------------
--------------------------------------
""")
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
biglinux = AsciiArt(match=r'''"BigLinux"*''', color='6 11 4', ascii=r"""
${c1} ...
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
bitrig = AsciiArt(match=r'''"Bitrig"*''', color='2 7', ascii=r"""
${c1} `hMMMMN+
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
blackarch = AsciiArt(match=r'''"BlackArch"*''', color='1 1 0 1', ascii=r"""
${c3} 00
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
blackpanther = AsciiArt(match=r'''"blackPanther"* | 'blackpanther'*''', color='1 11 12', ascii=r"""
${c3} ........
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
blag = AsciiArt(match=r'''"BLAG"*''', color='5 7', ascii=r"""
${c1} d
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
blankon = AsciiArt(match=r'''"BlankOn"*''', color='1 7 3', ascii=r"""
${c2} `./ohdNMMMMNmho+.` ${c1} .+oo:`
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
bluelight = AsciiArt(match=r'''"BlueLight"*''', color='7 4', ascii=r"""
${c1} oMMNMMMMMMMMMMMMMMMMMMMMMM
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
bodhi = AsciiArt(match=r'''"Bodhi"*''', color='7 11 2', ascii=r"""
${c1}| ${c2},,mmKKKKKKKKWm,,
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
bonsai = AsciiArt(match=r'''"bonsai"*''', color='6 2 3', ascii=r"""
${c2} ,####,
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
bsd = AsciiArt(match=r'''*"BSD"''', color='1 7 4 3 6', ascii=r"""
${c1} , ,
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
bunsenlabs = AsciiArt(match=r'''"BunsenLabs"*''', color='fg 7', ascii=r"""
${c1} `++
+28
View File
@@ -0,0 +1,28 @@
from . import AsciiArt
cachyos = AsciiArt(match=r'''"CachyOS"*''', color='2 8 6', ascii=r"""
${c3} ${c2}.${c3}-------------------------:
${c3} .${c1}+=${c3}========================.
${c3} :${c1}++${c3}===${c1}++===${c3}===============- :${c1}++${c3}-
${c3} :${c1}*++${c3}====${c1}+++++==${c3}===========- .==:
${c3} -${c1}*+++${c3}=====${c1}+***++=${c3}=========:
${c3} =${c1}*++++=${c3}=======------------:
${c3} =${c1}*+++++=${c3}====- ${c2}...${c3}
${c3} .${c1}+*+++++${c3}=-===: .${c1}=+++=${c3}:
${c3} :${c1}++++${c3}=====-==: -***${c1}**${c3}+
${c3} :${c1}++=${c3}=======-=. .=+**+${c2}.${c3}
${c3}.${c1}+${c3}==========-. ${c2}.${c3}
${c3} :${c1}+++++++${c3}====- ${c2}.${c3}--==-${c2}.${c3}
${c3} :${c1}++${c3}==========. ${c2}:${c1}+++++++${c3}${c2}:
${c3} .-===========. =*****+*+
${c3} .-===========: .+*****+:
${c3} -=======${c1}++++${c3}:::::::::::::::::::::::::-: ${c2}.${c3}---:
${c3} :======${c1}++++${c3}====${c1}+++******************=.
${c3} :=====${c1}+++${c3}==========${c1}++++++++++++++*-
${c3} .====${c1}++${c3}==============${c1}++++++++++*-
${c3} .===${c1}+${c3}==================${c1}+++++++:
${c3} .-=======================${c1}+++:
${c3} ${c2}..........................
""")
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
calculate = AsciiArt(match=r'''"Calculate"*''', color='7 3', ascii=r"""
${c1} ......
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
calinixos = AsciiArt(match=r'''"CalinixOS"''', color='4 5 4 4 4 4', ascii=r"""
${c2}
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
calinixos_small = AsciiArt(match=r'''"CalinixOS_small"*''', color='4 5 4 4 4 4', ascii=r"""
${c2}
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
carbs = AsciiArt(match=r'''"Carbs"*''', color='4 5 4 4 4 4', ascii=r"""
${c2} ..........
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
cbl_mariner = AsciiArt(match=r'''"CBL-Mariner"*''', color='6', ascii=r"""
${c1} .
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
celos = AsciiArt(match=r'''"CelOS"*''', color='4 6 0 5', ascii=r"""
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
center = AsciiArt(match=r'''"Center"*''', color='7 7', ascii=r"""
${c2} .
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
centos = AsciiArt(match=r'''"CentOS"*''', color='3 2 4 5 7', ascii=r"""
${c1} ..
@@ -1,13 +1,13 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
centos_small = AsciiArt(match=r'''"centos_small"*''', color='3 2 4 5 7', ascii=r"""
${c2} ____${c1}^${c4}____
${c2} |\\ ${c1}|${c4} /|
${c2} | \\ ${c1}|${c4} / |
${c2} |\ ${c1}|${c4} /|
${c2} | \ ${c1}|${c4} / |
${c4}<---- ${c3}---->
${c3} | / ${c2}|${c1} \\ |
${c3} |/__${c2}|${c1}__\\|
${c3} | / ${c2}|${c1} \ |
${c3} |/__${c2}|${c1}__\|
${c2} v
""")
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
chakra = AsciiArt(match=r'''"Chakra"*''', color='4 5 7 6', ascii=r"""
${c1} _ _ _ "kkkkkkkk.
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
chaletos = AsciiArt(match=r'''"ChaletOS"*''', color='4 7 1', ascii=r"""
${c1} `.//+osso+/:``
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
chapeau = AsciiArt(match=r'''"Chapeau"*''', color='2 7', ascii=r"""
${c1} .-/-.
+27
View File
@@ -0,0 +1,27 @@
from . import AsciiArt
chonkysealos = AsciiArt(match=r'''"ChonkySealOS"*''', color='7', ascii=r"""
${c1} .-/-.
.:-=++****++=-:.
.:=+*##%%%%%%%%%%##*+=:.
:=*#%%%%%%%%%%%%%%%%%%%%#*=:
:=*#%%%%%%%%%%%%%%%%%%%%%%%%#*=.
-+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%#+-
=+#%%%%@@@@@@@%%%%%%%@@@@@@@%%%%%#+=
=+#@%%%%*+=-==*%%%%%%%#+====*%%%%%@#+=
:+*%%%%@* +@%%%@# -@%%%%%*+:
=+#%%%%%%#+====*###%%##*=--=+*%%%%%%%#+=
+*%%%%%%%@@##%%%%*=::=#%%%##%@%%%%%%%%*+
+*%%%%%%%@**@%%%%%@==@%%%%%@+#%%%%%%%%*+
=+#%%%%%%@#*@%%%%%%**%%%%%@%+%%%%%%%%#+=
:+*%%%%%%%@#*####**###*####*%@%%%%%%%*+:
=+#@%%%%%%@%%%%%%%@@%%%%%%%%%%%%%%@#+=
=+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%#+=
-+#%%%%%%%%%%%%%%%%%%%%%%%%%%%%*+-
.=*#%%%%%%%%%%%%%%%%%%%%%%%%#*=.
:=*##%%%%%%%%%%%%%%%%%%##*=:
.:=+*##%%%%%%%%%%##*+=:.
.:-=++****++=-:.
""")
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
chrom = AsciiArt(match=r'''"Chrom"*''', color='2 1 3 4 7', ascii=r"""
${c2} .,:loool:,.
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
cleanjaro = AsciiArt(match=r'''"Cleanjaro"*''', color='7 7', ascii=r"""
${c1}
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
cleanjaro_small = AsciiArt(match=r'''"cleanjaro_small"*''', color='7 7', ascii=r"""
${c1}
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
clear_linux_os = AsciiArt(match=r'''"Clear Linux OS"* | "Clear_Linux"*''', color='4 3 7 6', ascii=r"""
${c1} BBB
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
clearos = AsciiArt(match=r'''"ClearOS"*''', color='2', ascii=r"""
${c1} `.--::::::--.`
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
clover = AsciiArt(match=r'''"Clover"*''', color='2 6', ascii=r"""
${c1} `omo``omo`
+22
View File
@@ -0,0 +1,22 @@
from . import AsciiArt
cobalt = AsciiArt(match=r'''"Cobalt"*''', color='33 33 59 31 8', ascii=r"""
${c1} ///
${c1} ,//////////////
${c1} ///////////////////////////////
${c1} ///////////////${c5}***********${c1}//////
////${c5}***********************${c1}/////
/////${c5}***********************${c1}////
//////${c5},,,,,,,,,,,,,,,,,,,,,,${c1}///
//////${c5},,,,,,,,,,,,,,,,,,,,,,,,,${c1}/////
/////${c5},,,,,,,,,,,,,,,,,,,,,,,,,,,,${c1}/////
${c4} *****${c3},,,,,,,,,,,,,,,,,,,,,,,,,,,,,${c4}*****
******${c3},,,,,,,,,,,,,,,,,,,,,,,,,,,,${c4}*****
*******${c3},,,,,,,,,,,,,,,,,,,,,,,,,${c4}******
*******${c3}......................${c4}*******
******${c3}....${c4}***********************
****************************
*****
""")
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
condres = AsciiArt(match=r'''"Condres"*''', color='2 3 6', ascii=r"""
${c1}syyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy+${c3}.+.
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
container_linux_by_coreos = AsciiArt(match=r'''"Container Linux by CoreOS"* | "Container_Linux"*''', color='4 7 1', ascii=r"""
${c1} .....
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
crux = AsciiArt(match=r'''"CRUX"*''', color='4 5 7 6', ascii=r"""
${c1} odddd
@@ -1,13 +1,13 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
crux_small = AsciiArt(match=r'''"crux_small" | KISS*''', color='4 5 7 6', ascii=r"""
${c1} ___
(${c3}.· ${c1}|
(${c2}<> ${c1}|
/ ${c3}__ ${c1}\\
( ${c3}/ \\ ${c1}/|
${c2}_${c1}/\\ ${c3}__)${c1}/${c2}_${c1})
/ ${c3}__ ${c1}\
( ${c3}/ \ ${c1}/|
${c2}_${c1}/\ ${c3}__)${c1}/${c2}_${c1})
${c2}\/${c1}-____${c2}\/
""")
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
crystal_linux = AsciiArt(match=r'''*"Crystal Linux"*''', color='13 5', ascii=r"""
${c1} mysssym
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
cucumber = AsciiArt(match=r'''*"Cucumber"*''', color='2 3', ascii=r"""
${c1} `.-://++++++//:-.`
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
cutefishos = AsciiArt(match=r'''"CutefishOS"*''', color='6 7 4', ascii=r"""
${c1} ___ww___
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
cyberos = AsciiArt(match=r'''"CyberOS"*''', color='50 32 57', ascii=r"""
${c3} !M$EEEEEEEEEEEP
@@ -7,7 +7,7 @@ ${c3} !M$EEEEEEEEEEEP
${c3}&MMMMMM${c2}MMMMMMMMMMMMM9
${c3}~MMM${c1}MMMM${c2}MMMMMMMMMMMMC
${c1}" ${c3}M${c1}MMMMMMM${c2}MMMMMMMMMMs
${c1}iM${c2}MMM&&${c1}MMMMMMMM${c2}MMMMMMMM\\
${c1}iM${c2}MMM&&${c1}MMMMMMMM${c2}MMMMMMMM\
${c1}BMMM${c2}MMMMM${c1}MMMMMMM${c2}MMMMMM${c3}"
${c1}9MMMMM${c2}MMMMMMM${c1}MMMM${c2}MMMM${c3}MMMf-
${c2}sMMMMMMMM${c1}MM${c2}M${c3}MMMMMMMMM3_
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
dahlia = AsciiArt(match=r'''"dahlia"*''', color='1 7 3', ascii=r"""
${c1}
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
darkos = AsciiArt(match=r'''"DarkOs"''', color='1 6 5 3 2', ascii=r"""
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
darwin = AsciiArt(match=r'''"Darwin"''', color='2 3 1 1 5 4', ascii=r"""
${c1} c.'
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
debian = AsciiArt(match=r'''"Debian"*''', color='1 7 3', ascii=r"""
${c2} _,met$$$$$gg.
@@ -1,11 +1,11 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
debian_small = AsciiArt(match=r'''"debian_small"''', color='1 7 3', ascii=r"""
${c1} _____
/ __ \\
/ __ \
| / |
| \\___-
| \___-
-_
--_
""")
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
deepin = AsciiArt(match=r'''"Deepin"*''', color='2 7', ascii=r"""
${c1} ............
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
desaos = AsciiArt(match=r'''"DesaOS"''', color='2 7', ascii=r"""
${c1}
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
devuan = AsciiArt(match=r'''"Devuan"*''', color='5 7', ascii=r"""
${c1} ..,,;;;::;,..
+25
View File
@@ -0,0 +1,25 @@
from . import AsciiArt
dietpi = AsciiArt(match=r'''"DietPi"*''', color='2 0', 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}@%@@@@@@@@+
#@@@@@@@@@@@@@@@@@@@@@@#
-#@@@@@@@@@@@@@@@@@@#-
-*%@@@@@@@@@@%*-
.+%@@@@%+.
""")
File diff suppressed because it is too large Load Diff
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
dracos = AsciiArt(match=r'''"DracOS"*''', color='1 7 3', ascii=r"""
${c1} `-:/-
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
dragonfly = AsciiArt(match=r'''"DragonFly"*''', color='1 7 3', ascii=r"""
${c2},--, ${c1}| ${c2},--,
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
dragonfly_old = AsciiArt(match=r'''"dragonfly_old"*''', color='1 7 3', ascii=r"""
${c1} .-.
@@ -8,16 +8,16 @@ dragonfly_old = AsciiArt(match=r'''"dragonfly_old"*''', color='1 7 3', ascii=r""
"==.__/~|~\__.=="
"==._( Y )_.=="
${c2}.-'~~""~=--...,__${c1}\/|\/${c2}__,...--=~""~~'-.
( ..=${c1}\\=${c1}/${c2}=.. )
`'-. ,.-"`;${c1}/=\\${c2};"-.,_ .-'`
( ..=${c1}\=${c1}/${c2}=.. )
`'-. ,.-"`;${c1}/=\${c2};"-.,_ .-'`
`~"-=-~` .-~` ${c1}|=|${c2} `~-. `~-=-"~`
.-~` /${c1}|=|${c2}\ `~-.
.~` / ${c1}|=|${c2} \ `~.
.-~` .' ${c1}|=|${c2} `. `~-.
(` _,.-="` ${c1} |=|${c2} `"=-.,_ `)
`~"~"` ${c1} |=|${c2} `"~"~`
${c1} /=\\
\\=/
${c1} /=\
\=/
^
""")
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
dragonfly_small = AsciiArt(match=r'''"dragonfly_small"*''', color='1 7 3', ascii=r"""
${c2} ,${c1}_${c2},
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
drauger = AsciiArt(match=r'''"Drauger"*''', color='1 7', ascii=r"""
${c1} -``-
+21
View File
@@ -0,0 +1,21 @@
from . import AsciiArt
droidian = AsciiArt(match=r'''"Droidian"*''', color='2 10', ascii=r"""
${c2} _,met$$$$$gg.
,g$$$$$$$$$$$$$$$$P.
,$$P' `$$$.
',$$P ,ggs. `$$b:
`d$$' ,$P"' ${c1}.${c2} $$$
$$P d$' ${c1},${c2} $$P
$$: $$. ${c1}-${c2} ,d$$'
$$; Y$b._ _,d$P'
Y$$. ${c1}`.${c2}`"Y$$$$P"'
${c2} `$$b ${c1}"-.__
${c2} `Y$$
`Y$$.
`$$b.
`Y$$b.
`"Y$b._
""")
@@ -1,5 +1,5 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
elementary = AsciiArt(match=r'''"Elementary"*''', color='4 7 1', ascii=r"""
${c2} eeeeeeeeeeeeeeeee
@@ -1,12 +1,12 @@
from hyfetch.distro import AsciiArt
from . import AsciiArt
elementary_small = AsciiArt(match=r'''"elementary_small"*''', color='4 7 1', ascii=r"""
${c2} _______
/ ____ \\
/ | / /\\
|__\\ / / |
\\ /__/ /
\\_______/
/ ____ \
/ | / /\
|__\ / / |
\ /__/ /
\_______/
""")

Some files were not shown because too many files have changed in this diff Show More