From 34cb95d40cc086222e955bffcfb5a71425eea236 Mon Sep 17 00:00:00 2001 From: goodhumored Date: Wed, 26 Feb 2025 11:55:25 +0300 Subject: [PATCH] feat: waybar to systemctl script --- .config/waybar/custom/playerctl.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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