diff options
author | Bryson Steck <me@brysonsteck.xyz> | 2023-09-03 00:13:21 -0600 |
---|---|---|
committer | Bryson Steck <me@brysonsteck.xyz> | 2023-09-03 00:13:21 -0600 |
commit | 564505447e19354e596f303ab562fedca576589d (patch) | |
tree | 9af8e3d65c57c7ceb1e2ab75a8ab268763d154c3 /x/startdwm.sh | |
parent | 3991ac66a5269986b066338c404daea026b4ecbb (diff) | |
download | dotfiles-564505447e19354e596f303ab562fedca576589d.tar dotfiles-564505447e19354e596f303ab562fedca576589d.tar.gz dotfiles-564505447e19354e596f303ab562fedca576589d.tar.bz2 |
who knows lmao
Diffstat (limited to 'x/startdwm.sh')
-rwxr-xr-x | x/startdwm.sh | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/x/startdwm.sh b/x/startdwm.sh deleted file mode 100755 index 496d79b..0000000 --- a/x/startdwm.sh +++ /dev/null @@ -1,16 +0,0 @@ -# stolen from https://wiki.archlinux.org/title/Dwm#Restart_dwm and therefore may be under the GNU Free Documentation License v1.3. -# relaunch DWM if the binary changes, otherwise bail -csum="" -new_csum=$(sha1sum $(which dwm)) -while true -do - if [ "$csum" != "$new_csum" ] - then - csum=$new_csum - dbus-launch dwm - else - exit 0 - fi - new_csum=$(sha1sum $(which dwm)) - sleep 0.5 -done |