mirror of
https://github.com/adi1090x/rofi
synced 2025-12-07 17:29:11 +01:00
Add pywal support for automated color theme
This commit is contained in:
parent
47135c131c
commit
a71556a8b7
3 changed files with 32 additions and 0 deletions
14
README.md
14
README.md
|
|
@ -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
|
||||||
|
|
||||||
|
|
|
||||||
9
files/colors/pywal-dark.rasi
Normal file
9
files/colors/pywal-dark.rasi
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Ram
|
||||||
|
* Github : @r4mbhardwaj
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
@import "~/.cache/wal/colors-rofi-dark.rasi"
|
||||||
9
files/colors/pywal-light.rasi
Normal file
9
files/colors/pywal-light.rasi
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
/**
|
||||||
|
*
|
||||||
|
* Author : Ram
|
||||||
|
* Github : @r4mbhardwaj
|
||||||
|
*
|
||||||
|
* Colors
|
||||||
|
**/
|
||||||
|
|
||||||
|
@import "~/.cache/wal/colors-rofi-light.rasi"
|
||||||
Loading…
Reference in a new issue