Is there a keyboard shortcut or command to toggle window "on top"? If not, I'd like to make it a feature request.
Sounds like icesh. It's a CLI utility to change stuff like layer, etc.
Try running it with no arguments for more info; it is rather hard to understand.
I believe it requires the WM_CLASS; a script could grap that with xprop, I think.
Then you'd need to configure 'keys' to bind a shortcut.
Doable, but NOT easy...
I'll see when I have a chance.
And the key sequence with no tweaks is:
Alt-space; L (underlined char in Layer); T
Probably not helpful.
"icesh -window focus setLayer 6"
will do half of it.
"icesh -window focus setLayer 4" will switch back to Normal layer;
but that isn't a toggle.
xprop won't show GNOME window layer, so how do we do this?
I'd like to request a way to show layer.
Thanks. At least now I can assign different shortcuts for toggling "on top" state. I agree that it would be nice to tell the layer state somehow.
> xprop won't show GNOME window layer
it does, check the _NET_WM_STATE atom
I think I found a way to toggle "on top" state (see the attached script below). Simply assign a shortcut to the script and restart icewm. "xprop" is required and it's in xorg-utils package (for archlinux). "yad" can be replaced by other dialog program such as zenity or xdialog or just remove it.
Log in to post a comment.