diff --git a/.config/sway/config b/.config/sway/config index b22be71..d235be8 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -30,7 +30,8 @@ output * bg $HOME/.config/backgrounds/arch-blue-noise.jpg fill # You can get the names of your outputs by running: swaymsg -t get_outputs # Example configuration: output HDMI-A-1 resolution 1920x1080 position 1920,0 -# +output HDMI-A-3 resolution 1920x1080 position 0,0 +output HDMI-A-1 resolution 1280x1024 position 1920,56 # start applications exec nm-applet --indicator @@ -48,9 +49,7 @@ exec nm-applet --indicator # your displays after another 300 seconds, and turn your screens back on when # resumed. It will also lock your screen before your computer goes to sleep. exec swayidle -w \ - timeout 60 'swaylock' \ - timeout 120 'swaymsg "output * dpms off"' \ - resume 'swaymsg "output * dpms on"' \ + timeout 600 'swaylock' \ before-sleep 'swaylock' ### Input configuration @@ -262,4 +261,11 @@ bar { swaybar_command waybar } +# use HDMI-A-3 as primary display +exec swaymsg workspace $ws1 +exec swaymsg move workspace to output HDMI-A-3 +exec swaymsg workspace $ws2 +exec swaymsg move workspace to output HDMI-A-1 +exec swaymsg focus output HDMI-A-3 + include /etc/sway/config.d/* diff --git a/.config/waybar/config b/.config/waybar/config index 0bdb0e9..1235535 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -13,7 +13,7 @@ "all-outputs": false, "format": "{name}", "persistent_workspaces": { - "1": [] + "1": ["HDMI-A-2"] } }, "sway/mode": {