mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-09 14:00:47 -05:00
Compare commits
2 commits
ada842259c
...
cdc898f7e4
Author | SHA1 | Date | |
---|---|---|---|
cdc898f7e4 | |||
e3a511014a |
3 changed files with 6 additions and 6 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 }}
|
||||||
|
|
|
@ -21,12 +21,12 @@ river_has_update=$(echo "$aur_updates" | grep -c 'river-git')
|
||||||
zls_has_update=$(echo "$aur_updates" | grep -c 'zls-git')
|
zls_has_update=$(echo "$aur_updates" | grep -c 'zls-git')
|
||||||
|
|
||||||
if [ "$river_has_update" -ne 0 ] && [ "$zls_has_update" -ne 0 ]; then
|
if [ "$river_has_update" -ne 0 ] && [ "$zls_has_update" -ne 0 ]; then
|
||||||
zigup 0.11.0
|
zigup 0.13.0
|
||||||
paru -Syu river-git
|
paru -Syu river-git
|
||||||
zigup master
|
zigup master
|
||||||
paru -S zls-git
|
paru -S zls-git
|
||||||
elif [ "$river_has_update" -ne 0 ]; then
|
elif [ "$river_has_update" -ne 0 ]; then
|
||||||
zigup 0.11.0
|
zigup 0.13.0
|
||||||
paru -Syu
|
paru -Syu
|
||||||
zigup master
|
zigup master
|
||||||
else
|
else
|
||||||
|
|
|
@ -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