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
|
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
|
if [ -z "$DSK_FLAG_HASRESTARTED" ]; then
|
||||||
# KDE initialization
|
# KDE initialization
|
||||||
command -v kdeinit5 > /dev/null 2>&1 && kdeinit5
|
command -v kdeinit5 > /dev/null 2>&1 && kdeinit5
|
||||||
# Nitrogen
|
|
||||||
command -v nitrogen > /dev/null 2>&1 && nitrogen --restore
|
|
||||||
# XRDB
|
# XRDB
|
||||||
[ -r ~/.Xresources ] && xrdb ~/.Xresources
|
[ -r ~/.Xresources ] && xrdb ~/.Xresources
|
||||||
for file in "$XDG_CONFIG_HOME"/xrdb/*.xresources; do
|
for file in "$XDG_CONFIG_HOME"/xrdb/*.xresources; do
|
||||||
|
Reference in New Issue
Block a user