The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
2

Split Configuration

asked 2013-08-21 15:00:14 +0000

Is it possible to split the configuration file into modules? Lets say I just use the ~/.i3/config as an entry point to import e.g. ~/.i3/keybindings or ~/.i3/whatever. In this scenario one could use some VCS to synchronize the modules over multiple nodes and just need to modify the ~/.i3/config to import certain modules on each node.

Short motivation: For example on notebooks I want to start services like xfce4-power-manager, which are overhead on desktop PC's. So it would be great if one could out-source this to e.g. ~/.i3/notebook...

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2013-08-21 15:03:27 +0000

Michael gravatar image

Yeah, just use ~/.xsession (or xinitrc, or whichever one you use) and cat to produce a config file before i3 starts.

edit flag offensive delete link more

Comments

Wow, that was fast ;-) thank you!

binfalse gravatar imagebinfalse ( 2013-08-21 15:04:44 +0000 )edit

Question Tools

Stats

Asked: 2013-08-21 15:00:14 +0000

Seen: 399 times

Last updated: Aug 21 '13