ソースを参照

template directories

systemd-xsession
コミット
53e4b517ff
26個のファイルの変更22行の追加27行の削除
  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 ファイルの表示

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

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

+ 2
- 2
tasks/i3.yaml ファイルの表示

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

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

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

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

+ 1
- 1
tasks/rofi.yaml ファイルの表示

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

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

+ 1
- 1
tasks/ssh.yaml ファイルの表示

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

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

- name: include ssh auto config


+ 2
- 2
tasks/tmux.yaml ファイルの表示

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

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

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

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

+ 1
- 1
tasks/vdesk.yaml ファイルの表示

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

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

+ 1
- 1
tasks/vnc.yaml ファイルの表示

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

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

+ 2
- 2
tasks/workspaces.yaml ファイルの表示

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

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

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


+ 6
- 6
tasks/x11.yaml ファイルの表示

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

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

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

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

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

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

+ 0
- 10
templates/default.tigervnc.j2 ファイルの表示

@@ -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 ファイルの表示


templates/i3.config.j2 → templates/i3/i3.config.j2 ファイルの表示


templates/i3blocks.config.j2 → templates/i3/i3blocks.config.j2 ファイルの表示


templates/rofi.theme.j2 → templates/rofi/rofi.theme.j2 ファイルの表示


templates/ssh.config.j2 → templates/ssh/ssh.config.j2 ファイルの表示


templates/tmux.conf.j2 → templates/tmux/tmux.conf.j2 ファイルの表示


templates/tmux@.service.j2 → templates/tmux/tmux@.service.j2 ファイルの表示


templates/vdesk.service.j2 → templates/vdesk/vdesk.service.j2 ファイルの表示


templates/tigervnc.default.j2 → templates/vnc/default.tigervnc.j2 ファイルの表示


templates/workspace.focus.fish.j2 → templates/workspaces/workspace.focus.fish.j2 ファイルの表示


templates/workspace.space.fish.j2 → templates/workspaces/workspace.space.fish.j2 ファイルの表示


templates/Xmodmap.j2 → templates/x11/Xmodmap.j2 ファイルの表示


templates/Xresources.j2 → templates/x11/Xresources.j2 ファイルの表示


templates/xsession.fish.j2 → templates/x11/xsession.fish.j2 ファイルの表示


templates/xsession.reload.fish.j2 → templates/x11/xsession.reload.fish.j2 ファイルの表示

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

{{ansible_managed|comment}}

# keymap
setxkbmap de
xmodmap ~/.Xmodmap

+ 3
- 0
templates/x11/xsessionrc.j2 ファイルの表示

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

exec fish ~/.xsession.fish