summaryrefslogtreecommitdiff
path: root/sway/config
diff options
context:
space:
mode:
authorxengineering <me@xengineering.eu>2026-03-20 07:11:14 +0100
committerxengineering <me@xengineering.eu>2026-03-20 07:11:14 +0100
commit1e87c16b4eebd0fb13e13022ac4f4db670d05de3 (patch)
tree645bf9619fa8198d6dd3efcbe9648b1525c37afc /sway/config
parentf7daebe7970b2c297cbd8f4373e975b2bec6be7f (diff)
downloaddotfiles-1e87c16b4eebd0fb13e13022ac4f4db670d05de3.tar
dotfiles-1e87c16b4eebd0fb13e13022ac4f4db670d05de3.tar.zst
dotfiles-1e87c16b4eebd0fb13e13022ac4f4db670d05de3.zip
sway: Use unique output identifiersHEADmain
These long strings are unique and stable. This allows to write an output configuration suitable for multiple laptops on multiple workplaces with multiple monitors. Especially hot-plugging is simplified with this because it simply works without using tools like wdisplays each time.
Diffstat (limited to 'sway/config')
-rw-r--r--sway/config23
1 files changed, 21 insertions, 2 deletions
diff --git a/sway/config b/sway/config
index bfb2776..2c81935 100644
--- a/sway/config
+++ b/sway/config
@@ -23,8 +23,27 @@ set $menu bemenu-run -p ">>>" | xargs swaymsg exec
# Default wallpaper (more resolutions are available in /usr/share/backgrounds/sway/)
output * bg ~/wallpaper fill
-# include current output/monitor setup
-include ~/.config/sway/setup
+# thinkpad
+output "Chimei Innolux Corporation 0x14C9 Unknown" resolution 1920x1080 position 2560,1440
+
+# hopzombie
+output "Chimei Innolux Corporation 0x14D4 0x00000000" resolution 1920x1080 position 2560,1440
+
+# h26 Arch
+output "LG Electronics 24BK450H 0x01010101" resolution 1920x1080 position 4480,900
+output "LG Electronics 24MB56 0x01010101" resolution 1920x1080 position 6400,900
+
+# hs26 Debian
+output "Goldstar Company Ltd 24BK450H " resolution 1920x1080 position 4480,900
+output "Goldstar Company Ltd 24MB56 " resolution 1920x1080 position 6400,900
+
+# e5
+output "Dell Inc. DELL SE2723DS FLNJQT3" resolution 2560x1440 position 0,0
+output "Dell Inc. DELL SE2723DS H2YJQT3" resolution 2560x1440 position 2560,0
+
+workspace 1 output "LG Electronics 24BK450H 0x01010101" "Goldstar Company Ltd 24BK450H " "Dell Inc. DELL SE2723DS FLNJQT3"
+workspace 2 output "LG Electronics 24MB56 0x01010101" "Goldstar Company Ltd 24MB56 " "Dell Inc. DELL SE2723DS H2YJQT3"
+workspace 3 output "Chimei Innolux Corporation 0x14C9 Unknown" "Chimei Innolux Corporation 0x14D4 0x00000000"
font JetBrainsMonoNerdFont 10