DSK: Update, prune services, move tasks to dskrc
This commit is contained in:
parent
ea80e33ddd
commit
3544a06788
@ -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
|
||||
|
||||
|
@ -1,2 +0,0 @@
|
||||
#! /usr/bin/env bash
|
||||
dropbox start
|
@ -1,2 +0,0 @@
|
||||
#! /usr/bin/env bash
|
||||
exec kdeinit5
|
@ -1,3 +0,0 @@
|
||||
#! /usr/bin/env bash
|
||||
command -v nitrogen > /dev/null 2>&1 || exit 0
|
||||
exec nitrogen --restore
|
@ -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
|
@ -1,5 +0,0 @@
|
||||
#! /usr/bin/env bash
|
||||
# No bell
|
||||
xset -b
|
||||
# No screen blanking
|
||||
xset s off
|
2
.dsk
2
.dsk
@ -1 +1 @@
|
||||
Subproject commit e7db9264c9947c8c589d7d541d10d209a765a3af
|
||||
Subproject commit efdc4251f8902c41228fbf0014eab8bd594c921f
|
Loading…
Reference in New Issue
Block a user