From 4a416b016e4480ee4cfe2e6ab0bea3c0c07e4233 Mon Sep 17 00:00:00 2001 From: Arti Zirk Date: Fri, 12 Mar 2021 12:28:07 +0200 Subject: [PATCH] Split sway config per computer --- .config/sway/blue | 12 ++++++++++++ .config/sway/config | 12 ++---------- .config/sway/mammut | 5 +++++ .config/sway/sid | 1 + 4 files changed, 20 insertions(+), 10 deletions(-) create mode 100644 .config/sway/blue create mode 100644 .config/sway/mammut create mode 100644 .config/sway/sid diff --git a/.config/sway/blue b/.config/sway/blue new file mode 100644 index 0000000..02f4034 --- /dev/null +++ b/.config/sway/blue @@ -0,0 +1,12 @@ +# Work computer + +set $left_disp "Goldstar Company Ltd LG HDR 4K 0x0000BBF6" +set $right_disp "Goldstar Company Ltd LG Ultra HD 0x0000B5BA" + +# Work monitors +output $left_disp pos 0 0 +output $right_disp pos 2560 0 +# +# 4K resolution on 27" is way too small by default +output $left_disp scale 1.5 +output $right_disp scale 1.5 diff --git a/.config/sway/config b/.config/sway/config index f8a09ff..3d6d52e 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -36,16 +36,8 @@ set $menu rofi -modi drun -show drun -show-icons -normal-window # Default wallpaper (more resolutions are available in __DATADIR__/backgrounds/sway/) output * bg $bg tile -set $left_disp "Goldstar Company Ltd LG HDR 4K 0x0000BBF6" -set $right_disp "Goldstar Company Ltd LG Ultra HD 0x0000B5BA" - -# Work monitors -output $left_disp pos 0 0 -output $right_disp pos 2560 0 -# -# 4K resolution on 27" is way too small by default -output $left_disp scale 1.5 -output $right_disp scale 1.5 +# Include custom config for current computer +include `hostname` # Disable T480s laptop internal screen on lid close #set $laptop "Unknown 0x0791 0x00000000" diff --git a/.config/sway/mammut b/.config/sway/mammut new file mode 100644 index 0000000..d05e0c7 --- /dev/null +++ b/.config/sway/mammut @@ -0,0 +1,5 @@ +# Home desktop computer + +set $left_disp "Samsung Electric Company S24E650 0x00005F4D" +set $right_disp "Dell Inc. DELL U2715H GH85D66Q08QS" + diff --git a/.config/sway/sid b/.config/sway/sid new file mode 100644 index 0000000..3d9c869 --- /dev/null +++ b/.config/sway/sid @@ -0,0 +1 @@ +# Laptop