[dwm] Fake Useless gaps with compton ;)

A section for Window Manager configurations. If the WM doesn't exist yet, simply start a new thread.
Forum rules
Configurations, tips, questions and answers related to window managers only.
User avatar
stark
MILF
Posts: 521
Joined: Sat Sep 27, 2014 6:38 pm
Location: Arpanet
Contact:

[dwm] Fake Useless gaps with compton ;)

Unread post by stark » Fri Jan 02, 2015 4:57 pm

This not a config per se but Window Managers that can set the window borders properly can have transparent window borders via compton ( dwm, swm, xmonad and few more can do this and i3 is not one of them ).

For transparent window borders, start compton with compton -e 0.1 ( 0.1 for the highest level of transparency and 1.0 being fully opaque ).

Now for the Useless gaps in dwm set the size of window borders to your preferences and voila!

Example:

Code: Select all

static const unsigned int borderpx  = 10;
Shitty.webm or it didn't happen.
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu

User avatar
Dr_Chroot
Alfalfa
Posts: 1100
Joined: Mon Jun 09, 2014 9:49 pm
Location: among the sagebrush
Contact:

Re: [dwm] Fake Useless gaps with compton ;)

Unread post by Dr_Chroot » Fri Jan 02, 2015 6:05 pm

Fantastic; I have been wondering how to integrate compton better on swm. Thanks stark!
Fight internet censorship.
EFF | Tor Project | Bitcoin

"There have been times throughout American history where what is right is not the same as what is legal. Sometimes to do the right thing you have to break the law." - Edward Snowden

User avatar
wuxmedia
Grasshopper
Posts: 6454
Joined: Wed Oct 17, 2012 11:32 am
Location: Back in Blighty
Contact:

Re: [dwm] Fake Useless gaps with compton ;)

Unread post by wuxmedia » Fri Jan 02, 2015 7:18 pm

cool, not my cup of tea.
But nice find.
"Seek, and Ye shall find"
"Github | Chooons | Site"

User avatar
stark
MILF
Posts: 521
Joined: Sat Sep 27, 2014 6:38 pm
Location: Arpanet
Contact:

Re: [dwm] Fake Useless gaps with compton ;)

Unread post by stark » Sat Jan 03, 2015 9:24 am

@Dr You're Welcome :)

@wux I'm not used to useless gaps either but it feels nice though.
If you can do it go ahead and do it, if you can't do it then don't even criticize it. - gingerdesu

User avatar
zharper
Saltimbocca-Roller
Posts: 16
Joined: Sat Nov 10, 2012 7:14 am
Contact:

Re: [dwm] Fake Useless gaps with compton ;)

Unread post by zharper » Sat Jan 03, 2015 10:49 pm

Good idea! Will try it out.

Post Reply