Megoldottam:
## Variables
# Displays
set $monitor DP-1
set $tv HDMI-A-1
### Output
# LG 32' Monitor
output DP-1 {
mode 2560x1440@74.971Hz
position 0 0
adaptive_sync off
scale_filter smart
subpixel rgb
bg /usr/share/backgrounds/arch/arch.png fill
}
# LG 55' OLED TV
output HDMI-A-1 {
mode 4096x2160@120.000Hz
position 0 0
adaptive_sync on
scale_filter smart
subpixel rgb
bg /usr/share/backgrounds/arch/arch.png fill
}
## Screen control
mode "(M)onitor (T)v (O)ff" {
bindsym m output $monitor enable, output $tv disable, mode "default"
bindsym t output $tv enable, output $monitor disable, mode "default"
bindsym o output $monitor disable, output $tv disable, mode "default"
# Retrurn to default mode
bindsym Return mode "default"
bindsym Escape mode "default"
}
bindsym $mod+x mode "(M)onitor (T)v (O)ff"
Annyi kis bibi van csak, hogy mivel mindket kijelzo definialva van a konfigba, igy boot utan minketto aktiv, szoval ha csak a monitort akarom hasznalni akkor nyomnom kell egy mod+x m kombot.
Valami olyan megoldas kellene erre, ami boot utan lelovi a TV out-ot. Illetve nem csak boot utan hanem egy szimpla mod+shift+c -re is elojon.