This commit is contained in:
2018-12-28 18:19:00 +01:00
parent ab9d28353b
commit cb34056f15
23 changed files with 214 additions and 106 deletions

View File

@@ -19,23 +19,15 @@ fi
start_wm() {
log "starting i3"
exec i3 -c "$HOME/.i3/config" >> "$LOGDIR/i3/i3.log"
# exec systemd-run --user --unit i3_user --pty --setenv=DISPLAY=${DISPLAY} 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" >>"${LOGFILE}" 2>&1
fi
done
fi
autostart="$HOME/.autostart.sh"
log "Executing autostart file \"$autostart\""
"$autostart" >>"${LOGFILE}" 2>&1
}
exec >> "$LOGFILE" 2>&1
set -x
log "the"
autostart
log "fuck"
start_wm