diff options
| author | JaKooLit <jimmielovejay.com> | 2024-01-01 18:43:31 +0900 |
|---|---|---|
| committer | JaKooLit <jimmielovejay.com> | 2024-01-01 18:43:31 +0900 |
| commit | 2bbe867a07895b5bfdd00722830324fb1b37cf11 (patch) | |
| tree | d344007ddc9614137c64b6ea4bf619310646e59f /config/hypr/scripts/RefreshNoWaybar.sh | |
| parent | f7c551d45dee4dee7b2ae7af635506f6bad0c1bc (diff) | |
Just a small tinkering... :)
Diffstat (limited to 'config/hypr/scripts/RefreshNoWaybar.sh')
| -rwxr-xr-x | config/hypr/scripts/RefreshNoWaybar.sh | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/config/hypr/scripts/RefreshNoWaybar.sh b/config/hypr/scripts/RefreshNoWaybar.sh index be06167c..f0c3d569 100755 --- a/config/hypr/scripts/RefreshNoWaybar.sh +++ b/config/hypr/scripts/RefreshNoWaybar.sh @@ -1,11 +1,12 @@ -#!/usr/bin/env bash +#!/bin/bash +## /* ---- 💫 https://github.com/JaKooLit 💫 ---- */ ## # Modified version of Refresh but no waybar refresh # Used by automatic wallpaper change -# Modified inorder to refresh rofi background, Pywal +# Modified inorder to refresh rofi background, Pywal, SwayNC SCRIPTSDIR=$HOME/.config/hypr/scripts -UserSCRIPTSDIR=$HOME/.config/hypr/UserScripts +UserScripts=$HOME/.config/hypr/UserScripts # Define file_exists function file_exists() { @@ -29,8 +30,8 @@ ${SCRIPTSDIR}/PywalSwww.sh & # Relaunching rainbow borders if the script exists sleep 1 -if file_exists "${UserSCRIPTSDIR}/RainbowBorders.sh"; then - ${UserSCRIPTSDIR}/RainbowBorders.sh & +if file_exists "${UserScripts}/RainbowBorders.sh"; then + ${UserScripts}/RainbowBorders.sh & fi # for cava-pywal (note, need to manually restart cava once wallpaper changes) |
