Fix NetBSD xsession creation
This commit is contained in:
parent
048024de4e
commit
c9100217ac
4 changed files with 18 additions and 5 deletions
3
roles/home-gui/files/xsession-netbsd
Normal file
3
roles/home-gui/files/xsession-netbsd
Normal file
|
@ -0,0 +1,3 @@
|
|||
PATH=/usr/bin:/bin:/usr/X11R7/bin:/usr/pkg/bin
|
||||
xrdb -merge ~/.Xresources
|
||||
exec mwm
|
|
@ -27,3 +27,18 @@
|
|||
copy:
|
||||
src: xclock.desktop
|
||||
dest: "{{ ansible_env.HOME }}/.config/autostart/xclock.desktop"
|
||||
- name: Create FreeBSD xsession file
|
||||
copy:
|
||||
src: xsession-freebsd
|
||||
dest: "{{ ansible_env.HOME }}/.xsession"
|
||||
when: ansible_system == "FreeBSD"
|
||||
- name: Create NetBSD xsession file
|
||||
copy:
|
||||
src: xsession-netbsd
|
||||
dest: "{{ ansible_env.HOME }}/.xsession"
|
||||
when: ansible_system == "NetBSD"
|
||||
- name: Create xinitrc symlink
|
||||
file:
|
||||
src: ".xsession"
|
||||
dest: "{{ ansible_env.HOME }}/.xinitrc"
|
||||
state: link
|
||||
|
|
|
@ -32,8 +32,3 @@
|
|||
key: /org/mate/panel/objects/clock/prefs/expand-locations
|
||||
value: 'true'
|
||||
when: ansible_system == 'Linux'
|
||||
- name: Create xsession file
|
||||
copy:
|
||||
src: xsession
|
||||
dest: "{{ ansible_env.HOME }}/.xsession"
|
||||
when: ansible_system == "FreeBSD"
|
||||
|
|
Loading…
Reference in a new issue