summaryrefslogtreecommitdiff
path: root/.config/wayland/winit
diff options
context:
space:
mode:
authorsinanmohd <sinan@firemail.cc>2023-05-10 23:12:18 +0530
committersinanmohd <sinan@firemail.cc>2023-05-10 23:12:18 +0530
commitb878cc923fe7132f667a73c19e8db628869ceb8d (patch)
tree370ef3984b34aaba9946d9a6497d3bd52abddd44 /.config/wayland/winit
parentef2f0f53c8f60e9329508fb89e195a3ba72075c9 (diff)
cwall: initial commit
a helper script for swaybg
Diffstat (limited to '.config/wayland/winit')
-rwxr-xr-x.config/wayland/winit3
1 files changed, 2 insertions, 1 deletions
diff --git a/.config/wayland/winit b/.config/wayland/winit
index 1423d45..42f2c19 100755
--- a/.config/wayland/winit
+++ b/.config/wayland/winit
@@ -1,7 +1,8 @@
#!/bin/sh
# background
-swaybg -m fill -i "${XDG_DATA_HOME:-$HOME/.local/share}/wall" &
+swaybg -m fill -i "${XDG_DATA_HOME:-$HOME/.local/share}/wallpaper" &
+echo $! > "${XDG_RUNTIME_DIR:-${TMPDIR:-/tmp}}/swaybg.pid" &
# notification deamon
mako &