Swayscript: Restart wallpaper video only if was running.
This commit is contained in:
parent
efa7095392
commit
f5e877b668
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue