Browse Source

template directories

systemd-xsession
parent
commit
53e4b517ff
26 changed files with 22 additions and 27 deletions
  1. +1
    -1
      tasks/git.yaml
  2. +2
    -2
      tasks/i3.yaml
  3. +1
    -1
      tasks/rofi.yaml
  4. +1
    -1
      tasks/ssh.yaml
  5. +2
    -2
      tasks/tmux.yaml
  6. +1
    -1
      tasks/vdesk.yaml
  7. +1
    -1
      tasks/vnc.yaml
  8. +2
    -2
      tasks/workspaces.yaml
  9. +6
    -6
      tasks/x11.yaml
  10. +0
    -10
      templates/default.tigervnc.j2
  11. +0
    -0
      templates/git/gitconfig.j2
  12. +0
    -0
      templates/i3/i3.config.j2
  13. +0
    -0
      templates/i3/i3blocks.config.j2
  14. +0
    -0
      templates/rofi/rofi.theme.j2
  15. +0
    -0
      templates/ssh/ssh.config.j2
  16. +0
    -0
      templates/tmux/tmux.conf.j2
  17. +0
    -0
      templates/tmux/tmux@.service.j2
  18. +0
    -0
      templates/vdesk/vdesk.service.j2
  19. +0
    -0
      templates/vnc/default.tigervnc.j2
  20. +0
    -0
      templates/workspaces/workspace.focus.fish.j2
  21. +0
    -0
      templates/workspaces/workspace.space.fish.j2
  22. +0
    -0
      templates/x11/Xmodmap.j2
  23. +0
    -0
      templates/x11/Xresources.j2
  24. +0
    -0
      templates/x11/xsession.fish.j2
  25. +2
    -0
      templates/x11/xsession.reload.fish.j2
  26. +3
    -0
      templates/x11/xsessionrc.j2

+ 1
- 1
tasks/git.yaml View File

@@ -2,5 +2,5 @@


- name: git config - name: git config
template: template:
src: gitconfig.j2
src: git/gitconfig.j2
dest: ~/.gitconfig dest: ~/.gitconfig

+ 2
- 2
tasks/i3.yaml View File

@@ -7,7 +7,7 @@


- name: i3 config - name: i3 config
template: template:
src: i3.config.j2
src: i3/i3.config.j2
dest: ~/.config/i3/config dest: ~/.config/i3/config


- name: check i3 config - name: check i3 config
@@ -21,5 +21,5 @@


- name: i3blocks config - name: i3blocks config
template: template:
src: i3blocks.config.j2
src: i3/i3blocks.config.j2
dest: ~/.config/i3blocks/config dest: ~/.config/i3blocks/config

+ 1
- 1
tasks/rofi.yaml View File

@@ -7,6 +7,6 @@


- name: rofi theme - name: rofi theme
template: template:
src: rofi.theme.j2
src: rofi/rofi.theme.j2
dest: ~/.config/rofi/theme dest: ~/.config/rofi/theme
mode: 0755 mode: 0755

+ 1
- 1
tasks/ssh.yaml View File

@@ -8,7 +8,7 @@


- name: ssh auto config - name: ssh auto config
template: template:
src: ssh.config.j2
src: ssh/ssh.config.j2
dest: ~/.ssh/config.auto dest: ~/.ssh/config.auto


- name: include ssh auto config - name: include ssh auto config


+ 2
- 2
tasks/tmux.yaml View File

@@ -2,7 +2,7 @@


- name: tmux config - name: tmux config
template: template:
src: tmux.conf.j2
src: tmux/tmux.conf.j2
dest: ~/.tmux.conf dest: ~/.tmux.conf
mode: 0755 mode: 0755


@@ -19,6 +19,6 @@


- name: tmux systemd user service unit - name: tmux systemd user service unit
template: template:
src: tmux@.service.j2
src: tmux/tmux@.service.j2
dest: ~/.config/systemd/user/tmux@.service dest: ~/.config/systemd/user/tmux@.service
notify: systemd daemon-reload notify: systemd daemon-reload

+ 1
- 1
tasks/vdesk.yaml View File

@@ -2,6 +2,6 @@


- name: vdesk user service - name: vdesk user service
template: template:
src: vdesk.service.j2
src: vdesk/vdesk.service.j2
dest: ~/.config/systemd/user/vdesk@.service dest: ~/.config/systemd/user/vdesk@.service
notify: systemd daemon-reload notify: systemd daemon-reload

+ 1
- 1
tasks/vnc.yaml View File

@@ -27,6 +27,6 @@


- name: default vnc client options - name: default vnc client options
template: template:
src: tigervnc.default.j2
src: vnc/default.tigervnc.j2
dest: ~/.vnc/default.tigervnc dest: ~/.vnc/default.tigervnc
mode: 0755 mode: 0755

+ 2
- 2
tasks/workspaces.yaml View File

@@ -7,7 +7,7 @@


- name: workspace focus scripts - name: workspace focus scripts
template: template:
src: workspace.focus.fish.j2
src: workspaces/workspace.focus.fish.j2
dest: ~/.workspaces/{{workspace}}.focus dest: ~/.workspaces/{{workspace}}.focus
mode: 0755 mode: 0755
with_items: "{{workspaces|dict2items|json_query(\"[?value.type=='vdesk'].key\") }}" with_items: "{{workspaces|dict2items|json_query(\"[?value.type=='vdesk'].key\") }}"
@@ -16,7 +16,7 @@


- name: workspace space shortcut scripts - name: workspace space shortcut scripts
template: template:
src: workspace.space.fish.j2
src: workspaces/workspace.space.fish.j2
dest: ~/.workspaces/{{workspace}}.space dest: ~/.workspaces/{{workspace}}.space
mode: 0755 mode: 0755
with_items: "{{workspaces|dict2items|json_query(\"[?value.type=='vdesk'||value.type=='tmux'].key\") }}" with_items: "{{workspaces|dict2items|json_query(\"[?value.type=='vdesk'||value.type=='tmux'].key\") }}"


+ 6
- 6
tasks/x11.yaml View File

@@ -2,27 +2,27 @@


- name: Xresources - name: Xresources
template: template:
src: Xresources.j2
src: x11/Xresources.j2
dest: ~/.Xresources dest: ~/.Xresources


- name: Xmodmap - name: Xmodmap
template: template:
src: Xmodmap.j2
src: x11/Xmodmap.j2
dest: ~/.Xmodmap dest: ~/.Xmodmap


- name: xsession script - name: xsession script
template: template:
src: xsession.fish.j2
src: x11/xsession.fish.j2
dest: ~/.xsession.fish dest: ~/.xsession.fish
mode: 0755 mode: 0755


- name: xsession reload script - name: xsession reload script
template: template:
src: xsession.reload.fish.j2
src: x11/xsession.reload.fish.j2
dest: ~/.xsession.reload.fish dest: ~/.xsession.reload.fish
mode: 0755 mode: 0755


- name: xsessionrc - name: xsessionrc
copy:
content: exec fish ~/.xsession.fish
template:
src: x11/xsessionrc.j2
dest: ~/.xsessionrc dest: ~/.xsessionrc

+ 0
- 10
templates/default.tigervnc.j2 View File

@@ -1,10 +0,0 @@
TigerVNC Configuration file Version 1.0
MenuKey=Pause
{% if vnc_client_low_bandwidth %}
AutoSelect=0
QualityLevel=0
FullColor=0
LowColorLevel=2
PreferredEncoding=Tight
CompressLevel=0
{% endif %}

templates/gitconfig.j2 → templates/git/gitconfig.j2 View File


templates/i3.config.j2 → templates/i3/i3.config.j2 View File


templates/i3blocks.config.j2 → templates/i3/i3blocks.config.j2 View File


templates/rofi.theme.j2 → templates/rofi/rofi.theme.j2 View File


templates/ssh.config.j2 → templates/ssh/ssh.config.j2 View File


templates/tmux.conf.j2 → templates/tmux/tmux.conf.j2 View File


templates/tmux@.service.j2 → templates/tmux/tmux@.service.j2 View File


templates/vdesk.service.j2 → templates/vdesk/vdesk.service.j2 View File


templates/tigervnc.default.j2 → templates/vnc/default.tigervnc.j2 View File


templates/workspace.focus.fish.j2 → templates/workspaces/workspace.focus.fish.j2 View File


templates/workspace.space.fish.j2 → templates/workspaces/workspace.space.fish.j2 View File


templates/Xmodmap.j2 → templates/x11/Xmodmap.j2 View File


templates/Xresources.j2 → templates/x11/Xresources.j2 View File


templates/xsession.fish.j2 → templates/x11/xsession.fish.j2 View File


templates/xsession.reload.fish.j2 → templates/x11/xsession.reload.fish.j2 View File

@@ -1,5 +1,7 @@
#!/usr/bin/fish #!/usr/bin/fish


{{ansible_managed|comment}}

# keymap # keymap
setxkbmap de setxkbmap de
xmodmap ~/.Xmodmap xmodmap ~/.Xmodmap

+ 3
- 0
templates/x11/xsessionrc.j2 View File

@@ -0,0 +1,3 @@
{{ansible_managed|comment}}

exec fish ~/.xsession.fish