How to get the next window created set to floating in BSPWM

Featured image for sharing metadata for article

I've written before about my usage of the BSPWM tiling window manager.

One thing I've recently been looking at doing setting up a "scratch pad" style setup to launch my local SQL workflow so I can query my local instance of data from dependency-management-data, especially for ad-hoc requests at work.

To do this, I wanted to:

  • Create a new terminal
  • Open up a pre-written base for SQL queries
  • Make that terminal window floating over all other windows

Via this comment on Reddit I found that you can create a bspc rule for the next created window only, via:

bspc rule -a '*' # ... arguments here

So in this case, as we want to make sure that we create the next window as a floating window, we would run:

bspc rule -a '*' -o state=floating

Then, the next created window would be floating.

Written by Jamie Tanna's profile image Jamie Tanna on , and last updated on .

Content for this article is shared under the terms of the Creative Commons Attribution Non Commercial Share Alike 4.0 International, and code is shared under the Apache License 2.0.

#blogumentation #bspwm.

This post was filed under articles.

Interactions with this post

Interactions with this post

Below you can find the interactions that this page has had using WebMention.

Have you written a response to this post? Let me know the URL:

Do you not have a website set up with WebMention capabilities? You can use Comment Parade.