From b878cc923fe7132f667a73c19e8db628869ceb8d Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Wed, 10 May 2023 23:12:18 +0530 Subject: cwall: initial commit a helper script for swaybg --- .config/wayland/winit | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.config/wayland/winit') 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 & -- cgit v1.2.3