1 unstable release
0.1.0 | Feb 16, 2022 |
---|
#5 in #pride
21KB
442 lines
🌈 prideful
(in development)
A CLI-based pride flag generator written in Rust.
How to run
Install the project using cargo
.
cargo install prideful
Usage
To display a flag, run prideful
with the flag of your choice. For example, prideful classic
. To get the list of command-line options, run prideful --help
. Run prideful --list
to list available flags.
List of default flags:
classic
pastel
les
gay
bi
trans
enby
agen
ace
aro
pan
queer
Config
The config file is located in $XDG_CONFIG_HOME/prideful/prideful.yml
, usually ~/.config/prideful/prideful.yml
.
Flags are defined using YAML syntax, which means that adding new flags should be very easy.
Example snippets from the default config:
# Left is the color code in hexadecimal notation, right is the height of the stripe.
classic:
- [ "#E50000", 2 ]
- [ "#FF8D00", 2 ]
- [ "#FFEE00", 2 ]
- [ "#028121", 2 ]
- [ "#004CFF", 2 ]
- [ "#770088", 2 ]
bi:
- [ "#D60270", 4 ]
- [ "#9B4F96", 3 ]
- [ "#0038A8", 4 ]
trans:
- [ "#5BCFFB", 2 ]
- [ "#F5ABB9", 2 ]
- [ "#FFFFFF", 2 ]
- [ "#F5ABB9", 2 ]
- [ "#5BCFFB", 2 ]
Contributors
Supporting this project
This project is free and open-source and will always be that way.
Development takes time and resources. If you like this project, consider donating as even a small amount goes a long way.
License
This program is written under the GPLv3 license.
Dependencies
~2–12MB
~97K SLoC