hyprcrux/.config/hypr/scripts/wallbashypr.sh
2024-02-26 00:59:53 -05:00

16 lines
309 B
Bash
Executable file

#!/usr/bin/env sh
# set variables
ScrDir=`dirname "$(realpath "$0")"`
source $ScrDir/globalcontrol.sh
hypDir="${XDG_CONFIG_HOME:-$HOME/.config}/hypr/themes"
# regen color conf
if [ "$EnableWallDcol" -eq 1 ] ; then
cp ${hypDir}/Wall-Dcol.conf ${hypDir}/colors.conf
else
> ${hypDir}/colors.conf
fi