You are not logged in.

#651 2012-03-28 19:47:21

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 20,110
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

wolfcore wrote:

I've been unable to find a statuscolors patch for 6.0, any ideas where I can find one? smile

https://bitbucket.org/jasonwryan/eeepc/ … s-6.0.diff


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#652 2012-03-28 19:50:43

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: DWM Hackers Unite! Share (or request) dwm patches.

wolfcore wrote:

I've been unable to find a statuscolors patch for 6.0, any ideas where I can find one? smile

The patch from http://dwm.suckless.org/patches/statuscolors works with dwm 6.0

Offline

#653 2012-03-28 20:51:52

wolfcore
Member
From: California
Registered: 2012-03-06
Posts: 137

Re: DWM Hackers Unite! Share (or request) dwm patches.

jasonwryan wrote:
wolfcore wrote:

I've been unable to find a statuscolors patch for 6.0, any ideas where I can find one? smile

https://bitbucket.org/jasonwryan/eeepc/ … s-6.0.diff

OK100 wrote:
wolfcore wrote:

I've been unable to find a statuscolors patch for 6.0, any ideas where I can find one? smile

The patch from http://dwm.suckless.org/patches/statuscolors works with dwm 6.0

Thanks guys!

Offline

#654 2012-03-28 21:33:14

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

wolfcore wrote:

I've been unable to find the statuscolors patch for 6.0, any ideas where I can find it? smile

Take a look at JokerBoy's place.

Edit: it seems I'm genetically late...

Last edited by bohoomil (2012-03-28 21:37:30)


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#655 2012-03-29 01:49:04

wolfcore
Member
From: California
Registered: 2012-03-06
Posts: 137

Re: DWM Hackers Unite! Share (or request) dwm patches.

bohoomil wrote:
wolfcore wrote:

I've been unable to find the statuscolors patch for 6.0, any ideas where I can find it? smile

Take a look at JokerBoy's place.

Edit: it seems I'm genetically late...

Well I already got colors working, but thanks for the link, looks useful.

Offline

#656 2012-03-29 16:47:24

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

Regarding statuscolors patch from my bucket, you must define 8 colors in your config.h. if you defined an another number of colors, don't forget to change the MAXCOLORS value in dwm.c..

Offline

#657 2012-03-29 23:27:18

kuraku
Member
From: planet Earth
Registered: 2012-01-03
Posts: 199

Re: DWM Hackers Unite! Share (or request) dwm patches.

I'm thinking about how to make dwm cycle trough tags that have 1 (or more) clients in it. I know that it is not so great thing to ask since tags in dwm are very powerfull thing but i just want that in dwm. Any patch to recommend for this?


As for my previous problem, i was able to solve it thanks to LokiChaos on #dwm irc chat. Check it out: http://sprunge.us/hTVU

Offline

#658 2012-04-01 16:10:14

mkaito
Member
From: Spain
Registered: 2010-06-12
Posts: 123
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

JokerBoy wrote:

scratchpad for 6.0 fixed for multi-monitor setup you can find at http://hg.punctweb.ro/dwm/src

I'm using this patch, and the scratchpad itself works like a charm. For some reason, though, the spawned urxvt instance doesnt read .Xdefaults, and looks so ugly it makes onions cry. Any idea as to why this would be the case?


Fear me! I have root! Sometimes...

Offline

#659 2012-04-01 17:34:43

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

Are you using urxvt.name in xdefaults?

Offline

#660 2012-04-01 17:41:43

mkaito
Member
From: Spain
Registered: 2010-06-12
Posts: 123
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

No, I don't.


Fear me! I have root! Sometimes...

Offline

#661 2012-04-01 18:43:29

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

Share your xdefaults then. I'm curious too..

Offline

#662 2012-04-01 18:54:06

mkaito
Member
From: Spain
Registered: 2010-06-12
Posts: 123
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

You can see it here.

Last edited by mkaito (2012-04-01 18:54:19)


Fear me! I have root! Sometimes...

Offline

#663 2012-04-01 19:00:46

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 20,110
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

urxvt*loginShell:         true

Why?


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#664 2012-04-01 19:09:46

mkaito
Member
From: Spain
Registered: 2010-06-12
Posts: 123
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

I copied that years ago from anrxc, didn't give it a second thought. I'm pretty sure login shell is the default anyway, so it shouldn't really have much efffect.


Fear me! I have root! Sometimes...

Offline

#665 2012-04-01 19:50:04

wolfcore
Member
From: California
Registered: 2012-03-06
Posts: 137

Re: DWM Hackers Unite! Share (or request) dwm patches.

mkaito wrote:

You can see it here.

Xdefaults is deprecated.

Offline

#666 2012-04-01 19:56:12

mkaito
Member
From: Spain
Registered: 2010-06-12
Posts: 123
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

And what should I use instead? Xresources? I moved Xdefaults over and it had no effect on this issue.


Fear me! I have root! Sometimes...

Offline

#667 2012-04-01 20:29:22

wolfcore
Member
From: California
Registered: 2012-03-06
Posts: 137

Re: DWM Hackers Unite! Share (or request) dwm patches.

mkaito wrote:

And what should I use instead? Xresources? I moved Xdefaults over and it had no effect on this issue.

Yeah, use Xresources and put

xrdb ~/.Xresources

in your .xinitrc

Not that it had anything to do with your problem, just pointing it out roll

Offline

#668 2012-04-01 20:30:47

mkaito
Member
From: Spain
Registered: 2010-06-12
Posts: 123
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

I'll do that smile I have xrdb -merge .Xdefaults there, by the way, in case that's important or anything.


Fear me! I have root! Sometimes...

Offline

#669 2012-04-01 20:37:23

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 20,110
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

mkaito wrote:

I copied that years ago from anrxc, didn't give it a second thought. I'm pretty sure login shell is the default anyway, so it shouldn't really have much efffect.

Yes, being pretty sure it is the default (it's not) is reason enough not to rule it out...


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#670 2012-04-01 20:49:38

mkaito
Member
From: Spain
Registered: 2010-06-12
Posts: 123
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

You must feel so smart for knowing something I didn't know. Congratulations.


Fear me! I have root! Sometimes...

Offline

#671 2012-04-01 20:57:28

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 20,110
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

No: rather than continue to pollute a thread about hacking dwm with a trivial issue that you are obviously unwilling to put any effort yourself into solving I just read the man page...

Read the Forum Etiquette, learn how to ask for help properly and, if someone does offer a suggestion, do them the courtesy of actually trying it rather than just shrugging it off -- particularly when you haven't provided any other information about your setup for them to go on.


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

#672 2012-04-01 21:07:42

mkaito
Member
From: Spain
Registered: 2010-06-12
Posts: 123
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

You call your post a suggestion? Well, I guess I learned two things from you then.

My humblest apologies for polluting the thread and being so impolite as to think you were condescending to who you think of as a stupid newbie who is too lazy to read man pages and google his problems before annoying the folks here. I sincerely thank JokerBoy and wolfcore for trying to help me, and shall now take my stuff elsewhere. Have a nice day.


Fear me! I have root! Sometimes...

Offline

#673 2012-04-02 18:28:35

madders
Member
From: Reading, UK
Registered: 2012-04-01
Posts: 13

Re: DWM Hackers Unite! Share (or request) dwm patches.

Hi there,

I've been using dwm for the past couple of months, and have found this thread really useful.

I've put together a really simple script to display a shutdown confirmation (just using a floating xterm window - much like all of the scratchpad discussions on here). Does anyone know how I can get the window centered without having to hard code co-ordinates in the xterm geometry parameter? I use multiple monitors with different resolutions, so the co-ordinates would be different for each monitor.

Thanks,
Michael

Offline

#674 2012-04-02 18:37:07

bohoomil
Member
Registered: 2010-09-04
Posts: 2,376
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

A very imperfect, though working solution for similar problems is to write a simple script which calls xterm with the parameters you want, includng '-e your-script.sh' at the end. The same can be done within config.h as a command definition.


:: Registered Linux User No. 223384

:: github
:: infinality-bundle+fonts: good looking fonts made easy

Offline

#675 2012-04-02 18:38:43

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641
Website

Re: DWM Hackers Unite! Share (or request) dwm patches.

"Hack" my centred-floating patch, or even try using it.. smile

Offline

Board footer

Powered by FluxBB