Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

68 lines
1.5KB

  1. ---
  2. # - name: i3-py
  3. # pip:
  4. # name: i3-py
  5. - name: i3 config directory
  6. file:
  7. path: ~/.config/i3
  8. state: directory
  9. - name: i3 null config
  10. template:
  11. src: i3/i3.null.config.j2
  12. dest: ~/.config/i3/null.config
  13. - name: i3 config
  14. template:
  15. src: i3/i3.config.j2
  16. dest: ~/.config/i3/config
  17. notify: i3 reload
  18. - name: check i3 config
  19. command: i3 -c ~/.config/i3/config -C
  20. changed_when: false
  21. - name: i3blocks config directory
  22. file:
  23. path: ~/.config/i3blocks
  24. state: directory
  25. notify: i3 reload
  26. - name: i3blocks config
  27. template:
  28. src: i3/i3blocks.config.j2
  29. dest: ~/.config/i3blocks/config
  30. notify: i3 reload
  31. - name: i3-watchers service for the default xsession
  32. template:
  33. src: i3/i3-watchers.service.j2
  34. dest: ~/.config/systemd/user/i3-watchers.service
  35. notify: systemd daemon-reload
  36. - name: i3-watchers service for specific displays
  37. template:
  38. src: i3/i3-watchers@.service.j2
  39. dest: ~/.config/systemd/user/i3-watchers@.service
  40. notify: systemd daemon-reload
  41. - name: i3wm graphical-session service for the default xsession
  42. template:
  43. src: i3/i3wm.service.j2
  44. dest: ~/.config/systemd/user/i3wm.service
  45. notify: systemd daemon-reload
  46. - name: i3wm graphical-session service for specific displays
  47. template:
  48. src: i3/i3wm@.service.j2
  49. dest: ~/.config/systemd/user/i3wm@.service
  50. notify: systemd daemon-reload
  51. - name: i3wm graphical-session service enabled
  52. systemd:
  53. name: i3wm.service
  54. enabled: true
  55. scope: user