@@ -18,6 +18,7 @@ | |||||
- import_tasks: workspaces.yaml | - import_tasks: workspaces.yaml | ||||
- import_tasks: background.yaml | - import_tasks: background.yaml | ||||
- import_tasks: rofi.yaml | - import_tasks: rofi.yaml | ||||
- import_tasks: screenlayout.yaml | |||||
- import_tasks: x11.yaml | - import_tasks: x11.yaml | ||||
- import_tasks: vnc.yaml | - import_tasks: vnc.yaml | ||||
- import_tasks: desktop-apps.yaml | - import_tasks: desktop-apps.yaml | ||||
@@ -0,0 +1,14 @@ | |||||
--- | |||||
- name: screenlayout service | |||||
template: | |||||
src: screenlayout/screenlayout.service.j2 | |||||
dest: ~/.config/systemd/user/screenlayout@.service | |||||
mode: 0755 | |||||
notify: systemd daemon-reload | |||||
# - name: autoconfigure default screenlayout | |||||
# systemd: | |||||
# name: screenlayout@default.service | |||||
# enabled: true | |||||
# scope: user |
@@ -0,0 +1,14 @@ | |||||
{{ ansible_managed | comment }} | |||||
[Unit] | |||||
Description=screenlayout service | |||||
PartOf=graphical-session.target | |||||
[Service] | |||||
Type=oneshot | |||||
ExecStart=%h/.screenlayout/%i.sh | |||||
Before=desktop-app@barrier.service | |||||
Before=xsession-reload.service | |||||
[Install] | |||||
WantedBy=graphical-session.target |