Add startdwm script
This script is to restart dwm without killing X.
This commit is contained in:
parent
50ebe825f1
commit
cf743adcfc
10
.local/bin/scripts/startdwm
Executable file
10
.local/bin/scripts/startdwm
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
# Start dwm in a loop for restarting without killing X.
|
||||
|
||||
while true; do
|
||||
# Log stderror to a file
|
||||
dwm 2> ~/.cache/dwm.log
|
||||
# No error logging
|
||||
#dwm >/dev/null 2>&1
|
||||
done
|
Loading…
x
Reference in New Issue
Block a user