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.

33 lines
625B

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