I have configured external commands to save window positions and restore them upon switching away and back (yeah, KDE Plasma!).
The switch function seems to call the command always after the monitor switch. It would be great to call the on_usb_disconnect_execute before switching the screen to make sure I save the window positions at the current resolution - right now with my (persnickety) monitor, I sometimes get the windows saved at the laptop screen resolution.
Also (sorry), it would be great to have a delay +/- for each script/command.
Thanks for this really useful project!
I have configured external commands to save window positions and restore them upon switching away and back (yeah, KDE Plasma!). The
switch
function seems to call the command always after the monitor switch. It would be great to call theon_usb_disconnect_execute
before switching the screen to make sure I save the window positions at the current resolution - right now with my (persnickety) monitor, I sometimes get the windows saved at the laptop screen resolution.Also (sorry), it would be great to have a delay
+/-
for each script/command.