You are not logged in.

#1626 2016-07-17 05:42:28

easysid
Member
From: India
Registered: 2013-01-01
Posts: 256

Re: bspwm — A tiling window manager based on binary space partitioning

left, right, top, bottom are deprecated I believe.

This works for me.

# expand a window by moving one of its side outward
super + alt + {h,j,k,l}
    bspc node @{west -r -10,south -r +10,north -r -10,east -r +10}
# contract a window by moving one of its side inward
super + alt + shift + {h,j,k,l}
    bspc node @{east -r -10,north -r +10,south -r -10,west -r +10}

Offline

#1627 2016-08-09 19:37:00

mrfaber
Member
Registered: 2016-08-09
Posts: 25

Re: bspwm — A tiling window manager based on binary space partitioning

Hello everyone, I had some problems with bspwm/sxhkd and fish shell.
Everything was slow, resizing windows had a considerable delay and bringing up dmenu took half a second(maybe pablox had the same problem and did not realize it?)

For anyone else having this problem: It is caused by sxhkd running every command with the fish shell, which is very slow.

Setting SXHKD_SHELL to /usr/bin/sh fixes this.

I added an entry to the bspwm wiki called Playing nicely with fish shell in case anyone else runs into this problem.

Offline

#1628 2016-08-12 12:31:10

fabledpig
Member
Registered: 2013-03-15
Posts: 24

Re: bspwm — A tiling window manager based on binary space partitioning

Hello everyone!

I created a small program, that can be used to easily use bspwm with lemonbar, check it out:
https://github.com/fabledpig/bspwmtobar
Any feedback is appreciated!

Offline

#1629 2017-05-26 17:12:13

buttcake
Member
Registered: 2016-10-16
Posts: 37

Re: bspwm — A tiling window manager based on binary space partitioning

I can't set the border width smaller than 1 right ? I would like something like 0.5.

Offline

#1630 2017-05-26 22:22:22

Stebalien
Member
Registered: 2010-04-27
Posts: 1,239
Website

Re: bspwm — A tiling window manager based on binary space partitioning

buttcake wrote:

I can't set the border width smaller than 1 right ? I would like something like 0.5.

Unless you have a HiDPI screen (and have applied a pixel scaling factor such that 1 virtual pixel = X physical pixels), that's physically impossible (modulo subpixel rendering on LCDs but that's definitely not what you want). If you are using a HiDPI screen, I recommend you switch to a wayland tiling window manager (e.g., sway) as Xorg has poor HiDPI support.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C

Offline

#1631 2017-06-10 19:43:29

tedbell
Member
Registered: 2012-08-04
Posts: 167

Re: bspwm — A tiling window manager based on binary space partitioning

I am having a problem with some floating windows (like pop up messages) not staying on top. The problem affects Tilda as well.

Offline

#1632 2017-06-14 18:16:21

z1lt0id
Member
Registered: 2012-09-20
Posts: 177

Re: bspwm — A tiling window manager based on binary space partitioning

tedbell wrote:

I am having a problem with some floating windows (like pop up messages) not staying on top. The problem affects Tilda as well.

I noticed this very recently as well.

Offline

#1633 2017-10-10 22:51:16

holytrousers
Member
From: 3rd Rock from the Sun
Registered: 2007-10-19
Posts: 75

Re: bspwm — A tiling window manager based on binary space partitioning

bspwm's monocle mode stacks unfocused windows. I am trying to hide them.
The reason why is that shadows get stacked too ...
I thought about wrapping bspc -f {next, prev} (the command that cycles nodes) in a script that would detect the current layout and, if monocle, hide inactive windows after selecting the next one.
bspc query -T -d outputs the current desktop't tree in json and jq -r .layout prints in raw format the layout value
xdo show/hide -dr is to show/hide other windows (than the current one) in the current desktop.
bspc node -f $1.local ( $1 is the parameter of the script and can be prev/next )

#!/bin/sh
xdo show -d
LAYOUT=$(bspc query -T -d | jq -r .layout)
if [[ $LAYOUT = monocle ]]
then
	bspc node -f $1.local
	xdo hide -dr
else
	bspc node -f $1.local
fi

works fine, the problem is that the window at the beginning of the cycling is never shown afterwards, and selecting previous node doesn't work neither... can anyone help with finding the problem ?

edit : added the seletor hidden here

bspc node -f $1.local.hidden

and the first window now shows.
The problem with the direction persists. I guess it's because of how windows are rearranged when showing then hiding with xdo...

Last edited by holytrousers (2017-10-10 23:24:06)

Offline

#1634 2017-11-24 15:50:52

buttcake
Member
Registered: 2016-10-16
Posts: 37

Re: bspwm — A tiling window manager based on binary space partitioning

I am trying to set up a simple way to show active desktops whenever whenever the $mod button is pressed. Is spawning a st floating window in the middle of the screen a good idea. Can I subscribe only to a list of active desktops using bspc ? I'm am trying to avoid the panel option since it's too much.

Offline

#1635 2018-01-06 00:21:33

holytrousers
Member
From: 3rd Rock from the Sun
Registered: 2007-10-19
Posts: 75

Re: bspwm — A tiling window manager based on binary space partitioning

@buttcake : better than a new terminal, notifications or dmenu..
notify-send coupled with dunst is more convenient than a launching a terminal if you only need to show the list, and dmenu if you want further interaction.
to show the list of active desktops,

bspc query -T --monitor

gives you a JSON tree with all the informations you need, you can pipe it to "jq" and play with it : the tree contains an array called desktops where active desktops have the key focusedNodeId set to the id of the focused node (inactive ones have it is set to 0).

jq '.desktops | .[] | select(.focusedNodeId != 0) | .name'

first select the desktops array with .desktops
then you pipe it to an empty .[] to treat the value as an array,
filter it out with select(.focusedNodeId != 0)
and in the end select only the name fields with .name

this is what it looks like in the end :

bspc query -T --monitor | jq '.desktops | .[] | select(.focusedNodeId != 0) | .name'

you can then pipe the_query to notify-send with

 the_query | while read X; do notify-send $X;done;

which yield a separate notification per desktop or

notify-send "$(the_query)"

or (probably more interesing)

the_query | dmenu

Offline

#1636 2018-05-22 09:05:56

Zar Marco
Member
From: Colle Umberto, Italy
Registered: 2017-07-31
Posts: 35

Re: bspwm — A tiling window manager based on binary space partitioning

Hi all, can I use i3-nagbar for logout on bspwm? Because I've installed oblogout but logout doesn't go

Offline

Board footer

Powered by FluxBB