summaryrefslogtreecommitdiff
path: root/bin/dwl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'bin/dwl.sh')
-rwxr-xr-xbin/dwl.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/bin/dwl.sh b/bin/dwl.sh
new file mode 100755
index 0000000..a41418e
--- /dev/null
+++ b/bin/dwl.sh
@@ -0,0 +1,10 @@
+#!/bin/sh -eu
+
+WALLPAPER=/home/samn/wallpaper.jpg
+
+dwl -s "\
+ swaybg -i "$WALLPAPER" \
+ & swayidle -w \
+ timeout 300 \"swaylock -f -i $WALLPAPER\" \
+ before-sleep \"swaylock -f -i $WALLPAPER\""
+