[polybar] Stop spamming log dirs

This commit is contained in:
M1dgard 2018-08-22 23:58:43 +02:00
parent 67b60c84e0
commit 2fea2ba9f8
Signed by untrusted user who does not match committer: midgard
GPG key ID: 511C112F1331BBB4

View file

@ -2,9 +2,9 @@
echo "Launching polybar"
LOGDIR="$HOME/.log/my-i3-desktop/polybar-$(date +%Y%m%d_%H%M%S.%N)"
LOGDIR="$HOME/.log/my-i3-desktop"
mkdir -p "$LOGDIR"
INIT_LOG="$LOGDIR/launch.log"
INIT_LOG="$LOGDIR/polybar-launch.log"
exec 1>&- 2>&-
exec 1>"$INIT_LOG" 2>&1