Compare commits

..

2 commits

3 changed files with 6 additions and 6 deletions

View file

@ -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 }}

View file

@ -21,12 +21,12 @@ river_has_update=$(echo "$aur_updates" | grep -c 'river-git')
zls_has_update=$(echo "$aur_updates" | grep -c 'zls-git')
if [ "$river_has_update" -ne 0 ] && [ "$zls_has_update" -ne 0 ]; then
zigup 0.11.0
zigup 0.13.0
paru -Syu river-git
zigup master
paru -S zls-git
elif [ "$river_has_update" -ne 0 ]; then
zigup 0.11.0
zigup 0.13.0
paru -Syu
zigup master
else

View file

@ -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