summaryrefslogtreecommitdiff
path: root/bin/dwl.sh
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2023-04-12 15:17:04 -0500
committerSam Nystrom <sam@samnystrom.dev>2023-04-12 15:17:04 -0500
commitb57135c563247a13d2a8536645cf51b66c419335 (patch)
tree531d996f3af969d7fe96e7e082d4e6cc3a896ba8 /bin/dwl.sh
parent9e2b664fa3c7afbe9cb71c66cb699cd47632835e (diff)
fix(bin): kill statusbar after somebar exits
Diffstat (limited to 'bin/dwl.sh')
-rwxr-xr-xbin/dwl.sh13
1 files changed, 4 insertions, 9 deletions
diff --git a/bin/dwl.sh b/bin/dwl.sh
index 5cccd97..a3ec3c4 100755
--- a/bin/dwl.sh
+++ b/bin/dwl.sh
@@ -1,12 +1,7 @@
#!/bin/sh -eu
-WALLPAPER=/home/samn/wallpaper.jpg
-
-dwl -s "\
- swaybg -i "$WALLPAPER" \
- & somebar
- & status.sh
- & swayidle -w \
- timeout 300 \"swaylock -f -i $WALLPAPER\" \
- before-sleep \"swaylock -f -i $WALLPAPER\""
+export XCURSOR_PATH=/usr/share/icons
+export XCURSOR_SIZE=24
+export XCURSOR_THEME=Catppuccin-Macchiato-Dark-Cursors
+dbus-run-session -- dwl -s dwl-init.sh