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 details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for i3configger-0.1.2.tar.gz
Algorithm Hash digest
SHA256 d5c5316c0e8db734eacce0956fecd2dc4d0036e38a83b148d6e2222e9a85caa6
MD5 5563b3499d4ed98c37bc3ecaa5cf8bb8
BLAKE2b-256 cb9f54b0731828a69a581ad2ed43a054a9b743167f1ff1e3fb4ad14afdc317cd

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