From 81c3ee732b1544c2471de09dc2b1eb11061b388d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jozef=20Steinh=C3=BCbl?= Date: Tue, 3 Sep 2024 18:57:39 +0200 Subject: [PATCH] sway: monitor output --- .config/sway/config | 3 +++ .config/sway/exec.swayconf | 5 +++++ 2 files changed, 8 insertions(+) diff --git a/.config/sway/config b/.config/sway/config index 03b10bb..3fe8fd3 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -1,5 +1,8 @@ include ~/.config/sway/*.swayconf +output HDMI-A-1 pos 0 0 res 1920x1080@144Hz +output eDP-1 pos 1920 0 res 1920x1080@120Hz + # background output * bg ~/Pictures/Th0q7eQ.jpg fill diff --git a/.config/sway/exec.swayconf b/.config/sway/exec.swayconf index 1c41279..33ce924 100644 --- a/.config/sway/exec.swayconf +++ b/.config/sway/exec.swayconf @@ -1,5 +1,10 @@ # vim:ft=swayconfig +# monitor +exec_always { + xrandr --output HDMI-A-1 --primary +} + # gtk themes exec_always { gsettings set org.gnome.desktop.interface gtk-theme "Adwaita-dark"