summaryrefslogtreecommitdiff
path: root/dwm-launch.sh
diff options
context:
space:
mode:
Diffstat (limited to 'dwm-launch.sh')
-rwxr-xr-xdwm-launch.sh19
1 files changed, 19 insertions, 0 deletions
diff --git a/dwm-launch.sh b/dwm-launch.sh
new file mode 100755
index 0000000..62e4eba
--- /dev/null
+++ b/dwm-launch.sh
@@ -0,0 +1,19 @@
+#!/bin/sh
+
+compton -cCGb
+feh --bg-fill /var/wallpaper
+xrdb ~/.Xresources
+xautolock -locker ~/source/scripts/slock-fortune.sh &
+~/source/scripts/dwm-status.sh &
+
+logfile="/var/log/dwm.log"
+
+while true; do
+
+ if [ -O $logfile ]; then
+ dwm 2> $logfile
+ else
+ dwm 2>&1 > /dev/null
+ fi
+
+done