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 "git+https://github.com/obestwalter/i3configger.git#egg=i3configger"

Pypi release will be done, once the project reached beta state.

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.1.tar.gz (18.6 kB view details)

Uploaded Source

File details

Details for the file i3configger-0.1.1.tar.gz.

File metadata

  • Download URL: i3configger-0.1.1.tar.gz
  • Upload date:
  • Size: 18.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for i3configger-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c81e76d82b0f61c079ef7e0a4f1dcbd85e1f2c40786de99d825fdb4f36e56bab
MD5 b7b36da9420661e63aa3825deed9714b
BLAKE2b-256 d82704f4efdfc0abdbd9f03a1444da0aea0fa51e2a3f381190c0685247e44863

See more details on using hashes here.

Provenance

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