DSK: Use hsetroot when available to set background, add tiled background
This commit is contained in:
parent
f6767e60f5
commit
b29925ac27
@ -22,11 +22,16 @@ case "$HOSTNAME" in
|
||||
;;
|
||||
esac
|
||||
|
||||
# Background setting
|
||||
if command -v hsetroot > /dev/null 2>&1; then
|
||||
hsetroot -solid "#282828" -tile "$HOME/.wptile" -center "$HOME/.wpcenter"
|
||||
elif command -v nitrogen > /dev/null 2>&1; then
|
||||
nitrogen --restore
|
||||
fi
|
||||
|
||||
if [ -z "$DSK_FLAG_HASRESTARTED" ]; then
|
||||
# KDE initialization
|
||||
command -v kdeinit5 > /dev/null 2>&1 && kdeinit5
|
||||
# Nitrogen
|
||||
command -v nitrogen > /dev/null 2>&1 && nitrogen --restore
|
||||
# XRDB
|
||||
[ -r ~/.Xresources ] && xrdb ~/.Xresources
|
||||
for file in "$XDG_CONFIG_HOME"/xrdb/*.xresources; do
|
||||
|
Loading…
Reference in New Issue
Block a user