summaryrefslogtreecommitdiff
path: root/config/wayland/dwl
diff options
context:
space:
mode:
Diffstat (limited to 'config/wayland/dwl')
-rwxr-xr-xconfig/wayland/dwl/startup.sh23
1 files changed, 18 insertions, 5 deletions
diff --git a/config/wayland/dwl/startup.sh b/config/wayland/dwl/startup.sh
index f38f1ab..d743f19 100755
--- a/config/wayland/dwl/startup.sh
+++ b/config/wayland/dwl/startup.sh
@@ -1,10 +1,23 @@
#!/bin/sh
+
+for prog in dwl-bar dwlblocks gammastep mako
+do
+ pkill "$prog"
+ $prog &
+done
+
swaybg -i ~/pics/wallpaper &
-dwl-bar &
-dwlblocks &
-gammastep &
wl-paste --watch cliphist store &
-keyadd id_rsa &
swayidle 300 locker &
-mako &
+keyadd id_rsa &
+
+pkill -f "tail -f $HOME/.config/wob/pipe"
+WOBCONFIG="$HOME"/.config/wob
+if [ ! -p "$WOBCONFIG"/pipe ]
+then
+ mkdir -p "$WOBCONFIG"
+ mkfifo "$WOBCONFIG"/pipe
+fi
+(tail -f "$WOBCONFIG"/pipe | wob) &
+
$TERMINAL -e tmux a || $TERMINAL tmux &