From 25d6e4f51ba5f676ed965445351822d4b90e0b96 Mon Sep 17 00:00:00 2001 From: k4rli Date: Sun, 20 Jul 2025 22:05:44 +0300 Subject: [PATCH] displays --- home_dotfiles/.config/sway/config | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/home_dotfiles/.config/sway/config b/home_dotfiles/.config/sway/config index c408979..0e4e698 100644 --- a/home_dotfiles/.config/sway/config +++ b/home_dotfiles/.config/sway/config @@ -71,14 +71,18 @@ set $filemanager thunar # output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill output * bg /home/raga/.config/sway/wallpaper.jpg fill -# 144Hz monitor configuration -# Add custom 144Hz mode for your monitor -# Using the same timing as your xrandr command: 586.59 2560 2568 2600 2640 1440 1529 1537 1543 +hsync -vsync -output HDMI-A-1 { - modeline 586.59 2560 2568 2600 2640 1440 1529 1537 1543 +hsync -vsync +# Multi-monitor setup +# You can get your output names by running: swaymsg -t get_outputs +# DP-2 is the primary monitor on the left, and DP-1 is on the right. +output DP-2 { + mode 2560x1440@144Hz + position 0 0 } -# You can get the names of your outputs by running: swaymsg -t get_outputs +output DP-1 { + modeline 586.59 2560 2568 2600 2640 1440 1529 1537 1543 +hsync -vsync + position 2560 0 +} ############################################################################### # Idle configuration @@ -480,9 +484,9 @@ bar { # border backgr. text focused_workspace #000000 #ffffff #000000 - active_workspace #000000 #000000 #ffffff + active_workspace #ffffff #000000 #ffffff inactive_workspace #000000 #000000 #ffffff - urgent_workspace #000000 #ff0000 #000000 + urgent_workspace #000000 #ff0000 #ffffff } }