Swayscript: Restart wallpaper video only if was running.
This commit is contained in:
parent
efa7095392
commit
f5e877b668
|
@ -4,8 +4,7 @@ function reload() {
|
|||
re() {
|
||||
# Sway.
|
||||
swaymsg reload
|
||||
pkill mpvpaper
|
||||
wallpaper-video
|
||||
pkill mpvpaper && wallpaper-video
|
||||
|
||||
# Waybar.
|
||||
pkill waybar
|
||||
|
|
Loading…
Reference in a new issue