Add option to restart dwm without loging out
This commit is contained in:
parent
3d3e25648b
commit
800c98d516
5
roles/dwm/files/usr/local/bin/start-dwm
Executable file
5
roles/dwm/files/usr/local/bin/start-dwm
Executable file
@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env sh
|
||||
|
||||
while : ; do
|
||||
dwm && break || continue
|
||||
done
|
@ -2,6 +2,6 @@
|
||||
Encoding=UTF-8
|
||||
Name=Dwm
|
||||
Comment=Dynamic window manager
|
||||
Exec=dwm
|
||||
Exec=/usr/local/bin/start-dwm
|
||||
Icon=dwm
|
||||
Type=XSession
|
||||
|
@ -41,6 +41,13 @@
|
||||
src: usr/share/icons/dwm.png
|
||||
dest: /usr/share/icons/dwm.png
|
||||
|
||||
- name: copy run script
|
||||
become: yes
|
||||
copy:
|
||||
src: usr/local/bin/start-dwm
|
||||
dest: /usr/local/bin/start-dwm
|
||||
mode: '0755'
|
||||
|
||||
- name: install dwm
|
||||
become: yes
|
||||
register: make
|
||||
|
Loading…
Reference in New Issue
Block a user