From 9f7677f89b34aa8fe0e61aa4c84ae556b66dd05a Mon Sep 17 00:00:00 2001 From: JaKooLit Date: Thu, 30 Nov 2023 01:58:25 +0900 Subject: Restart of Rainbow Borders fixed :) --- config/hypr/scripts/Refresh.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'config/hypr/scripts') diff --git a/config/hypr/scripts/Refresh.sh b/config/hypr/scripts/Refresh.sh index cd399b0c..b411c242 100755 --- a/config/hypr/scripts/Refresh.sh +++ b/config/hypr/scripts/Refresh.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash SCRIPTSDIR=$HOME/.config/hypr/scripts @@ -6,7 +6,7 @@ SCRIPTSDIR=$HOME/.config/hypr/scripts _ps=(waybar rofi) for _prs in "${_ps[@]}"; do if pidof "${_prs}" >/dev/null; then - killall "${_prs}" + pkill "${_prs}" fi done @@ -16,6 +16,6 @@ waybar & # Relaunch dunst with pywal-borders ${SCRIPTSDIR}/PywalDunst.sh & -## trying to figure out how to restart Rainbow borders -#sleep 1 -#${SCRIPTSDIR}/RainbowBorders.sh & \ No newline at end of file +# Relaunching rainbow borders +sleep 1 +${SCRIPTSDIR}/RainbowBorders.sh & \ No newline at end of file -- cgit v1.2.3