home/.config/dtfscripts/tasks/xrdbupdate.sh
Salt e96a76e29a wmstartup: Add tasks frameworking
Because one-off services are kind of hacky
2018-08-27 20:28:58 -05:00

15 lines
291 B
Bash
Executable File

#! /bin/sh
if [ -r ~/.Xresources ]; then
tsk_log "Loading .Xresources"
xrdb ~/.Xresources
fi
for file in $XDG_CONFIG_HOME/xrdb/*.xresources; do
if ! [ -r "$file" ]; then
tsk_log "Could not read file \"$file\""
else
tsk_log "Merging in file \"$file\""
xrdb -merge "$file"
fi
done