mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-08 13:30:47 -05:00
Redirect logs to null device after writing to file
This commit is contained in:
parent
e3a511014a
commit
cdc898f7e4
2 changed files with 4 additions and 4 deletions
|
@ -39,7 +39,7 @@ swayidle -dw \
|
|||
resume "wlr-randr --output eDP-1 --on && kanshictl reload" \
|
||||
lock "waylock-launcher" \
|
||||
before-sleep "waylock-launcher" \
|
||||
2>&1 | tee -a "$log_file" &
|
||||
2>&1 | tee -a "$log_file" >/dev/null &
|
||||
{{- else if eq .chezmoi.hostname "hydrus" }}
|
||||
# lock: 5m, display: 15m
|
||||
swayidle -dw \
|
||||
|
@ -48,10 +48,10 @@ swayidle -dw \
|
|||
resume 'kanshictl switch dual' \
|
||||
lock 'waylock-launcher' \
|
||||
before-sleep 'waylock-launcher' \
|
||||
2>&1 | tee -a "$log_file" &
|
||||
2>&1 | tee -a "$log_file" >/dev/null &
|
||||
{{- else }}
|
||||
# lock after 5m
|
||||
swayidle -dw \
|
||||
timeout 300 'waylock-launcher' \
|
||||
2>&1 | tee -a "$log_file" &
|
||||
2>&1 | tee -a "$log_file" >/dev/null &
|
||||
{{- end }}
|
||||
|
|
|
@ -17,6 +17,6 @@ else
|
|||
-init-color 0x000000 \
|
||||
-fail-color 0x000000 \
|
||||
-input-color 0x525c62 \
|
||||
2>&1 | tee -a "$log_file" &
|
||||
2>&1 | tee -a "$log_file" >/dev/null &
|
||||
fi
|
||||
|
||||
|
|
Loading…
Reference in a new issue