You are not logged in.
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}
Desktop screenshots :: Origami :: github
Offline
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
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
I can't set the border width smaller than 1 right ? I would like something like 0.5.
Offline
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.
Offline
I am having a problem with some floating windows (like pop up messages) not staying on top. The problem affects Tilda as well.
Offline
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
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
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
@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
Hi all, can I use i3-nagbar for logout on bspwm? Because I've installed oblogout but logout doesn't go
Offline