Merge branch 'work'

This commit is contained in:
2017-09-01 11:27:23 +02:00
16 changed files with 162 additions and 136 deletions

View File

@@ -6,7 +6,6 @@ log() {
echo "[$(date +%FT%T)] $*" >> "$LOGFILE"
}
if [ -d /etc/X11/xinit/xinitrc.d ]; then
for f in /etc/X11/xinit/xinitrc.d/*; do
[ -x "$f" ] && . "$f"
@@ -22,18 +21,5 @@ start_wm() {
exec i3 -c "$HOME/.i3/config" >> "$LOGDIR/i3/i3.log"
}
autostart() {
if [[ -d "$HOME/.autostart" ]] ; then
log "Looking for autostart files."
for f in "$HOME/.autostart/"*.sh ; do
if [[ -x "$f" ]] ; then
log "Executing autostart file \"$f\""
"$f"
fi
done
fi
}
autostart
start_wm