From 17ea160ae922ead628efb4e39037817fa48dd3f9 Mon Sep 17 00:00:00 2001 From: Sam Nystrom Date: Tue, 11 Apr 2023 18:56:01 -0500 Subject: feat(bin): add dwl wrapper script --- bin/dwl.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/dwl.sh (limited to 'bin/dwl.sh') 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\"" + -- cgit v1.2.3