In order to run windowed programs at the maximum possible size I can set their resolution to the resolution of my monitor, but then there are several pixels off-screen below the window because the window is positioned below the Gnome Top Bar.
If I knew the size of the top-bar I could account for that, is there a way to find out what size it is exactly?
Just a theory, not sure if
wmctrl
andxdotool
are still working fine with Wayland.It depends on which version of Gnome and which shell theme you're using. Take a look at the settings for Top Bar in your gnome-shell.css file.