diff options
| author | Sam Nystrom <sam@samnystrom.dev> | 2023-04-11 18:56:01 -0500 |
|---|---|---|
| committer | Sam Nystrom <sam@samnystrom.dev> | 2023-04-11 18:56:01 -0500 |
| commit | 17ea160ae922ead628efb4e39037817fa48dd3f9 (patch) | |
| tree | 15720c2c48309c06df7915836d1f9aeaa3ec3825 /bin | |
| parent | 3e0406ad41d726be5aa333800763befdd7e53667 (diff) | |
feat(bin): add dwl wrapper script
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/dwl.sh | 10 |
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\"" + |
