Set initial display on dual monitor system

This commit is contained in:
Andrew Scott 2023-09-03 17:36:36 -04:00
parent 7e233e3a38
commit bb3ffba2ad
Signed by: a
GPG key ID: 7CD5A5977E4931C1

View file

@ -134,8 +134,7 @@ riverctl map normal Super F11 enter-mode passthrough
# Return to normal mode
riverctl map passthrough Super F11 enter-mode normal
{{ if (or (eq .chezmoi.hostname "helix") (eq .chezmoi.hostname "triangulum")) -}}
{{ if (or (eq .chezmoi.hostname "helix") (eq .chezmoi.hostname "triangulum")) }}
# Function/Media keys
for mode in normal locked
@ -170,7 +169,6 @@ do
done
{{- end }}
# Set background and border
riverctl background-color 0x323d43
riverctl border-color-focused 0xd8caac
@ -195,6 +193,11 @@ riverctl input pointer-2-7-SynPS/2_Synaptics_TouchPad scroll-method two-finger
# Lid switch
riverctl map-switch normal lid close 'waylock-launcher'
{{- end }}
{{- if eq .chezmoi.hostname "hydrus" }}
# Focus on 1st display at login
riverctl focus-output DP-1
{{- end }}
### "rule-add" not until 0.3.0
# Make all views with an app-id that starts with "float" and title "foo" start floating.