All Projects → kenyonj → i3-create-config

kenyonj / i3-create-config

Licence: other
Script to create an i3 config from multiple files.

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to i3-create-config

dotfiles
💻 🍚 🔳 🔲 My riced-up Kali dotfiles – off-white | dark leet | chrome lambo
Stars: ✭ 55 (+103.7%)
Mutual labels:  i3, i3-config, i3wm, i3-gaps
no-mans-sky-rice-i3wm
i3WM rice themed using No Man's Sky's colors
Stars: ✭ 34 (+25.93%)
Mutual labels:  i3, i3-config, i3wm, i3-gaps
i3status
Simple status bar for i3 / i3-gaps / sway written in bash and python
Stars: ✭ 69 (+155.56%)
Mutual labels:  i3, i3wm, i3-gaps
I3 And Kde Plasma
How to install the i3 window manager on KDE
Stars: ✭ 279 (+933.33%)
Mutual labels:  i3, i3wm, i3-gaps
I3 Config
I3-gaps configuration
Stars: ✭ 67 (+148.15%)
Mutual labels:  i3, i3wm, i3-gaps
ansible-debian
Buildfiles: Ansible automated leight-weight and sensible Debian provisioning
Stars: ✭ 83 (+207.41%)
Mutual labels:  i3, i3wm, i3-gaps
Dotfiles
🐲 My Arch Linux config [i3-gaps + i3blocks + Zsh + Spacemacs + Rofi + Alacritty + Neofetch]
Stars: ✭ 725 (+2585.19%)
Mutual labels:  i3, i3wm, i3-gaps
I3
A fork of the i3 window manager with gaps and some other features
Stars: ✭ 5,512 (+20314.81%)
Mutual labels:  i3, i3wm, i3-gaps
Autotiling
Script for sway and i3 to automatically switch the horizontal / vertical window split orientation
Stars: ✭ 243 (+800%)
Mutual labels:  i3, i3wm, i3-gaps
i3blocks-gate
Extra i3blocks Scripts For arch Ubuntu very simple and very useful -
Stars: ✭ 42 (+55.56%)
Mutual labels:  i3, i3-config, i3wm
I3 Gaps Deb
Tool to create and install Debian (or Ubuntu) packages of i3-gaps.
Stars: ✭ 236 (+774.07%)
Mutual labels:  i3, i3wm, i3-gaps
i3
Archivos de configuraciones de i3
Stars: ✭ 32 (+18.52%)
Mutual labels:  i3, i3-config, i3wm
dotfiles
My dotfiles, with an out-of-date install-script. Arch, Tiling WM (i3, sway), ZSH, Neovim
Stars: ✭ 20 (-25.93%)
Mutual labels:  i3, i3wm, i3-gaps
Dotfiles
🌸 Configuration for i3, kitty, picom, ZSH, gtk, qutebrowser, qbittorrent and more... (All tools for an arch linux new installation)
Stars: ✭ 15 (-44.44%)
Mutual labels:  i3, i3-config, i3wm
kitti3
Kitty drop-down service for sway & i3wm
Stars: ✭ 73 (+170.37%)
Mutual labels:  i3, i3wm
sway-alttab
Simple Alt-Tab daemon for SwayWM/i3. Switches back to previous focused window on Alt-Tab or SIGUSR1
Stars: ✭ 36 (+33.33%)
Mutual labels:  i3, i3wm
i3blocks-crypto
💵 View your favorite coins' ticker prices with i3blocks.
Stars: ✭ 30 (+11.11%)
Mutual labels:  i3, i3wm
i3wm-themer
🎨 Theme collection manager for i3-wm
Stars: ✭ 1,956 (+7144.44%)
Mutual labels:  i3wm, i3-gaps
ArcoLinux-dotfiles
ArcoLinux dotfiles for 2bwm / i3wm
Stars: ✭ 24 (-11.11%)
Mutual labels:  i3wm, i3-gaps
swayinfo
Some goodies for use in Sway and i3 wm
Stars: ✭ 30 (+11.11%)
Mutual labels:  i3, i3wm

i3 Configuration Creator

This was created in an effort to allow the better organization of an i3 config file. Currently there is no way to include extra files in the main ~/.i3/config file.

Here is an example of how your i3 config can look by using this script: https://github.com/kenyonj/dotfiles-legacy/tree/99ce9a5dd79191e6699575b9b64f8302d785f780/tag-i3/i3/config.d

Usage

Create a new directory in your ~/.i3 directory called config.d. In this directory you will need a configs import file. This script assumes that the imports file is named i3_configs.conf, create it with the contents following this pattern:

# ~/.i3/config.d/i3_configs.conf

# the vars file needs to be first so that other config files can use the vars
# defined within it.
import vars.conf;

import base.conf;
import colors.conf;
import gaps.conf;
import menus.conf;
import screenshots.conf;
import terminal.conf;
import todo.conf;
import containers.conf;
import workspaces.conf;
import xf86.conf;

Each one of the above referenced files will be located in the config.d directory and will be formatted the same as your current i3 config file. This way you can separate the configuration options for different parts of your i3 configuration and feel a little more organized.

Once you have this structure setup, you can execute create_config and it will delete your current ~/.i3/config file and create a new one using the files that in your i3_configs.conf file.

Tips

Execute the create_config script in these places so that you are always using your latest edits:

~/.xinitrc

# load Xresources
xrdb -load ~/.Xresources &
xrdb -merge ~/.Xresources

#load xmodmap
xmodmap ~/.Xmodmap

#create i3 config
~/.i3/create_config

#start i3
exec i3

~/.i3/config.d/base.conf

# i3 shorcuts for reload/restart
bindsym $mod+$other+Shift+C exec ~/.i3/create_config reload
bindsym $mod+$other+Shift+R exec ~/.i3/create_config restart
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].