DSK: Use hsetroot when available to set background, add tiled background

This commit is contained in:
Salt 2018-12-19 22:50:43 -06:00
parent f6767e60f5
commit b29925ac27
2 changed files with 7 additions and 2 deletions

View File

@ -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

BIN
.wptile Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 236 B