1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-09-24 21:10:50 +02:00
eoli3n-dotfiles/roles/i3-wm
2019-12-01 16:29:03 +01:00
..
files by_host and by_os dirs 2017-12-28 19:25:01 +01:00
tasks major update 2019-12-01 16:29:03 +01:00
templates major update 2019-12-01 16:29:03 +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