Add pywal support for automated color theme

This commit is contained in:
Ram 2023-10-13 23:01:40 +05:30
parent 47135c131c
commit a71556a8b7
3 changed files with 32 additions and 0 deletions

View File

@ -517,6 +517,20 @@ Same thing can be done with `openbox` by adding these lines to **`rc.xml`** file
</keybind> </keybind>
</keyboard> </keyboard>
``` ```
#### Pywal Support
You can use [pywal](https://github.com/dylanaraps/pywal) to generate colorschemes for rofi.
**`To use pywal colorschemes` :** Edit `~/.config/rofi/launchers/type-X/shared/colors.rasi` file and edit the following line to use the color-scheme you like.
***dark theme***
```css
@import "~/.config/rofi/colors/pywal-dark.rasi"
```
***light theme***
```css
@import "~/.config/rofi/colors/pywal-light.rasi"
```
## FYI ## FYI

View File

@ -0,0 +1,9 @@
/**
*
* Author : Ram
* Github : @r4mbhardwaj
*
* Colors
**/
@import "~/.cache/wal/colors-rofi-dark.rasi"

View File

@ -0,0 +1,9 @@
/**
*
* Author : Ram
* Github : @r4mbhardwaj
*
* Colors
**/
@import "~/.cache/wal/colors-rofi-light.rasi"