mirror of
https://github.com/duma799/hyprduma-config.git
synced 2026-05-14 06:31:00 +00:00
refactor: move scripts to dedicated directory
This commit is contained in:
@@ -34,9 +34,6 @@ if [ -f "$WALLPAPER" ]; then
|
||||
# Resolve pywal.sh location (same directory as this hook, or ~/pywal.sh)
|
||||
SCRIPT_DIR="$(cd "$(dirname "$0")" && pwd)"
|
||||
PYWAL_SCRIPT="$SCRIPT_DIR/pywal.sh"
|
||||
if [ ! -f "$PYWAL_SCRIPT" ]; then
|
||||
PYWAL_SCRIPT="$HOME/pywal.sh"
|
||||
fi
|
||||
|
||||
if [ -f "$PYWAL_SCRIPT" ]; then
|
||||
bash "$PYWAL_SCRIPT" "$WALLPAPER" >> "$LOG_FILE" 2>&1
|
||||
|
||||
Reference in New Issue
Block a user