r/unixporn•
4drift

[2bwm] Subtly (workflow in comments)

Screenshot
[2bwm] Subtly (workflow in comments)

Posted Apr 11, 2016, 9:18 PM UTC

8631
4driftOP•

Mp4 video on teknik: https://u.teknik.io/snNTO.mp4

Lossless scrot: https://u.teknik.io/FHUW3.png

Lossless scrot mirror: not teknik

EDIT: Failed to get any webms of similar size and quality converted/uploaded. Maybe next time.

 

Dots: Newly uploaded on github

Bonus typical first workspace scrot: https://u.teknik.io/AfkEu.png

Imgur mirror: http://i.imgur.com/8hpzTJC.png

Wallpaper: http://i.imgur.com/IMVp4rw.jpg from here

Reddit: phallus

Scripts heavily inspired by: u/x_ero and u/Bishnax

Running: dmenu, dzen2, dvtm, vim, ncmpcpp, urxvt, firefox, colorbloks, sxiv, cava, and a butt-ton of custom css.

For the sake of bandwidth and viewability I did the video only on one monitor. And the typical scrot is basically my first layer you could say. It's usually statically like that, give or take tabbedex/dvtm, vims and such.

My girlfriend and I are hacking on 2bwm, I disabled sloppy focus and use a vim-like taskswitcher (have been since it was created) and just added 4 border capabilities. Been working on other stuff for it too.

Sadly didn't get a chance to try u/z-brah's fork with groups, and thus far the group scripts I've tried haven't quite cut it for me. So I went super simple (>20 line scripts) to hide and show multiple windows.

I slightly modified dvtm's source to have more minimal titles, urxvt's tabbedex to be slightly slimmer, and htop to match better. I also modified my font to have all my favorite stylized letters. Still have work to do on it though.

As well as many other things. I am focusing on the backend more than the frontend so visibly the changes may not be as apparent. But either way I thought others might appreciate a workflow post.

9
MotherCanada•

What exactly is teknik? It seems to be pretty popular on this sub for some reason.

2
WIldefyrCrux•

It's just another image uploader like imgur, it's lossless though unlike imgur which compresses images.

2
cdiftyssythe•

just added 4 border capabilities

brb with 5 borders

2
ahqaaqvoid•

What we really need here is a file in /tmp named after the window id, with borders just appended on as new lines. I'm talking about 2^64 borders, son.

Yeah, I have NOT had coffee yet.

2
4driftOP•

Thought about endless borders... but honestly 4 was all I wanted. Herbstluftwm has 4, but I like having a keyboard controlled stacking WM.

The borders are maybe a little too transparent to tell, but if you zoom in, I've created a bevel effect with them, which is what I was going for.

1
WIldefyrCrux•

You /could/ try out my windows script from the fyre repo. Here's a slightly modified version to run without the rest of fyre.

1
4driftOP•

Well then, I just saved it, well try tomorrow. I tried the one in fyre and I'm quite sure I missed something small yet obvious as is my usual and it did not work.

1
WIldefyrCrux•

oh oops, you probably want to remove/replace any lines that call focus too.

1
4driftOP•

Thanks, other than a couple things I'd like to change and probable other WM bugs with map/unmap window functionality this seems to do the trick.

EDIT: Decided to add wname to it to display ID and title, then made a dmenu bound to a hotkey to easily and quickly list all windows and groups with option to toggle visiblity through it. I enjoy it.

1
Baba_PuhAntergos•

This is some a class content. Very nice setup

3
ahqaaqvoid•

Was hoping to see some 2bwm stuff today. 11/10. Would install.

z3bra seems to have turned into a unicorn and gone all wmutils. :(

3
4driftOP•

Not surprising, I'm sure it's what he intended. I just wish I had gotten the repo (even abandoned) before it was gone and tried to patch it in for convenience.

1
venam_Linux•

I still have his fork on my home machine.
I'll check when I'm home.

1
4driftOP•

That'd be cool, thanks. I feel like it would be better if it was built in.

1
venam_Linux•

Well, I prefer workspaces to groups and I prefer sloppy focus to click-to-focus.

I could add flags to enable the features though.

Sorry I couldn't remember to check the source when I got home. I'll not it down this time. :D

1
vastronautArch•

Which file manager are you using at the top right? I really dig it.

1
WIldefyrCrux•

It's an image viewer called sxiv.

1
vastronautArch•

Ah whoops, thanks!

1
-oz•

nice setup, what's the script at the top left displaying the song info and album cover.

1
4driftOP•

Thanks.

Well short answer: dzen2, long answer several sources....

I talked about it in this thread where they also talk about a few other methods of showing that information. Initially I found this script eons ago, built upon that... And then at some point I got ideas from u/earsplit after I saw this and perused his dotfiles as well.

1
AlbertoC1196Fedora•

this is a great setup OP. really liked how it goes with the wallpaper

1
seytzOpenBSD•

Awesome setup

1
lordchamallowOpenbox•

My favourite desktop. Goddamit, you'd own 4chan.

1
seytzOpenBSD•

Where can I find your compton config ?

1
4driftOP•

Thanks, github page is updated. I'm not done fooling around with it yet.

1
seytzOpenBSD•

Thanks dude

1
seytzOpenBSD•

Your dotfiles look great ! Just more thing, do you use a gtk thème ? If you push more dots it will be VERY Appreciated ;)

1
4driftOP•

Thanks, I'm just adding them as people ask. I've been using ASN (gtk2) and Sable (gtk3) for some time, now not sure what I'll be using.

0
seytzOpenBSD•

Oh okay you are awesome

1
sandisk5•

What volume control program are you using in the bottom right in this screenshot?

1
4driftOP•

That was answered in the post I got lazy and started referring to it as pulse-cli.

1