punktdateien/hypr/scripts/conf-wall.sh
2023-12-08 17:33:11 +01:00

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