Add option to restart dwm without loging out

This commit is contained in:
pgrondek 2021-07-07 00:15:22 +02:00
parent 3d3e25648b
commit 800c98d516
3 changed files with 13 additions and 1 deletions

View File

@ -0,0 +1,5 @@
#!/usr/bin/env sh
while : ; do
dwm && break || continue
done

View File

@ -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

View File

@ -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