mirror of
https://github.com/SpyHoodle/PrideFetch.git
synced 2024-11-12 22:55:43 +00:00
61 lines
1.2 KiB
Markdown
61 lines
1.2 KiB
Markdown
# pridefetch 🏳️⚧️
|
|
|
|
![pridefetch screenshot](https://file.coffee/u/J0dk4lIjU5Wmdu.png)<br>
|
|
Python fetch script for showing your favourite pride flags & system info!<br>
|
|
Forked from [megabytesofrem/pridefetch](https://github.com/megabytesofrem/pridefetch).<br>
|
|
|
|
## Examples
|
|
|
|
#### Display a trans flag
|
|
|
|
`pridefetch -f trans`
|
|
|
|
#### Display either a trans or lesbian flag, with a 50/50 chance
|
|
|
|
`pridefetch -r trans,lesbian`
|
|
|
|
#### List all the available flags
|
|
|
|
`pridefetch -l`
|
|
|
|
#### Display help with pridefetch
|
|
|
|
`pridefetch -h`
|
|
|
|
## Quickstart
|
|
|
|
**Requirements:** `Python 3.7` or higher and `python-distro`
|
|
```bash
|
|
git clone https://github.com/SpyHoodle/pridefetch.git
|
|
cd pridefetch
|
|
chmod +x pridefetch
|
|
```
|
|
|
|
Then, run pridefetch
|
|
|
|
```bash
|
|
./pridefetch
|
|
```
|
|
|
|
You can also add pridefetch to your `$PATH` to run it anywhere<br>
|
|
|
|
```bash
|
|
mv pridefetch /usr/bin/
|
|
```
|
|
|
|
## Running on NixOS
|
|
#### If your system supports flakes
|
|
> ⚠ Note: This has only been tried on x86_64-linux; while it may work if your system is something different I have only tested it
|
|
You can run pridefetch quickly
|
|
|
|
```bash
|
|
nix run github:SpyHoodle/pridefetch -- -f trans
|
|
```
|
|
|
|
Or install it
|
|
|
|
```
|
|
nix profile install github:SpyHoodle/pridefetch
|
|
pridefetch -f trans
|
|
```
|