From ea051851dc06c948764838f289fa7d84053559d7 Mon Sep 17 00:00:00 2001 From: Cheri Date: Mon, 27 Feb 2023 12:03:20 +0200 Subject: [PATCH] changed monitors setup --- sway/config | 2 +- sway/config.d/devices.conf | 11 +++++++++-- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/sway/config b/sway/config index 853eed6..f9ca6d8 100644 --- a/sway/config +++ b/sway/config @@ -18,7 +18,7 @@ exec --no-startup-id dbus-update-activation-environment --systemd DISPLAY WAYLAN # # Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/) output * bg ~/.local/share/wallpapers/bg1 fill -output HDMI-A-2 bg ~/.local/share/wallpapers/bg2 fill +output DP-1 bg ~/.local/share/wallpapers/bg2 fill # # Example configuration: # diff --git a/sway/config.d/devices.conf b/sway/config.d/devices.conf index 38716eb..066b028 100644 --- a/sway/config.d/devices.conf +++ b/sway/config.d/devices.conf @@ -1,7 +1,14 @@ # Read `man 5 sway-input` for more information about this section. -output DP-2 position 0 0 -output HDMI-A-2 position 1920 0 +output * max_render_time 4 +output DP-2 { + position 1920 0 + modeline 185.62 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync + max_render_time 2 +} +output DP-1 { + position 0 0 +} input type:keyboard { xkb_layout "ro"