Additonal templating for FHD single monitor

This commit is contained in:
Andrew Scott 2022-12-29 14:43:08 -05:00
parent 40ee65fec7
commit e38ad09bb8
Signed by: a
GPG key ID: 7CD5A5977E4931C1

View file

@ -1,5 +1,5 @@
#!/bin/bash
{{ if eq .chezmoi.hostname "helix" }}
{{ if (or (eq .chezmoi.hostname "helix") (eq .chezmoi.hostname "triangulum")) }}
bspc monitor eDP-1 -d 1 2 3 4 5 6 7 8 9 10
{{ end }}
{{ if eq .chezmoi.hostname "hydrus"}}
@ -62,7 +62,7 @@ picom &
dunst &
dex -a &
birdtray &
{{- if eq .chezmoi.hostname "helix" }}
{{- if (or (eq .chezmoi.hostname "helix") (eq .chezmoi.hostname "triangulum")) }}
xidlehook --not-when-audio --not-when-fullscreen --timer 120 "killall -q redshift && xrandr --output eDP-1 --brightness .1" "xrandr --output eDP-1 --brightness 1 && redshift -r & disown" --timer 480 "xset s activate" "xrandr --output eDP-1 --brightness 1 && redshift -r & disown" &
cbatticon -u 20 -i standard -c "systemctl hibernate" &
$HOME/.local/bin/tint2-launcher &
@ -71,8 +71,4 @@ $HOME/.local/bin/tint2-launcher &
xidlehook --not-when-audio --not-when-fullscreen --timer 360 "xset s activate" "" &
$HOME/.local/bin/dual-polybar-launcher &
{{- end }}
{{- if eq .chezmoi.hostname "triangulum"}}
xidlehook --not-when-audio --not-when-fullscreen --timer 360 "xset s activate" "" &
$HOME/.local/bin/single-polybar-launcher &
{{- end }}
sleep 10 && nextcloud --background &