diff --git a/.config/waybar/custom/playerctl.sh b/.config/waybar/custom/playerctl.sh index e9d0f2a..da91770 100755 --- a/.config/waybar/custom/playerctl.sh +++ b/.config/waybar/custom/playerctl.sh @@ -12,7 +12,7 @@ fi if [[ "$cover" != $(cat ~/.config/waybar/custom/cover.cache) ]]; then echo "$cover" > ~/.config/waybar/custom/cover.cache cp $cover ~/.config/waybar/custom/cover.jpg - killall waybar && waybar & + systemctl --user restart waybar exit fi