Skip to main content

i3 config generation tool

Project description

i3configger

Project Status: Active – The project has reached a stable, usable state and is being actively developed.

Generate i3 config files from a set of partial config files in a config folder. Do some nifty conditional integration and variable resolution (aslo for i3status configs). This makes switching of themes (optical or key bindings or whatever) possible and things like having per host settings.

Example

I use this generate my own config. See my i3 config: .i3/config.d

The call:

$ i3configger --select-host=$(hostname) --select-theme=solarized-dark

Creates config and i3status.main.conf from the sources.

Features

  • build main config and one or several i3status configs from the same sources

  • render variables slightly more intelligently than i3 does it

  • also render variables in i3status configs (set anywhere in the sources)

  • reload or restart i3 when a change has been done (using i3-msg)

  • notify when new config has been created and activated (using notify-send)

  • conditional building of config depending on settings

  • simple way to communicate settings to renderer

  • build config as one shot script or watch for changes (foreground and daemon)

Some things are still in the air - see notes.

Installation

$ pip install i3configger

Usage

Default uses ``.i3config`` files in ``~/.i3/config.d`` and writes to ``~/.i3/config``.

one shot:

$ i3configger

as daemon:

$ i3configger --daemon

more info:

$ i3configger --help

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

i3configger-0.1.2.tar.gz (18.5 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page