mchong6 / i3wm-themer

My collection of Themes for i3-wm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

i3wm-themer

    My collection of themes for i3wm.

What you might need

  • i3-wm (maybe i3-gaps in some sections) in any Linux distro you prefer
  • Polybar (for most of the themes)
  • Rofi (for most of the themes)
  • Nitrogen (To set the wallpapers, can also be done manually)
  • Firefox Themes can be installed using the "Stylish" extension
  • Most of the GTK Themes and Icons were created using oomox
    All the necessary changes to your configuration files can be found under /templated_themes/{THEME}/ directory. Copy what you like from every configuration. Under /themes/{THEME}/ directory you can find my exact configuration files, but I do not recommend to copy them directly once they contain my own keybindings and generally settings that might not be suitable for you, but instead you can use the script below to apply the necessary parts from my configuration files to your configuration files.

Basic requirements (for the script)

    This script is still hardcoded so you have to check where your configuration files are before you use it.
  • i3 configuration file must be placed either under
      ~/.i3/config or ~/.config/i3/config  
    
  • Polybar configuration file must be under
      ~/.config/polybar/config
    
  • Compton configuration file must be under
      ~/.config/compton.conf
    
  • .Xresources should be under
      ~/.Xresources or ~/.extend.Xresources
    
  • dmenu configuration file should be under
      ~/.dmenurc
    
  • You will still have to make some changes "by hand" even after using the script once it's still under development and doesn't change everything on it's own.
  • For common issues check the issues section in the repository

How to use the scripts

    This script will overwrite only the needed parts from your configuration files in order to apply the basic visuals of any of the themes listed below.
  • git clone https://github.com/unix121/i3wm-themer
  • cd i3wm-themer/scripts/
  • First backup your current configuration in case you want to come back:
      ./i3wmthemer -b {BACKUP_NAME}
    

    Backups are saved under i3wmthemer/backups/ directory. The backup directory will contain your configuration files mentioned in [Basic requirements] section. If anything goes wrong you can still just copy-paste them back to their original place to get back to your current configuration manually.

  • Now run the script in configuration mode to apply some of the basic changes for the theme:
      ./i3wmthemer -c
    

    This will add the lines that are in /templates/ directory to your i3 and polybar configuration files.

    DO NOT GO FURTHER IF THOSE CHANGES ARE NOT APPLIED CORRECTLY

    After that step you should have something like this added to your i3 configuration file and something like this added under [colors] tag in your polybar configuration file.

    If those changes are not applied then you might have to copy them manually.

    Run this script only the first time you use this script just to setup your files. You don't need to run it every time you want to apply a theme, only the first time.

  • Now apply the theme you want:
    ./i3wmthemer -t {THEME}
    

    {THEME} should be the name of the theme you want to apply.

    Example on how to apply the "Forest" theme:

    ./i3wmthemer -t Forest
    
  • If you want to go back to a backup you can run the script like that:
    ./i3wmthemer -t ../backups/{BACKUP_NAME}
    

    {BACKUP_NAME} should be the same as the one given in the backup step above.

  • After you run the script you might have to manually set the wallpaper which is located in the {THEME} directory and also use your appearance manager to apply the Icons and the GTK Themes.
  • NOTE: If you notice any bugs on the script feel free to contact me and I will address them

    Disclaimer

    The ways mentioned above overwrite some parts of your files, use them with caution. I am not responsible if anything happens to your computer. Normally if you follow the instructions step by step everything should be just fine, but unexpected things sometimes happen. The author is not responsible for any damage done. Also the script is still under development so any feedback/help would be much appreciated.

Themes

    Note

    If you are the original artist of any of the photos/pictures featured in those themes, please feel free to contact me, so that you can get credited.

    e-mail: unix121@protonmail.com

About

My collection of Themes for i3-wm

License:MIT License


Languages

Language:CSS 96.7%Language:Shell 1.6%Language:Vim Script 1.0%Language:Makefile 0.6%Language:HTML 0.1%