mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 01:43:10 -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" \
|
resume "wlr-randr --output eDP-1 --on && kanshictl reload" \
|
||||||
lock "waylock-launcher" \
|
lock "waylock-launcher" \
|
||||||
before-sleep "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" }}
|
{{- else if eq .chezmoi.hostname "hydrus" }}
|
||||||
# lock: 5m, display: 15m
|
# lock: 5m, display: 15m
|
||||||
swayidle -dw \
|
swayidle -dw \
|
||||||
|
@ -48,10 +48,10 @@ swayidle -dw \
|
||||||
resume 'kanshictl switch dual' \
|
resume 'kanshictl switch dual' \
|
||||||
lock 'waylock-launcher' \
|
lock 'waylock-launcher' \
|
||||||
before-sleep 'waylock-launcher' \
|
before-sleep 'waylock-launcher' \
|
||||||
2>&1 | tee -a "$log_file" &
|
2>&1 | tee -a "$log_file" >/dev/null &
|
||||||
{{- else }}
|
{{- else }}
|
||||||
# lock after 5m
|
# lock after 5m
|
||||||
swayidle -dw \
|
swayidle -dw \
|
||||||
timeout 300 'waylock-launcher' \
|
timeout 300 'waylock-launcher' \
|
||||||
2>&1 | tee -a "$log_file" &
|
2>&1 | tee -a "$log_file" >/dev/null &
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
|
@ -17,6 +17,6 @@ else
|
||||||
-init-color 0x000000 \
|
-init-color 0x000000 \
|
||||||
-fail-color 0x000000 \
|
-fail-color 0x000000 \
|
||||||
-input-color 0x525c62 \
|
-input-color 0x525c62 \
|
||||||
2>&1 | tee -a "$log_file" &
|
2>&1 | tee -a "$log_file" >/dev/null &
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue