From e38ad09bb8b8dbc01a660a445ae0ef395af9012a Mon Sep 17 00:00:00 2001 From: Andrew Scott Date: Thu, 29 Dec 2022 14:43:08 -0500 Subject: [PATCH] Additonal templating for FHD single monitor --- dot_config/bspwm/executable_bspwmrc.tmpl | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/dot_config/bspwm/executable_bspwmrc.tmpl b/dot_config/bspwm/executable_bspwmrc.tmpl index ad2185a..c1bb759 100644 --- a/dot_config/bspwm/executable_bspwmrc.tmpl +++ b/dot_config/bspwm/executable_bspwmrc.tmpl @@ -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 &