1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-11-29 17:18:13 +01:00
eoli3n-dotfiles/roles/i3-wm
2017-12-28 19:25:01 +01:00
..
files by_host and by_os dirs 2017-12-28 19:25:01 +01:00
tasks by_host and by_os dirs 2017-12-28 19:25:01 +01:00
templates by_host and by_os dirs 2017-12-28 19:25:01 +01:00
README.md by_host and by_os dirs 2017-12-28 19:25:01 +01:00

Managed files

  • ~/.i3/config
  • ~/.xinitrc

By hostname specific configuration in config file

Add a dir named as hostname in by_host dir to include specific host configuration in config file

mkdir templates/by_host/$(hostname)
echo "#To include in config file" > templates/by_host/$(hostname)/config.j2

By OS specific configuration for config file

Add a dir named as OS in by_os to include specific host configuration in config file

mkdir templates/by_os/<archlinux|centos|debian>
echo "#To include in config file" > templates/by_os/<archlinux|centos|debian>/config.j2