25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

40 lines
766B

  1. ---
  2. - name: i3 config directory
  3. file:
  4. path: ~/.config/i3
  5. state: directory
  6. - name: i3 null config
  7. template:
  8. src: i3/i3.null.config.j2
  9. dest: ~/.config/i3/null.config
  10. - name: i3 config
  11. template:
  12. src: i3/i3.config.j2
  13. dest: ~/.config/i3/config
  14. notify: i3 reload
  15. - name: check i3 config
  16. command: i3 -c ~/.config/i3/config -C
  17. changed_when: false
  18. - name: i3blocks config directory
  19. file:
  20. path: ~/.config/i3blocks
  21. state: directory
  22. notify: i3 reload
  23. - name: i3wm graphical-session service
  24. template:
  25. src: i3/i3wm.service.j2
  26. dest: ~/.config/systemd/user/i3wm.service
  27. notify: systemd daemon-reload
  28. - name: i3wm graphical-session service enabled
  29. systemd:
  30. name: i3wm.service
  31. enabled: true
  32. scope: user