summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-05-03 11:20:23 +0530
committersinanmohd <sinan@firemail.cc>2023-05-03 11:25:29 +0530
commitcf9fb3d872f0af28436fce0128f66df837909253 (patch)
tree6d9494941531f621dcbb1efa7df2c1caa7711c04
parentd28f163871980205c127a4035bebca4e9363dd3f (diff)
winit: add support for wobload
-rwxr-xr-x.config/wayland/winit5
1 files changed, 5 insertions, 0 deletions
diff --git a/.config/wayland/winit b/.config/wayland/winit
index 9a6423b..4bb25cb 100755
--- a/.config/wayland/winit
+++ b/.config/wayland/winit
@@ -11,6 +11,11 @@ pipewire &
pipewire-pulse &
sleep 3 && wireplumber &
+# wob
+wobpipe="${XDG_RUNTIME_DIR:-${TMPDIR:-/tmp}}/wobpipe" &&
+mkfifo "$wobpipe" &&
+tail -f "$wobpipe" | wob &
+
# screen lock
disp="$(wlr-randr | grep -om1 '^[^ ]*')"
timeout=60 # seconds >5