Updates for switch to Artix on desktop

This commit is contained in:
Andrew Scott 2023-03-14 01:16:48 -04:00
parent d08fbd127d
commit 916a15c676
Signed by: a
GPG key ID: 7CD5A5977E4931C1
3 changed files with 7 additions and 7 deletions

View file

@ -2,8 +2,8 @@
{{ if ne .chezmoi.hostname "hydrus" }} {{ if ne .chezmoi.hostname "hydrus" }}
bspc monitor eDP-1 -d 1 2 3 4 5 6 7 8 9 10 bspc monitor eDP-1 -d 1 2 3 4 5 6 7 8 9 10
{{ else }} {{ else }}
bspc monitor DP-0 -d 1 2 3 4 5 bspc monitor DisplayPort-0 -d 1 2 3 4 5
bspc monitor DVI-I-1 -d 6 7 8 9 10 bspc monitor DisplayPort-1 -d 6 7 8 9 10
{{ end }} {{ end }}
bspc config border_width 2 bspc config border_width 2
{{- if eq .chezmoi.hostname "helix" }} {{- if eq .chezmoi.hostname "helix" }}
@ -68,12 +68,13 @@ grep -x sxhkd > /dev/null || sxhkd &
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock & xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock &
xsettingsd & xsettingsd &
{{- if eq .chezmoi.hostname "helix" }} {{- if (or (eq .chezmoi.hostname "helix") (eq .chezmoi.hostname "hydrus")) }}
$HOME/.local/bin/pipewire-launcher & $HOME/.local/bin/pipewire-launcher &
{{- end }} {{- end }}
{{- if (or (eq .chezmoi.hostname "helix") (eq .chezmoi.hostname "triangulum")) }} {{- if (or (eq .chezmoi.hostname "helix") (eq .chezmoi.hostname "triangulum")) }}
$HOME/.local/bin/xidlehook-laptop & $HOME/.local/bin/xidlehook-laptop &
cbatticon -u 20 -i standard -c "loginctl suspend" & cbatticon -u 20 -i standard -c "loginctl suspend" &
sleep 5 && pa-notify -t 3 &
$HOME/.local/bin/tint2-launcher & $HOME/.local/bin/tint2-launcher &
{{- end }} {{- end }}
{{- if eq .chezmoi.hostname "hydrus"}} {{- if eq .chezmoi.hostname "hydrus"}}
@ -86,5 +87,4 @@ picom &
dunst & dunst &
dex -a & dex -a &
birdtray & birdtray &
sleep 5 && pa-notify -t 3 &
sleep 5 && nextcloud --background & sleep 5 && nextcloud --background &

View file

@ -8,7 +8,7 @@ margin-top = 0
[bar/one] [bar/one]
{{- if eq .chezmoi.hostname "hydrus"}} {{- if eq .chezmoi.hostname "hydrus"}}
monitor = DP-0 monitor = DisplayPort-0
height = 32 height = 32
bottom = true bottom = true
{{- else }} {{- else }}
@ -85,7 +85,7 @@ cursor-scroll =
[bar/two] [bar/two]
{{- if eq .chezmoi.hostname "hydrus"}} {{- if eq .chezmoi.hostname "hydrus"}}
monitor = DVI-I-1 monitor = DisplayPort-1
{{- else }} {{- else }}
monitor = eDP-1 monitor = eDP-1
{{- end}} {{- end}}

View file

@ -39,7 +39,7 @@ xinput set-prop 13 303 1 &
{{- else if eq .chezmoi.hostname "triangulum" }} {{- else if eq .chezmoi.hostname "triangulum" }}
xinput set-prop 10 306 1 & xinput set-prop 10 306 1 &
{{- else if eq .chezmoi.hostname "hydrus" }} {{- else if eq .chezmoi.hostname "hydrus" }}
xrandr --output DP-1 --mode 1920x1080 --rate 144.00 --output DP-2 --mode 1920x1080 --rate 60.00 & xrandr --output DisplayPort-0 --mode 1920x1080 --rate 144.00 --output DisplayPort-1 --mode 1920x1080 --rate 60.00 &
xset m 10/10 100 r rate 500 30 b on & xset m 10/10 100 r rate 500 30 b on &
numlockx on & numlockx on &
{{- end }} {{- end }}