glzr-io / glazewm

GlazeWM is a tiling window manager for Windows inspired by i3wm.
GNU General Public License v3.0
6.31k stars 183 forks source link

[Feature Request] Allow to pin windows to show in all workspaces #777

Open feraxhp opened 1 month ago

feraxhp commented 1 month ago

Describe the problem/motivation

The idea is to be able to have the same window displayed in all workspaces, this will allow you to have for example a android mirroring or a yt video, always showing independenly of the workspace.

Describe the solution you'd like

Add a key binding and another outline for that specific window or windows pined, in other, to allow the window to be displayed in all workspaces.

This is a feature I miss from gnome desktop.

Alternatives considered

No response

jorbig commented 3 weeks ago

+1

It's called 'sticky' windows in i3 and I really miss this feature:

6.7. Sticky floating windows
If you want a window to stick to the glass, i.e., have it stay on screen even if you switch to another workspace, you can use the sticky command. For example, this can be useful for notepads, a media player or a video chat window.

Note that while any window can be made sticky through this command, it will only take effect if the window is floating.

Syntax:

sticky enable|disable|toggle
Examples:

# make a terminal sticky that was started as a notepad
for_window [instance=notepad] sticky enable
jorbig commented 1 week ago

I just realized we could just set the "ignore" tag to a window, which makes it visible on all workspaces... When you combine that with an outer left/right gap, it works great for me (except that the ignored windows lose focus on changing workspace).