Compare commits
14 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 7bb049ea20 | |||
| 73becf78c4 | |||
| 7f949fe6b2 | |||
| 9abdae5fb4 | |||
| 6ff45d0edd | |||
| 99f99efc1c | |||
| 0c08b3950f | |||
| 2fc419476d | |||
| abac3b2bb3 | |||
| 43924305b9 | |||
| 29f771caec | |||
| 35f5e6eec9 | |||
| 0a7356a560 | |||
| 6a5edd037a |
@@ -6,12 +6,21 @@ neofetch with pride flags <3
|
|||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
|
### Method 1: Install using Python pip (Recommended)
|
||||||
|
|
||||||
Install Python >= 3.7 first. Then, just do:
|
Install Python >= 3.7 first. Then, just do:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
pip install hyfetch
|
pip install hyfetch
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### Method 2: Install using system package manager
|
||||||
|
|
||||||
|
Currently, these distributions have existing packages for HyFetch:
|
||||||
|
|
||||||
|
* ArchLinux: `yay -S hyfetch` (Thanks to @ Aleksana)
|
||||||
|
* Guix: [In progress](https://issues.guix.gnu.org/54847#8-lineno27)
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
When you run `hyfetch` for the first time, it will prompt you to choose a color system and a preset. Just follow the prompt, and everything should work (hopefully). If something doesn't work, feel free to submit an issue!
|
When you run `hyfetch` for the first time, it will prompt you to choose a color system and a preset. Just follow the prompt, and everything should work (hopefully). If something doesn't work, feel free to submit an issue!
|
||||||
@@ -34,6 +43,19 @@ Feel free to experiment with it!
|
|||||||
|
|
||||||
## Change Log
|
## Change Log
|
||||||
|
|
||||||
|
### TODO
|
||||||
|
|
||||||
|
* [ ] Add interactive configurator for adjusting brightness
|
||||||
|
* [ ] Add configuration to emphasize certain parts of the original ASCII art (to make icons like Fedora and Ubuntu look nicer)
|
||||||
|
|
||||||
|
### 1.0.5
|
||||||
|
|
||||||
|
* Fix terminal emulator detection ([PR #2](https://github.com/hykilpikonna/hyfetch/pull/2))
|
||||||
|
|
||||||
|
### 1.0.4
|
||||||
|
|
||||||
|
* Add more flags ([PR #1](https://github.com/hykilpikonna/hyfetch/pull/1))
|
||||||
|
|
||||||
### 1.0.3
|
### 1.0.3
|
||||||
|
|
||||||
* Fix missing dependency for setuptools
|
* Fix missing dependency for setuptools
|
||||||
@@ -53,6 +75,9 @@ Feel free to experiment with it!
|
|||||||
## More Screenshots
|
## More Screenshots
|
||||||
|
|
||||||

|

|
||||||
|

|
||||||
|
|
||||||
|
## Original Readme from Neofetch Below
|
||||||
|
|
||||||
<h3 align="center"><img src="https://i.imgur.com/ZQI2EYz.png" alt="logo" height="100px"></h3>
|
<h3 align="center"><img src="https://i.imgur.com/ZQI2EYz.png" alt="logo" height="100px"></h3>
|
||||||
<p align="center">A command-line system information tool written in bash 3.2+</p>
|
<p align="center">A command-line system information tool written in bash 3.2+</p>
|
||||||
|
|||||||
+1
-1
@@ -2,7 +2,7 @@ from __future__ import annotations
|
|||||||
from . import main
|
from . import main
|
||||||
|
|
||||||
|
|
||||||
__version__ = '1.0.3'
|
__version__ = '1.0.5'
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
|
|||||||
+126
-1
@@ -81,7 +81,6 @@ class ColorProfile:
|
|||||||
result += '\033[0m'
|
result += '\033[0m'
|
||||||
return result
|
return result
|
||||||
|
|
||||||
|
|
||||||
PRESETS: dict[str, ColorProfile] = {
|
PRESETS: dict[str, ColorProfile] = {
|
||||||
'rainbow': ColorProfile([
|
'rainbow': ColorProfile([
|
||||||
'#E50000',
|
'#E50000',
|
||||||
@@ -157,4 +156,130 @@ PRESETS: dict[str, ColorProfile] = {
|
|||||||
'#ABABAB',
|
'#ABABAB',
|
||||||
'#000000'
|
'#000000'
|
||||||
]),
|
]),
|
||||||
|
# below sourced from https://www.flagcolorcodes.com/flags/pride
|
||||||
|
# goto f"https://www.flagcolorcodes.com/{preset}" for info
|
||||||
|
# todo: sane sorting
|
||||||
|
'autosexual': ColorProfile([
|
||||||
|
'#99D9EA',
|
||||||
|
'#7F7F7F'
|
||||||
|
]),
|
||||||
|
'intergender': ColorProfile([
|
||||||
|
# todo: use weighted spacing
|
||||||
|
'#900DC2',
|
||||||
|
'#900DC2',
|
||||||
|
'#FFE54F',
|
||||||
|
'#900DC2',
|
||||||
|
'#900DC2',
|
||||||
|
]),
|
||||||
|
'greygender': ColorProfile([
|
||||||
|
'#B3B3B3',
|
||||||
|
'#B3B3B3',
|
||||||
|
'#FFFFFF',
|
||||||
|
'#062383',
|
||||||
|
'#062383',
|
||||||
|
'#FFFFFF',
|
||||||
|
'#535353',
|
||||||
|
'#535353',
|
||||||
|
]),
|
||||||
|
'akiosexual': ColorProfile([
|
||||||
|
'#F9485E',
|
||||||
|
'#FEA06A',
|
||||||
|
'#FEF44C',
|
||||||
|
'#FFFFFF',
|
||||||
|
'#000000',
|
||||||
|
]),
|
||||||
|
'transmasculine': ColorProfile([
|
||||||
|
'#FF8ABD',
|
||||||
|
'#CDF5FE',
|
||||||
|
'#9AEBFF',
|
||||||
|
'#74DFFF',
|
||||||
|
'#9AEBFF',
|
||||||
|
'#CDF5FE',
|
||||||
|
'#FF8ABD',
|
||||||
|
]),
|
||||||
|
'demifaun': ColorProfile([
|
||||||
|
'#7F7F7F',
|
||||||
|
'#7F7F7F',
|
||||||
|
'#C6C6C6',
|
||||||
|
'#C6C6C6',
|
||||||
|
'#FCC688',
|
||||||
|
'#FFF19C',
|
||||||
|
'#FFFFFF',
|
||||||
|
'#8DE0D5',
|
||||||
|
'#9682EC',
|
||||||
|
'#C6C6C6',
|
||||||
|
'#C6C6C6',
|
||||||
|
'#7F7F7F',
|
||||||
|
'#7F7F7F',
|
||||||
|
]),
|
||||||
|
'neutrois': ColorProfile([
|
||||||
|
'#FFFFFF',
|
||||||
|
'#1F9F00',
|
||||||
|
'#000000'
|
||||||
|
]),
|
||||||
|
'biromantic alt 2': ColorProfile([
|
||||||
|
'#8869A5',
|
||||||
|
'#D8A7D8',
|
||||||
|
'#FFFFFF',
|
||||||
|
'#FDB18D',
|
||||||
|
'#151638',
|
||||||
|
]),
|
||||||
|
'biromantic alt 2': ColorProfile([
|
||||||
|
'#740194',
|
||||||
|
'#AEB1AA',
|
||||||
|
'#FFFFFF',
|
||||||
|
'#AEB1AA',
|
||||||
|
'#740194',
|
||||||
|
]),
|
||||||
|
'autoromantic': ColorProfile([ # symbol interpreted
|
||||||
|
'#99D9EA',
|
||||||
|
'#99D9EA',
|
||||||
|
'#99D9EA',
|
||||||
|
'#99D9EA',
|
||||||
|
'#99D9EA',
|
||||||
|
'#000000',
|
||||||
|
'#3DA542',
|
||||||
|
'#3DA542',
|
||||||
|
'#000000',
|
||||||
|
'#7F7F7F',
|
||||||
|
'#7F7F7F',
|
||||||
|
'#7F7F7F',
|
||||||
|
'#7F7F7F',
|
||||||
|
'#7F7F7F',
|
||||||
|
]),
|
||||||
|
# i didn't expect this one to work. cool!
|
||||||
|
'boyflux alt 2': ColorProfile([
|
||||||
|
'#E48AE4',
|
||||||
|
'#9A81B4',
|
||||||
|
'#55BFAB',
|
||||||
|
'#FFFFFF',
|
||||||
|
'#A8A8A8',
|
||||||
|
'#81D5EF',
|
||||||
|
'#81D5EF',
|
||||||
|
'#81D5EF',
|
||||||
|
'#81D5EF',
|
||||||
|
'#81D5EF',
|
||||||
|
'#69ABE5',
|
||||||
|
'#69ABE5',
|
||||||
|
'#69ABE5',
|
||||||
|
'#69ABE5',
|
||||||
|
'#69ABE5',
|
||||||
|
'#69ABE5',
|
||||||
|
'#69ABE5',
|
||||||
|
'#69ABE5',
|
||||||
|
'#69ABE5',
|
||||||
|
'#69ABE5',
|
||||||
|
'#5276D4',
|
||||||
|
'#5276D4',
|
||||||
|
'#5276D4',
|
||||||
|
'#5276D4',
|
||||||
|
'#5276D4',
|
||||||
|
'#5276D4',
|
||||||
|
'#5276D4',
|
||||||
|
'#5276D4',
|
||||||
|
'#5276D4',
|
||||||
|
'#5276D4',
|
||||||
|
]),
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3315,7 +3315,7 @@ get_term() {
|
|||||||
name="$(get_process_name "$parent")"
|
name="$(get_process_name "$parent")"
|
||||||
|
|
||||||
case ${name// } in
|
case ${name// } in
|
||||||
"${SHELL/*\/}"|*"sh"|"screen"|"su"*|"newgrp") ;;
|
"${SHELL/*\/}"|*"sh"|"screen"|"su"*|"newgrp"|"hyfetch") ;;
|
||||||
|
|
||||||
"login"*|*"Login"*|"init"|"(init)")
|
"login"*|*"Login"*|"init"|"(init)")
|
||||||
term="$(tty)"
|
term="$(tty)"
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ setup(
|
|||||||
packages=['hyfetch'],
|
packages=['hyfetch'],
|
||||||
package_data={'hyfetch': ['hyfetch/*']},
|
package_data={'hyfetch': ['hyfetch/*']},
|
||||||
include_package_data=True,
|
include_package_data=True,
|
||||||
install_requires=['setuptools', 'hypy_utils==1.0.6', 'typing_extensions'],
|
install_requires=['setuptools', 'hypy_utils>=1.0.6', 'typing_extensions'],
|
||||||
entry_points={
|
entry_points={
|
||||||
"console_scripts": [
|
"console_scripts": [
|
||||||
"hyfetch=hyfetch.main:run",
|
"hyfetch=hyfetch.main:run",
|
||||||
|
|||||||
Reference in New Issue
Block a user