DSK: Update, prune services, move tasks to dskrc

This commit is contained in:
2018-12-09 13:02:49 -06:00
parent ea80e33ddd
commit 3544a06788
7 changed files with 17 additions and 19 deletions

View File

@@ -11,7 +11,6 @@ export XDG_CURRENT_DESKTOP="KDE"
export TERMINAL="konsole"
export DSK_FLAG_MASK=""
export DSK_CURRENT_DESKTOP="$DSK_NAME"
case "$HOSTNAME" in
@@ -23,3 +22,19 @@ case "$HOSTNAME" in
;;
esac
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
[ -r "$file" ] && xrdb -merge "$file"
done
# No bell
xset -b
# No screen blanking
xset s off
fi