Compare commits

...

14 Commits

Author SHA1 Message Date
Azalea (on HyDEV-Daisy) 7bb049ea20 [U] Release v1.0.5 2022-04-25 03:23:50 -04:00
Hykilpikonna 73becf78c4 [U] Update changelog 2022-04-25 03:22:54 -04:00
Hykilpikonna 7f949fe6b2 [PR] #2 coloursofnoise - Fix terminal emulator detection
Fix terminal emulator detection
2022-04-25 03:21:51 -04:00
coloursofnoise 9abdae5fb4 Fix terminal emulator detection 2022-04-20 13:03:07 -07:00
Azalea (on HyDEV-Daisy) 6ff45d0edd [+] Add AUR package 2022-04-16 00:45:15 -04:00
Hykilpikonna 99f99efc1c [U] Link pull request 2022-04-14 19:35:58 -04:00
Azalea (on HyDEV-Daisy) 0c08b3950f [U] Update changelog 2022-04-14 19:34:48 -04:00
Azalea (on HyDEV-Daisy) 2fc419476d [U] Release v1.0.4 - more flags! 2022-04-14 19:33:56 -04:00
Hykilpikonna abac3b2bb3 [PR] Merge pull request #1 from SadiePi/flagcolorcodes
Add some flags from flagcolorcodes.com
2022-04-12 14:29:53 -04:00
Azalea (on HyDEV-Daisy) 43924305b9 [U] Dynamic dependency version 2022-04-11 01:45:15 -04:00
Sadie Dotzler 29f771caec remove temporary alias 2022-04-10 22:04:45 -07:00
Sadie Dotzler 35f5e6eec9 flagcolorcodes page 1 2022-04-10 21:51:21 -07:00
Hykilpikonna 0a7356a560 [U] Update todo list 2022-04-10 23:50:13 -04:00
Hykilpikonna 6a5edd037a [U] Add nixos readme 2022-04-10 23:43:11 -04:00
5 changed files with 154 additions and 4 deletions
+25
View File
@@ -6,12 +6,21 @@ neofetch with pride flags <3
## Installation
### Method 1: Install using Python pip (Recommended)
Install Python >= 3.7 first. Then, just do:
```sh
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
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
### 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
* Fix missing dependency for setuptools
@@ -53,6 +75,9 @@ Feel free to experiment with it!
## More Screenshots
![image](https://user-images.githubusercontent.com/22280294/162614578-3b878abb-2a32-4427-997e-f90b3f5cfd7c.png)
![image](https://user-images.githubusercontent.com/22280294/162661621-f1c61338-7857-4d3f-9fe3-c6b635d68c38.png)
## Original Readme from Neofetch Below
<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>
+1 -1
View File
@@ -2,7 +2,7 @@ from __future__ import annotations
from . import main
__version__ = '1.0.3'
__version__ = '1.0.5'
if __name__ == '__main__':
+126 -1
View File
@@ -81,7 +81,6 @@ class ColorProfile:
result += '\033[0m'
return result
PRESETS: dict[str, ColorProfile] = {
'rainbow': ColorProfile([
'#E50000',
@@ -157,4 +156,130 @@ PRESETS: dict[str, ColorProfile] = {
'#ABABAB',
'#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',
]),
}
+1 -1
View File
@@ -3315,7 +3315,7 @@ get_term() {
name="$(get_process_name "$parent")"
case ${name// } in
"${SHELL/*\/}"|*"sh"|"screen"|"su"*|"newgrp") ;;
"${SHELL/*\/}"|*"sh"|"screen"|"su"*|"newgrp"|"hyfetch") ;;
"login"*|*"Login"*|"init"|"(init)")
term="$(tty)"
+1 -1
View File
@@ -32,7 +32,7 @@ setup(
packages=['hyfetch'],
package_data={'hyfetch': ['hyfetch/*']},
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={
"console_scripts": [
"hyfetch=hyfetch.main:run",