[polybar] Stop spamming log dirs
This commit is contained in:
parent
67b60c84e0
commit
2fea2ba9f8
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue