1
0
mirror of https://github.com/eoli3n/dotfiles synced 2024-09-24 21:10:50 +02:00
eoli3n-dotfiles/roles/i3-wm/README.md
2017-12-28 19:25:01 +01:00

593 B

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