From 5ec8bb34dfce5577ab48c12c7e6c6a424d93bab2 Mon Sep 17 00:00:00 2001 From: ewy1 Date: Mon, 13 Jan 2025 19:58:53 +0100 Subject: added multi device config --- .config/sway/config | 1 + .config/sway/config.d/outputs | 10 ---------- .config/sway/hosts/study/outputs | 3 +++ .config/sway/hosts/wit/outputs | 9 +++++++++ 4 files changed, 13 insertions(+), 10 deletions(-) create mode 100644 .config/sway/hosts/study/outputs create mode 100644 .config/sway/hosts/wit/outputs (limited to '.config') diff --git a/.config/sway/config b/.config/sway/config index 2b7231e..71f7ed8 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -165,6 +165,7 @@ bindsym $mod+r mode "resize" include "$HOME/.cache/wal/colors-sway" include "$HOME/.config/sway/config.d/*" +include "$HOME/.config/sway/hosts/$(cat /etc/hostname)/*' include /etc/sway/config.d/* exec sleep 5 && systemctl --user start sway-session.service diff --git a/.config/sway/config.d/outputs b/.config/sway/config.d/outputs index fc4ca40..ad45998 100644 --- a/.config/sway/config.d/outputs +++ b/.config/sway/config.d/outputs @@ -2,13 +2,3 @@ output * { background "$(cat $HOME/.cache/wal/wal)" fill } -output DP-2 { - resolution 2560x1440@239.970Hz - position 0,0 -} - -output HDMI-A-1 { - resolution 1920x1080@60.000Hz - position 2560,0 -} - diff --git a/.config/sway/hosts/study/outputs b/.config/sway/hosts/study/outputs new file mode 100644 index 0000000..3d3e7f2 --- /dev/null +++ b/.config/sway/hosts/study/outputs @@ -0,0 +1,3 @@ +output eDP-2 { + scale 1.5 +} diff --git a/.config/sway/hosts/wit/outputs b/.config/sway/hosts/wit/outputs new file mode 100644 index 0000000..83bb6bf --- /dev/null +++ b/.config/sway/hosts/wit/outputs @@ -0,0 +1,9 @@ +output DP-2 { + resolution 2560x1440@239.970Hz + position 0,0 +} + +output HDMI-A-1 { + resolution 1920x1080@60.000Hz + position 2560,0 +} -- cgit v1.3