You are not logged in.

#1251 2014-04-20 23:08:42

Steef435
Member
From: age
Registered: 2013-08-29
Posts: 362
Website

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

In the example image you've given, the window is handled just like all the others, there's nothing unusual going on. Bspwm only has to do with the window of the webbrowser you use to browse YouTube with, not with the clutter the webbrowser and the website put around the video in the webpage.

In the image you've provided there's not YouTube being shown but a video player that has nothing to do with the website YouTube. If you want to watch YouTube videos using a video player, o_caino tells you everything you need. If you want to perform these things in the browser, you'll have to look at your browser. Either way, I think your goals have little to do with bspwm except for the full fullscreen and monocle, which is definitely supported, as stated earlier by Stebalien.

Offline

#1252 2014-04-20 23:12:20

Dragon707
Member
From: The Netherlands
Registered: 2013-06-04
Posts: 61
Website

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

o_caino wrote:

You can use mpv or vlc (maybe also mplayer, I don't know) to stream a Youtube URL. The result would be the same.

Edit: combine your video player of choice with youtube-dl

Yeah, youtube-dl is awesome :-) i've written an simple script to fill my music library : https://github.com/kevinvdburgt/dotfile … bin/yt2mp3


ArchLinux is Awesome

GitHub   •   Dotfiles   •   Contact me   •   DELETE...!

Offline

#1253 2014-04-21 08:08:11

PieterGen
Member
From: Groningen, NL, EU
Registered: 2012-01-18
Posts: 59

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

Thank you guys

Offline

#1254 2014-04-24 23:29:21

o_caino
Member
Registered: 2013-06-06
Posts: 159

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

Dragon707 wrote:

- Is there any feature or application like the i3-nagbar (i tried running i3-nagbar in bspwm, but it looks horrible) ?

Someone just mentioned this program on #archlinux-offtopic SiND -- Simple Notification Daemon

Simple Notification Daemon's readme wrote:

SiND is intended to either work as a simple console-based notification center, or be piped into other simple programs like dzen [...]

Looks interesting (last commit a year ago, though)

Last edited by o_caino (2014-04-24 23:31:31)

Offline

#1255 2014-04-25 20:03:37

dunkles
Member
From: Chile
Registered: 2010-04-26
Posts: 64

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

only lots of terminals in x? WTF

Offline

#1256 2014-04-25 20:22:02

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

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

dunkles wrote:

only lots of terminals in x? WTF

And the occasional web-browser or media (pdf/image/video) player/viewer... Many GUI applications sacrifice efficiency for learnability and bspwm users are generally willing to put in a little extra effort up-front to learn how to use more efficient if slightly less intuitive CLI applications (if they weren't, they wouldn't have bothered to setup bspwm in the first place).

Last edited by Stebalien (2014-04-25 20:23:45)


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#1257 2014-04-26 20:27:17

3xOSC
Member
Registered: 2013-03-18
Posts: 107

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

Under the "examples" for the panel, I wish to use BAR:

https://github.com/baskerville/bspwm/bl … anel/panel

how come there is no font field setting for bar, but there is for dzen?

Offline

#1258 2014-04-26 20:37:04

o_caino
Member
Registered: 2013-06-06
Posts: 159

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

3xOSC wrote:

how come there is no font field setting for bar, but there is for dzen?

Add it yourself to use another font, bar supports up to two fonts.

Offline

#1259 2014-04-26 20:38:13

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

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

3xOSC wrote:

Under the "examples" for the panel, I wish to use BAR:

https://github.com/baskerville/bspwm/bl … anel/panel

how come there is no font field setting for bar, but there is for dzen?

Until recently, bar didn't let you specify the font at runtime. Also, if you add this option, feel free to submit a patch smile.


Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#1260 2014-04-26 20:52:40

3xOSC
Member
Registered: 2013-03-18
Posts: 107

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

Stebalien wrote:
3xOSC wrote:

Under the "examples" for the panel, I wish to use BAR:

https://github.com/baskerville/bspwm/bl … anel/panel

how come there is no font field setting for bar, but there is for dzen?

Until recently, bar didn't let you specify the font at runtime. Also, if you add this option, feel free to submit a patch smile.


Sweet, done and done smile

Offline

#1261 2014-04-26 21:02:10

o_caino
Member
Registered: 2013-06-06
Posts: 159

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

3xOSC wrote:

Sweet, done and done smile

+                FONT_FAMILY='DejaVu Sans'
+		cat "$PANEL_FIFO" | panel_bar | bar -g x$PANEL_HEIGHT -f "$FONT_FAMILY" -F "$COLOR_FOREGROUND" -B "$COLOR_BACKGROUND" &

This is not the correct way to set a font in bar. And note that bar doesn't support ttf fonts.

Offline

#1262 2014-04-27 20:54:40

angelic_sedition
Member
Registered: 2014-01-20
Posts: 124
Website

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

Stebalien wrote:

You can subscribe to events:

bspc control --subscribe | awk -F ':' '$<n> ~ /^[FO]/ { exit(system("<cmd>")); }'

Where <n> is the desktop number + 1 and <cmd> is the command. If you have multiple monitors, <n> will be the desktop number + the monitor number. (You can also just awk by desktop name.)

Is there a way to modify this so it will execute the command every time the desktop specified is switched to and empty?

Also, does anyone know of a way to have floating windows (in general or of a specific class) killed when they lose focus?

Last edited by angelic_sedition (2014-04-27 21:08:28)

Offline

#1263 2014-04-28 01:16:28

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

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

angelic_sedition wrote:
Stebalien wrote:

You can subscribe to events:

bspc control --subscribe | awk -F ':' '$<n> ~ /^[FO]/ { exit(system("<cmd>")); }'

Where <n> is the desktop number + 1 and <cmd> is the command. If you have multiple monitors, <n> will be the desktop number + the monitor number. (You can also just awk by desktop name.)

Is there a way to modify this so it will execute the command every time the desktop specified is switched to and empty?

bspc control --subscribe | awk -F ':' '$<n> ~ /^F/ { system("<cmd> &"); }'

Steven [ web : git ]
GPG:  327B 20CE 21EA 68CF A7748675 7C92 3221 5899 410C
Do not email: honeypot@stebalien.com

Offline

#1264 2014-04-30 14:16:32

Ploppz
Member
Registered: 2013-09-14
Posts: 168

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

Say I have a layout like this:

   a
  /  \
1    b
     /  \
   2    3

Say 1 is at the left and b is at the right, split horizontally.

And then I close window 1 and intend to reopen it (say I'm restarting my browser), and I have

   a
  /  \
1    2

Now (in at least some occasions), a is split horizontally.

And when I reopen the window, there are a lot of awkward steps in order to go back to the layout before I closed the initial first window. (using basic operations like preselect, add [temporary terminal] windows etc).

Anyone have a good way to go about this problem? Any bspc commands for example that I have overlooked?

Last edited by Ploppz (2014-04-30 14:17:00)

Offline

#1265 2014-04-30 20:09:46

F34R
Member
From: /dev/loliland
Registered: 2012-02-05
Posts: 238

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

I recently stayed at bspwm , use without panel. Can i set simple dzen popup script show the where desktop to switch some seconds ? (like dunst)

Offline

#1266 2014-04-30 22:53:26

o_caino
Member
Registered: 2013-06-06
Posts: 159

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

An example using the notify-send command (adapt it to your needs)

bspc control --subscribe | awk -F ':' '{for(i=1;i<=NF;i++){ if($i ~ /^[FO]/ ){ system(" notify-send 'desktop' " substr($i,2))} } }'

Inspired by Stebalien's examples in previous posts. btw, it's my first time using awk tongue

Offline

#1267 2014-05-01 19:24:57

Ploppz
Member
Registered: 2013-09-14
Posts: 168

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

nonah wrote:

Is there a way to set floating windows to always spawn centered around the cursor? I've looked through the documentation, and I can't seem to find a straightforward way.

Any help would be appreciated! smile

Bump; I'm also wondering about this!

Offline

#1268 2014-05-05 10:15:50

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

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

Ploppz wrote:
nonah wrote:

Is there a way to set floating windows to always spawn centered around the cursor? I've looked through the documentation, and I can't seem to find a straightforward way.

Any help would be appreciated! smile

Bump; I'm also wondering about this!

bspc rule -a \* center=true

?


gh · da · ds · cr · ab · fkr

Offline

#1269 2014-05-05 10:22:48

bloom
Member
Registered: 2010-08-18
Posts: 749
Website

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

As of 9cbb95c, monitors aren't automatically removed by default.

Set the relevant {merge,remove}_*_monitors settings if you prefer the previous behavior.


gh · da · ds · cr · ab · fkr

Offline

#1270 2014-05-06 14:29:13

flexo3001
Member
From: berlin
Registered: 2012-01-13
Posts: 95

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

hey *,
ist somebody here using bitwig-studio or other java-stuff? the first bug i found in bspwm makes bitwig unusable. i can't start it through dmenu and drag-and-drop doesn't work. i tried it with herbstluft, i3 without these strange behaviour.
it occurs in floating (workspace or just window), with bspwm and  bspwm-git. it's a bit difficult to backtrace because of fukkin java.
thanks flexo


Fight war not wars, destroy power not people!

Offline

#1271 2014-05-06 20:02:18

o_caino
Member
Registered: 2013-06-06
Posts: 159

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

flexo3001 wrote:

fukkin java.

This is what comes to my mind... https://bbs.archlinux.org/viewtopic.php … 2#p1321092

Offline

#1272 2014-05-07 00:15:14

3xOSC
Member
Registered: 2013-03-18
Posts: 107

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

I have a question:

When I open up a floating terminal either on top of already tiled terminals or a browser, how can I use the keyboard to select the tiled terminals again?

What I have is the opposite of what I want, this here selects the floating:

# Focus on floating / tiled
alt + e
    bspc window -f {next.floating,next.tiled}

Now I need one where I can go from floating to tiled.

Any ideas?

Thanks in advance.

Offline

#1273 2014-05-07 19:21:01

techaddicted
Member
Registered: 2014-01-03
Posts: 9

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

May i am just to blind or what ever, since the last bspwm update the configs like:

bspc config top_padding 14
bspc config border_width        2
bspc config window_gap          14

don't work any more, the get overwriten by the new default one.

So what's wrong?
big_smile

Offline

#1274 2014-05-07 20:32:40

o_caino
Member
Registered: 2013-06-06
Posts: 159

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

techaddicted wrote:

May i am just to blind or what ever, since the last bspwm update the configs like:

bspc config top_padding 14
bspc config border_width        2
bspc config window_gap          14

don't work any more, the get overwriten by the new default one.

So what's wrong?
big_smile

I can confirm this bug. I updated from e195001 to 73905a6 (and a94a913 is also affected)

Edit: After a couple of tests, the offending commit seems to be 9fed780.

Last edited by o_caino (2014-05-07 21:24:32)

Offline

#1275 2014-05-08 15:48:30

flexo3001
Member
From: berlin
Registered: 2012-01-13
Posts: 95

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

o_caino wrote:
flexo3001 wrote:

fukkin java.

This is what comes to my mind... https://bbs.archlinux.org/viewtopic.php … 2#p1321092

too bad. wmname has no effect and bitwig is serving it own jre.


Fight war not wars, destroy power not people!

Offline

Board footer

Powered by FluxBB