Skip to content

Instantly share code, notes, and snippets.

@daemonp
Created April 25, 2025 11:55
Show Gist options
  • Save daemonp/3fd87a2eb395794031e91ab3051f09ba to your computer and use it in GitHub Desktop.
Save daemonp/3fd87a2eb395794031e91ab3051f09ba to your computer and use it in GitHub Desktop.
# Profile for both external monitors
profile "External Only" {
output eDP-1 disable
output "ASUSTek COMPUTER INC PA278CV S5LMQS121463" {
mode 2560x1440
scale 1.0
transform normal
}
output "LG Electronics LG HDR 4K 0x0003B598" {
mode 3840x2160
scale 1.0
transform normal
}
}
# Profile for ASUS monitor only
profile "ASUS Only" {
output eDP-1 disable
output "ASUSTek COMPUTER INC PA278CV S5LMQS121463" {
mode 2560x1440
scale 1.0
transform normal
}
}
# Profile for laptop only
profile "Laptop Only" {
output eDP-1 {
mode 2880x1920
scale 2
transform normal
}
exec wlr-randr --output eDP-1 --on --mode 2880x1920 --scale 2
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment