| Crates.io | ruin |
| lib.rs | ruin |
| version | 1.6.0 |
| created_at | 2024-01-07 23:41:24.639575+00 |
| updated_at | 2024-04-13 18:32:48.648874+00 |
| description | Battery indicator as wallpaper |
| homepage | |
| repository | https://github.com/unixpariah/ruin.git |
| max_upload_size | |
| id | 1092088 |
| size | 64,085 |
Install Ruin:
cargo install ruin
Run the script:
ruin
If you want to set the wallpaper for specific screens (the default behavior is to set the wallpaper on all screens), use the following command:
ruin -s 0 1
If you want to modify the refresh interval (the default is every 5 seconds), use this command:
ruin -t 1
Create an image with a #8FBCBB color. Use the following ImageMagick command to convert your image:
convert input_image.png -fill "#8fbcbb" -colorize 100% output_image.png
Copy your image to the config directory:
cp ./output_image.png ~/.config/ruin/images
Run Ruin with the name of your image as an argument:
ruin output_image
Open the colorschemes.yaml file:
vim ~/.config/ruin/colorschemes.yaml
Add your custom color scheme (colors should be in rgb):
example:
charging: [r, g, b]
default: [r, g, b]
low_battery: [r, g, b]
background: [r, g, b]
Run the script
ruin example
Inspired by bain.