diff --git a/home/local/bin/scripts/polybar.sh b/home/local/bin/scripts/polybar.sh index 1fbca1d..98612dd 100755 --- a/home/local/bin/scripts/polybar.sh +++ b/home/local/bin/scripts/polybar.sh @@ -1,7 +1,7 @@ #!/bin/bash # 干掉旧进程 -pkill polybar +killall -9 polybar # 等待1秒再启动新的 sleep 1 polybar main -r &