home/.config/dtfscripts/tasks/xrdbupdate.sh

15 lines
291 B
Bash
Raw Normal View History

#! /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