You can not select more than 25 topics 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.

4 年之前
3 年之前
4 年之前
3 年之前
4 年之前
3 年之前
3 年之前
3 年之前
4 年之前
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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: i3blocks config
  24. template:
  25. src: i3/i3blocks.config.j2
  26. dest: ~/.config/i3blocks/config
  27. notify: i3 reload
  28. - name: i3wm graphical-session service
  29. template:
  30. src: i3/i3wm.service.j2
  31. dest: ~/.config/systemd/user/i3wm.service
  32. notify: systemd daemon-reload
  33. - name: flush handlers
  34. meta: flush_handlers
  35. - name: i3wm graphical-session service enabled
  36. systemd:
  37. name: i3wm.service
  38. enabled: true
  39. scope: user