diff --git a/config/kanshi/config b/config/kanshi/config index a55479bd8..b61352fe0 100644 --- a/config/kanshi/config +++ b/config/kanshi/config @@ -1,25 +1,25 @@ profile triple { exec pgrep wl-mirror && pkill -n wl-mirror - output eDP-1 mode 1920x1080 position 3200,0 - output HDMI-A-2 primary mode 1920x1080@100Hz position 1280,0 + output eDP-1 position 3200,0 + output HDMI-A-2 mode 1920x1080@100Hz position 1280,0 output DP-1 mode 1280x1024@75Hz position 0,0 } profile hdmi { exec pgrep wl-mirror && pkill -n wl-mirror - output eDP-1 primary mode 1920x1080 position 0,0 - output HDMI-A-2 auto position 1920,0 + output eDP-1 position 0,0 + output HDMI-A-2 position 1920,0 exec wl-present mirror eDP-1 --fullscreen-output HDMI-A-2 --fullscreen } profile hdmi-c { exec pgrep wl-mirror && pkill -n wl-mirror - output eDP-1 primary mode 1920x1080 position 0,0 - output DP-1 auto position 1920,0 + output eDP-1 position 0,0 + output DP-1 position 1920,0 exec wl-present mirror eDP-1 --fullscreen-output DP-1 --fullscreen } profile laptop { exec pgrep wl-mirror && pkill -n wl-mirror - output eDP-1 primary mode 1920x1080 + output eDP-1 position 0,0 } diff --git a/config/sway/modules/autostart b/config/sway/modules/autostart index 94784ef8b..285dd4462 100644 --- a/config/sway/modules/autostart +++ b/config/sway/modules/autostart @@ -14,7 +14,8 @@ exec { } exec_always { - pidof kanshi || kill -1 $(pidof kanshi) + pidof kanshi && kill -1 $(pidof kanshi) + kanshi } bar swaybar_command waybar