There used to be a flag you could set for a desktop to spawn all new windows as floating. Now it's gone. Is there another way to do this? I really, really liked that feature.
nvm figured it out with the help of the IRC channel.
Nope, I was too hasty.
#! /bin/bash
FLOATING_DESKTOP_ID=$(bspc query -D -d '^9')
bspc subscribe node_manage | while read -a msg ; do
desk_id=${msg[2]}
wid=${msg[3]}
[ "$FLOATING_DESKTOP_ID" = "$desk_id" ] && bspc node "$wid" -t floating
done
Hmm. Interesting. So the internal mechanism is truly gone huh? Thx, I'll probably write a daemon doing such things.
Is it possible to make a shortcut to switch floating / tilling mode
such as windows open in tilling, and by doing said shortcut they now open in floating until the shortcut is pressed again ?
Also sorry for the up
Yep more or less same question as above.
I'd like to have one shortcut to create a terminal that appears in tilling mode, and one special shortcut to have a terminal to appear in floating mode.
I think @emugel has a good idea for a feature. While I haven't contributed at all I too want this feature and I might have a play to see if I can make a more accessible method of doing this?
This question was already asked in #550.
bspc subscribe _node_manage_ | while read -a msg ; do
_node_manage_ throws 'invalid argument'
I guess, it's changed to '_node_', and hence the updated script would be
bspc subscribe node | while read -a msg ; do
Kindly, correct me if I am wrong.
I have a script which I call execute the program I want to float:
#!/bin/bash
# Open a command in float mode
bspc rule -a \* -o state=floating && $@
I'd use it like so: bspwmfloat urxvt -e ncmpcpp which opens a terminal with my music player in a floating window. I do this with firefox as well as various other terminal commands. I hope this helps someone!
I've spend all day trying to make sxhkd launching floating terminal.
I already have "super + Return" for launching alacritty (my terminal). I want it always launch tiled unless I press shift. i added your line of code to my sxhkdrc file and it finally worked. Thank you.
super + {_,shift +}Return
{alacritty, bspc rule -a \* -o state=floating && alacritty}
I hope this helps someone too!
Most helpful comment
I have a script which I call execute the program I want to float:
I'd use it like so:
bspwmfloat urxvt -e ncmpcppwhich opens a terminal with my music player in a floating window. I do this with firefox as well as various other terminal commands. I hope this helps someone!