mirror of
https://github.com/nicoandresr/ZellijPywal.git
synced 2024-11-24 01:13:39 +01:00
feat: first version of generate-theme
this initial version has the basic script docs, the script generate-theme.sd and the screenshots folder
This commit is contained in:
parent
3085084fe8
commit
80f4909e36
12
README.md
Normal file
12
README.md
Normal file
@ -0,0 +1,12 @@
|
||||
# Zellij Pywal theme generator
|
||||
|
||||
Generates [pywal](https://github.com/dylanaraps/pywal) theme for [Zellij](https://github.com/zellij-org/zellij)
|
||||
|
||||
![Screenshot](./Screenshots/screenshot.png)
|
||||
|
||||
## Usage
|
||||
|
||||
Just run script `./generate-theme.sh`
|
||||
|
||||
However, you need to run this script and restart zellij each time you change pywal colors.
|
||||
So, make an alias or something like that 🧰.
|
BIN
Screenshots/screenshot.png
Normal file
BIN
Screenshots/screenshot.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 1.8 MiB |
21
generate-theme.sh
Normal file
21
generate-theme.sh
Normal file
@ -0,0 +1,21 @@
|
||||
#!/bin/sh
|
||||
|
||||
. "$HOME/.cache/wal/colors.sh"
|
||||
|
||||
rm ~/.config/zellij/themes/pywal.kdl
|
||||
|
||||
echo "themes {" >> ~/.config/zellij/themes/pywal.kdl
|
||||
echo " default {" >> ~/.config/zellij/themes/pywal.kdl
|
||||
echo " fg \"$color0\"" >> ~/.config/zellij/themes/pywal.kdl
|
||||
echo " bg \"$color1\"" >> ~/.config/zellij/themes/pywal.kdl
|
||||
echo " black \"$foreground\"" >> ~/.config/zellij/themes/pywal.kdl
|
||||
echo " red \"$color2\"" >> ~/.config/zellij/themes/pywal.kdl
|
||||
echo " green \"$color3\"" >> ~/.config/zellij/themes/pywal.kdl
|
||||
echo " yellow \"$color4\"" >> ~/.config/zellij/themes/pywal.kdl
|
||||
echo " blue \"$color5\"" >> ~/.config/zellij/themes/pywal.kdl
|
||||
echo " magenta \"$color6\"" >> ~/.config/zellij/themes/pywal.kdl
|
||||
echo " cyan \"$color7\"" >> ~/.config/zellij/themes/pywal.kdl
|
||||
echo " white \"$color8\"" >> ~/.config/zellij/themes/pywal.kdl
|
||||
echo " orange \"$color9\"" >> ~/.config/zellij/themes/pywal.kdl
|
||||
echo " }" >> ~/.config/zellij/themes/pywal.kdl
|
||||
echo "}" >> ~/.config/zellij/themes/pywal.kdl
|
Loading…
Reference in New Issue
Block a user