The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
1

How to floating a window in front of all the workspaces

asked 2013-05-15 17:05:50 +0000

Techlive Zheng gravatar image

Is this possible and how?

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted
2

answered 2013-05-15 22:21:18 +0000

I can just guess what you mean, but I think you search for a way to have a certain window inside of a floating container that is independent of a specific workspace. In that case, the scratchpad may be just the solution you are looking for.

edit flag offensive delete link more
2

answered 2013-06-02 13:54:52 +0000

brimstone gravatar image

Using the previous answer about a scratchpad, I've modified my config to the following:

#switch to workspace
bindsym $mod+1 exec "i3-msg workspace 1; i3-msg scratchpad show"
bindsym $mod+2 exec "i3-msg workspace 2; i3-msg scratchpad show"
bindsym $mod+3 exec "i3-msg workspace 3; i3-msg scratchpad show"
bindsym $mod+4 exec "i3-msg workspace 4; i3-msg scratchpad show"
bindsym $mod+5 exec "i3-msg workspace 5; i3-msg scratchpad show"
bindsym $mod+6 exec "i3-msg workspace 6; i3-msg scratchpad show"
bindsym $mod+7 exec "i3-msg workspace 7; i3-msg scratchpad show"
bindsym $mod+8 exec "i3-msg workspace 8; i3-msg scratchpad show"
bindsym $mod+9 exec "i3-msg workspace 9; i3-msg scratchpad show"
bindsym $mod+0 exec "i3-msg workspace 10; i3-msg scratchpad show"
bindsym $mod+minus scratchpad show

bindsym $mod+Shift+minus move scratchpad

This way, I simply send a floating window to the scratchpad with $mod+- and it's always visible when I switch workspaces.

edit flag offensive delete link more
1

answered 2015-10-12 07:34:31 +0000

xpixelz gravatar image

Now it's possible to have a window on all workspaces much easier with i3 v4.11, just set the sticky modifier on the selected window and you get it on all your workspaces:

bindsym $mod+w sticky toggle
edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2013-05-15 17:05:50 +0000

Seen: 1,683 times

Last updated: Oct 12