Use kanshi for display management in sway

As long as kanshi is running it should automatically manage displays
based on the definitions in its config.
This commit is contained in:
2020-02-15 22:47:51 +02:00
parent ce825d26f2
commit f6adb60d49
2 changed files with 20 additions and 29 deletions

18
kanshi/config Normal file
View File

@ -0,0 +1,18 @@
{
output eDP-1 scale 2 mode 2560x1440 position 0,0
output HDMI-A-1 scale 1 mode 1280x720 position 1280,0
}
{
output eDP-1 scale 2 mode 2560x1440 position 0,0
}
{
output eDP-1 disable
output DP-3 scale 2 mode 2560x1440 position 0,0
}
{
output eDP-1 disable
output DP-4 scale 2 mode 2560x1440 position 0,0
}