diff options
author | Joe <rbo@gmx.us> | 2025-07-16 21:31:48 +0200 |
---|---|---|
committer | Joe <rbo@gmx.us> | 2025-07-16 21:31:54 +0200 |
commit | 8f08df7da49b26515e08864eddd523cccd7569bb (patch) | |
tree | 5cdf175103673d028437d578244903ce7dcc2df9 /.local/bin/setwp | |
parent | dunstup (diff) | |
download | dotfiles-bsd-8f08df7da49b26515e08864eddd523cccd7569bb.tar.gz dotfiles-bsd-8f08df7da49b26515e08864eddd523cccd7569bb.tar.bz2 dotfiles-bsd-8f08df7da49b26515e08864eddd523cccd7569bb.tar.xz dotfiles-bsd-8f08df7da49b26515e08864eddd523cccd7569bb.tar.zst dotfiles-bsd-8f08df7da49b26515e08864eddd523cccd7569bb.zip |
qwe
Diffstat (limited to '')
-rwxr-xr-x | .local/bin/setwp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/.local/bin/setwp b/.local/bin/setwp index 5340138..85041ec 100755 --- a/.local/bin/setwp +++ b/.local/bin/setwp @@ -44,12 +44,12 @@ sub set_wp return 1 if !(-r $wp) || !(-f $wp); if (defined $ENV{WAYLAND_DISPLAY}) { - $old_pid = `pidof swaybg`; + $old_pid = `pidof wbg`; chomp $old_pid; $pid = fork(); if (not $pid) { setsid(); - exec("swaybg", "--image", $wp); + exec("wbg", $wp); } else { sleep(1); exec("kill", $old_pid); |