DSK: Update, prune services, move tasks to dskrc

This commit is contained in:
Salt 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

View File

@ -1,2 +0,0 @@
#! /usr/bin/env bash
dropbox start

View File

@ -1,2 +0,0 @@
#! /usr/bin/env bash
exec kdeinit5

View File

@ -1,3 +0,0 @@
#! /usr/bin/env bash
command -v nitrogen > /dev/null 2>&1 || exit 0
exec nitrogen --restore

View File

@ -1,5 +0,0 @@
#! /usr/bin/env bash
[ -r ~/.Xresources ] && xrdb ~/.Xresources
for file in "$XDG_CONFIG_HOME"/xrdb/*.xresources; do
[ -r "$file" ] && xrdb -merge "$file"
done

View File

@ -1,5 +0,0 @@
#! /usr/bin/env bash
# No bell
xset -b
# No screen blanking
xset s off

2
.dsk

@ -1 +1 @@
Subproject commit e7db9264c9947c8c589d7d541d10d209a765a3af
Subproject commit efdc4251f8902c41228fbf0014eab8bd594c921f