I don't really understand how to use this program. Judging from the description I'd guess that kanshi monitors external screen connect and disconnect events and adjusts display configuration accordingly.
I have the following config:
{
output eDP-1 vendor SHP product 0x144A serial 0x0 scale 2
}
{
output eDP-1 vendor SHP product 0x144A serial 0x0 scale 2 position 0,1050
output DP-1 vendor SAM product SyncMaster serial H9XPC04698 position 0,0
}
It looks like it successfully matches configurations for both cases - a single laptop screen and a laptop screen with an external monitor.
This is the kanshi output in casae of a single laptop screen:
As you see kanshi prints out commands suitable for swaymsg (I'm using sway) but nothing actually happens - the program just exits.
Am I missing something here?
I don't really understand how to use this program. Judging from the description I'd guess that kanshi monitors external screen connect and disconnect events and adjusts display configuration accordingly. I have the following config:
It looks like it successfully matches configurations for both cases - a single laptop screen and a laptop screen with an external monitor. This is the
kanshi
output in casae of a single laptop screen:This is the
kanshi
output in case of a laptop screen and a monitor plugged in via USB-C port (with HDMI to USB-C adapter if that matters):As you see
kanshi
prints out commands suitable forswaymsg
(I'm using sway) but nothing actually happens - the program just exits. Am I missing something here?