🎨 Theme collection manager for i3-wm
git clone https://github.com/unix121/i3wm-themer cd i3wm-themer/ sudo pip install -r requirements.txt
Install all the requirements from the 'What you will need' section. Either manually or use one of the scripts created for some distros:
# For Arch, ArchLabs or Manjaro Linux ./install_arch.sh # For Debian ./install_debian.sh # For Ubuntu ./install_ubuntu.sh
If you are not on one of the above, install them using your Package manager.
Make sure you have the requirements mentioned earlier installed. Edit the config.yaml file and add your full path of i3wm config, polybar config and .Xresources files. In the end it should look something like this:
i3-config: /home/[USER]/.i3/config polybar-config: /home/[USER]/.config/polybar/config xresources: /home/[USER]/.Xresources
[USER] is your
Copy the script in the scripts folder to your polybar directory:
cp -r scripts/* /home/$USER/.config/polybar/
Backup your files:
mkdir ~/Backups python3 i3wm-themer.py --config config.yaml --backup /home/[USER]/Backups
This step will copy the files that you set in the
config.yaml for safekeeping in case things go
config files located in the defaults/ directory (not 100% required but
I suggest you do so just to be sure).
python3 i3wm-themer.py --config config.yaml --install defaults/
In case you get lost
$mod+Return will open a new terminal,
$mode+d will launch Rofi. (For the
rest of the shortcuts just take a look on the config file for i3, and change them to your needs.)
Now you are basically ready to go. Pick a theme you like from the collection and load it:
python3 i3wm-themer.py --config config.yaml --load themes/[theme_id].json
(Where [theme_id] is the name of the theme you want to try!)
Now every time you want to change a theme you can just run the command above with the theme you like and apply it instantly.
You can always use the
--help on the script to check the given options.
Since this project is focused on Arch-based distros it may behave unexpectedly in other distributions. For that matter we have a fork that is exclusively focused on Debian and Fedora with minor changes. Feel free to check it out!