You are not logged in.
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
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
Offline
Thank you guys
Offline
- 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
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
only lots of terminals in x? WTF
Offline
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)
Offline
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
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
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 .
Offline
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 .
Sweet, done and done
Offline
Sweet, done and done
+ 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
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
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> &"); }'
Offline
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
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
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
Offline
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!
Bump; I'm also wondering about this!
Offline
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!
Bump; I'm also wondering about this!
bspc rule -a \* center=true
?
Offline
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
fukkin java.
This is what comes to my mind... https://bbs.archlinux.org/viewtopic.php … 2#p1321092
Offline
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
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?
Offline
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 14don't work any more, the get overwriten by the new default one.
So what's wrong?
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
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