The script in this repository can generate Intellij themes based on Pywal or other color scheme generator tools automatically. It is meant to be used in combination with Material Theme Plugin to integrate with every element of Intellij's UI instead of just the editor's color scheme.
- Intellij (or some other Jetbrains IDE) + Material Theme Plugin
- Pywal
Warning: this script overrides
material_custom_theme.xml
so be sure to backup your custom material theme configuration if you care for it.
- Clone or download the files in this repository
- Run
intellijPywalGen.sh
and make sure to pass the path to your config directory (eg.:./intellijPywalGen.sh $HOME/.IntelliJIdea2018.1/config
) - Set material theme to "custom theme"
(Intellij -> Tools -> Material Theme -> Material Theme Chooser -> Custom Theme)
- Import
material-pywal.icls
editor scheme which should be located in your config/colors folder via(Intellij -> File -> Settings -> Editor -> Color Scheme -> Scheme : -> Import Scheme...)
- Set the editor's color scheme
(Intellij -> File -> Settings -> Editor -> Color Scheme -> Scheme: Material Pywal)
- Restart Intellij
After the first time you'll only need to restart Intellij after you run the script in order for changes to take effect.
Integration with i3
is very simple. A good way to go about it is to bind
a shortcut to set a random wallpaper using pywal and then chain a call to this script on the same
command to make sure pywal has updated the colors:
bindsym $mod+Print exec "wal -i $HOME/Pictures/Wallpapers;/pathToScript/intellijPywalGen.sh $HOME/.IntelliJIdea2018.1/config"
Notice both commands are separated by a semicolon without any space in-between and the params are passed with an unescaped space.