fixed monitor rules

This commit is contained in:
ManOfGoldForever 2026-08-30 00:30:06 -04:00
parent d7a9fd25bd
commit 7fce5fc157
2 changed files with 7 additions and 16 deletions

View file

@ -1,28 +1,12 @@
profile dual { profile dual {
# Monitors
output HDMI-A-1 mode 1920x1080@239.760Hz position 0,0 transform normal output HDMI-A-1 mode 1920x1080@239.760Hz position 0,0 transform normal
output DP-1 mode 2560x1440@59.95Hz position 1920,0 transform 270 output DP-1 mode 2560x1440@59.95Hz position 1920,0 transform 270
output eDP-2 disable output eDP-2 disable
# Workspace placement
exec swaymsg "workspace 1; move workspace to output HDMI-A-1"
exec swaymsg "workspace 2; move workspace to output HDMI-A-1"
exec swaymsg "workspace 3; move workspace to output DP-1"
exec swaymsg "workspace 4; move workspace to output DP-1"
exec swaymsg "workspace 5; move workspace to output DP-1"
} }
profile single { profile single {
# External monitor + laptop display
output HDMI-A-1 mode 1920x1080@239.760Hz position 0,0 transform normal output HDMI-A-1 mode 1920x1080@239.760Hz position 0,0 transform normal
output eDP-2 mode 1920x1200@165Hz position 1920,0 transform normal output eDP-2 mode 1920x1200@165Hz position 1920,0 transform normal
# Workspace placement
exec swaymsg "workspace 1; move workspace to output HDMI-A-1"
exec swaymsg "workspace 2; move workspace to output HDMI-A-1"
exec swaymsg "workspace 3; move workspace to output eDP-2"
exec swaymsg "workspace 4; move workspace to output eDP-2"
exec swaymsg "workspace 5; move workspace to output eDP-2"
} }
profile laptop { profile laptop {

View file

@ -1,4 +1,11 @@
# Wallpaper - solid color # Wallpaper - solid color
output * bg #141514 solid_color output * bg #141514 solid_color
workspace 1 output HDMI-A-1 eDP-2
workspace 2 output HDMI-A-1 eDP-2
workspace 3 output DP-1 eDP-2
workspace 4 output DP-1 eDP-2
workspace 5 output DP-1 eDP-2
workspace 1 workspace 1