From a71556a8b7c615a524820b4cf91391f9c51cb3a6 Mon Sep 17 00:00:00 2001 From: Ram Date: Fri, 13 Oct 2023 23:01:40 +0530 Subject: [PATCH] Add pywal support for automated color theme --- README.md | 14 ++++++++++++++ files/colors/pywal-dark.rasi | 9 +++++++++ files/colors/pywal-light.rasi | 9 +++++++++ 3 files changed, 32 insertions(+) create mode 100644 files/colors/pywal-dark.rasi create mode 100644 files/colors/pywal-light.rasi diff --git a/README.md b/README.md index f653462e..f4a2326f 100644 --- a/README.md +++ b/README.md @@ -517,6 +517,20 @@ Same thing can be done with `openbox` by adding these lines to **`rc.xml`** file ``` +#### 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 diff --git a/files/colors/pywal-dark.rasi b/files/colors/pywal-dark.rasi new file mode 100644 index 00000000..52bcdee0 --- /dev/null +++ b/files/colors/pywal-dark.rasi @@ -0,0 +1,9 @@ +/** + * + * Author : Ram + * Github : @r4mbhardwaj + * + * Colors + **/ + +@import "~/.cache/wal/colors-rofi-dark.rasi" \ No newline at end of file diff --git a/files/colors/pywal-light.rasi b/files/colors/pywal-light.rasi new file mode 100644 index 00000000..ccf6c709 --- /dev/null +++ b/files/colors/pywal-light.rasi @@ -0,0 +1,9 @@ +/** + * + * Author : Ram + * Github : @r4mbhardwaj + * + * Colors + **/ + +@import "~/.cache/wal/colors-rofi-light.rasi" \ No newline at end of file