From 51fe6b56b4ffcdf58f586613ad010b414047d4b7 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Tue, 13 Apr 2021 11:13:52 +0200 Subject: [PATCH] Added second screen --- config/sway/config | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/config/sway/config b/config/sway/config index bc717f6..df2b5ba 100644 --- a/config/sway/config +++ b/config/sway/config @@ -29,6 +29,7 @@ set $mod Mod4 # Displays set $thinkstation HDMI-A-3 +set $thinkstation-work DP-1 set $thinkpad eDP-1 # Workspaces @@ -77,6 +78,7 @@ set $modalHeight 800 # Screens definitions output $thinkstation resolution 3440x1440@100Hz position 0,0 adaptive_sync on +output $thinkstation-work resolution 1920x1080@60Hz position 3440,0 transform 270 adaptive_sync on output $thinkpad resolution 1920x1080 position 0,0 @@ -193,6 +195,9 @@ bindsym $mod+shift+p exec "$term -t 'Pulse Mixer' -e pulsemixer" bindsym $mod+shift+m exec "$term -t 'Music Player Client' -e ncmpcpp" bindsym $mod+shift+v exec "$term -t 'Audio Visualizer' -e cava" +# Screen +bindsym $mod+p exec swaymsg output $thinkstation-work toggle + # # Brightness bindsym XF86MonBrightnessDown exec light -U 10