summaryrefslogtreecommitdiffstats
path: root/.local/bin/setwp
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/setwp')
-rwxr-xr-x.local/bin/setwp4
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);