punktdateien/hypr/scripts/configure-wallpaper.sh

6 lines
255 B
Bash
Executable file

#!/bin/bash
pkill -9 hyprpaper &> /tmp/logs/hyprpaper.log # kill all running instances of hyprpaper
if [ "${SWI}" == "true" ]; then
hyprpaper --config "${CONF}"/hyprpaper.conf &>> /tmp/logs/hyprpaper.log # run hyprpaper if wallpaper is enabled
fi