wmstartup: Add tasks frameworking
Because one-off services are kind of hacky
This commit is contained in:
14
.config/dtfscripts/tasks/xrdbupdate.sh
Executable file
14
.config/dtfscripts/tasks/xrdbupdate.sh
Executable file
@@ -0,0 +1,14 @@
|
||||
#! /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
|
||||
|
Reference in New Issue
Block a user