XFCE and well, straightforward usage without endless tweaking and customization.
On the other side, I recently(~2 years:)) felt in love with tiling window manager BSPWM and keyboard-driven usage.
Sadly, popup window name is same as for vscode itself. I will have a look on that script, that's something to begin with.
I use only one monitor at time, I don't use "extended mode". And what I really want - to transfer already opened applications to workspaces from different monitor: I have vscode opened on 4th workspace on laptop, after I plug in external monitor and setup xrandr for it, than I turn it off and want to continue working with vscode on 4th workspace on latop. Right now this is not possible from the box.
Sir, you are magician, addition to script did the trick!
Will definitely play with autorandr, because if I understood you correctly, it can automatically reload bspwm listening to certain events.
Right now I'm trying master (or understand, at least) QEMU, can you recommend me some combination with sane defaults (for ex mint + installer for herb) I can play on vm?
So if i plug external monitor and reload bspwm (which also reloads polybar), it adds second pane to my polybar (1 2 3 4 5 1 2 3 4 5), but works.
Now smth interesting, when I unplug external monitor and then again reload bspwm, it switches to internal one but now cuts window for every application.
Question 1: how to get rid of multiple workspaces on polybar when I toggle external monitor?
Question 2: how to force bspwm respect resolution after switching resolutions?
I use dummy script to toggle monitors (from archwiki)
#!/bin/sh
intern=eDP-1
extern=DP-1
if xrandr | grep "$extern disconnected"; then
xrandr --output "$extern" --off --output "$intern" --auto
else
xrandr --output "$intern" --off --output "$extern" --auto
fi
Hm, never used arandr but it's similar to XFCE utlity on the first sight.
You setup profile where one display is enabled, another disabled, name him "external" and active in arandr every time connecting to external monitor, correct?
I also don't mirror, just switch from laptop to external and vice versa. Strange because lighdtm doesn't break anything for XFCE, quite interesting what is the reason
maybe I'm just one of very few that have external resolution lower than host