Swayscript: Restart wallpaper video only if was running.

This commit is contained in:
Dmitry Voronin 2025-01-02 06:39:15 +03:00
parent efa7095392
commit f5e877b668
Signed by: voronind
SSH key fingerprint: SHA256:3kBb4iV2ahufEBNq+vFbUe4QYfHt98DHQjN7QaptY9k

View file

@ -4,8 +4,7 @@ function reload() {
re() { re() {
# Sway. # Sway.
swaymsg reload swaymsg reload
pkill mpvpaper pkill mpvpaper && wallpaper-video
wallpaper-video
# Waybar. # Waybar.
pkill waybar pkill waybar