This is a way to have the i3 window manager scratchpad always on top, following you on every workspace. This can be handy when you want to have something on the screen all the time, like the 2014-12-04 Orion launch for example. It's a bit of a hack but it works fine for me regardless.

It's quite easy to set up. Just make sure you show the scratchpad and refocus the last tiling window after changing workspaces. More clearly; in your config, do this:

bindsym $mod+Shift+minus mark awot; floating enable;
bindsym $mod+minus unmark awot;
bindsym $mod+1 workspace 1; [con_mark="awot"] move workspace current;
bindsym $mod+2 workspace 2; [con_mark="awot"] move workspace current;
bindsym $mod+3 workspace 3; [con_mark="awot"] move workspace current;
bindsym $mod+Shift+1 move container to workspace 1; [con_mark="awot"] move workspace current;
bindsym $mod+Shift+2 move container to workspace 2; [con_mark="awot"] move workspace current;
bindsym $mod+Shift+3 move container to workspace 3; [con_mark="awot"] move workspace current;
# etc...

To have something always on top, move it to the scratchpad. To hide it temporarily, use the scratchpad show command.

Of course there are some problems with this: you can't use your scratchpad for anything else and it only works when your other containers are tiling. For my workflow this is perfectly acceptable though.


Comments