From f5e877b6688169ebc739a12f9162448f483b4700 Mon Sep 17 00:00:00 2001 From: Dmitry Voronin Date: Thu, 2 Jan 2025 06:39:15 +0300 Subject: [PATCH] Swayscript: Restart wallpaper video only if was running. --- package/swayscript/script/Reload.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/package/swayscript/script/Reload.sh b/package/swayscript/script/Reload.sh index bf82791..dbc6879 100644 --- a/package/swayscript/script/Reload.sh +++ b/package/swayscript/script/Reload.sh @@ -4,8 +4,7 @@ function reload() { re() { # Sway. swaymsg reload - pkill mpvpaper - wallpaper-video + pkill mpvpaper && wallpaper-video # Waybar. pkill waybar