You are not logged in.

#926 2012-11-06 03:28:27

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

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

Mad_Hatter93 wrote:

So I've been looking around for a while, and haven't yet found a statuscolors patch that will work with vanilla dwm 6.1. Has anyone had any luck with this? I tried jasonwryan's patch, and just for kicks dwm's 5.9 patch, but both fail on most hunks

See my github for statuscolors patch . Haven't tried it with dwm 6.1 though.

Last edited by illusionist (2012-11-06 03:32:08)


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#927 2012-11-06 03:31:43

Mad_Hatter93
Member
Registered: 2012-06-30
Posts: 19

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

illusionist wrote:
Mad_Hatter93 wrote:

So I've been looking around for a while, and haven't yet found a statuscolors patch that will work with vanilla dwm 6.1. Has anyone had any luck with this? I tried jasonwryan's patch, and just for kicks dwm's 5.9 patch, but both fail on most hunks

See my github for statuscolors patch .

Awesome, I'll check it out. It's for 6.1, including Xft, right?

Offline

#928 2012-11-06 03:39:08

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

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

Mad_Hatter93 wrote:
illusionist wrote:
Mad_Hatter93 wrote:

So I've been looking around for a while, and haven't yet found a statuscolors patch that will work with vanilla dwm 6.1. Has anyone had any luck with this? I tried jasonwryan's patch, and just for kicks dwm's 5.9 patch, but both fail on most hunks

See my github for statuscolors patch .

Awesome, I'll check it out. It's for 6.1, including Xft, right?

I dont use pango/xft but it work flawlessly on dwm 6.0. You may see jokerboy's repo too. He has collected some good patches .
EDIT: Looking at the commit message at suckless.org , I think dwm 6.1 now has xft by default . Or maybe I am mistaking . neutral
EDIT2: It does. Here

Last edited by illusionist (2012-11-06 03:45:24)


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#929 2012-11-06 04:10:41

Mad_Hatter93
Member
Registered: 2012-06-30
Posts: 19

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

Do you happen to have that as a .diff already? When I wget it it gives me the html code... annoying. And copy paste always messes up my diffs

Offline

#930 2012-11-06 04:22:01

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

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

I tried status colors patch on dwm 6.1 and it is failing. That is because the xft patch has been applied on the source just 3 days ago . And the patch that I have does not work with pango/xft.
Why do you want to use the development version ?

EDIT: If the reason is xft/pango , Unia has xft+statuscolors setup already.

Last edited by illusionist (2012-11-06 04:23:21)


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#931 2012-11-06 04:23:05

Mad_Hatter93
Member
Registered: 2012-06-30
Posts: 19

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

Eh, it's what I got when I hg cloned, and I've been too lazy to get the stable

Offline

#932 2012-11-06 04:24:51

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

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

Mad_Hatter93 wrote:

Eh, it's what I got when I hg cloned, and I've been too lazy to get the stable

Dont just clone any repo you see. smile
EDIT; LOL you are replying too fast.

Last edited by illusionist (2012-11-06 04:26:52)


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#933 2012-11-06 04:25:59

Mad_Hatter93
Member
Registered: 2012-06-30
Posts: 19

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

No, I meant I hg cloned straight from hg.suckless.org. I didn't try your full dealio yet, that was my next go, just wanted to see if I could make it work with my current setup

Offline

#934 2012-11-06 10:49:30

Unia
Member
From: The Netherlands
Registered: 2010-03-30
Posts: 2,472
Website

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

So my statuscolors for XFT dwm does not work? I think it's awesome XFT is included by default now, though big_smile

Last edited by Unia (2012-11-06 10:49:51)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#935 2012-11-06 12:03:57

ivoarch
Member
From: the six feet under the ground
Registered: 2011-03-31
Posts: 436

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

mkaito wrote:
ivoarch wrote:

Prefix-key.diff - Ratpoison/StumpWM style (using prefix key).
- Autor: matt mooney
- Modified: ivo

Any chance you expand a little about what this does and how to use it?

Hi!
This patch replaces the main modifier key (Modkey) with a prefix key (C-t), like a Ratpoison/Stumpwm/Emacs.


I love GnuEmacs, GnuScreen, ratpoison, and conkeror.
Github )||( Weblog

Offline

#936 2012-11-06 18:45:41

Unia
Member
From: The Netherlands
Registered: 2010-03-30
Posts: 2,472
Website

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

Unia wrote:

So my statuscolors for XFT dwm does not work? I think it's awesome XFT is included by default now, though big_smile

I just compared the patch used with DWM 6.1 and it's almost the same as mine (but of course; I got it from Suckless! big_smile) except they added an #include for fontconfig. I have updated my patch and it works perfectly fine with my statuscolors. So, you can just grab the 6.1 source and apply my statuscolors over it!


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#937 2012-11-07 12:07:45

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

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

@Unia
I am using your pango and statuscolors setup but for some reason I can't get more than 2 colors working. But your xft setup is working as expected.
is there anything I am doing wrong ?
I am using a dwm status script to show some system information on my dwm bar.
Thanks.


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#938 2012-11-07 12:15:50

Unia
Member
From: The Netherlands
Registered: 2010-03-30
Posts: 2,472
Website

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

illusionist wrote:

@Unia
I am using your pango and statuscolors setup but for some reason I can't get more than 2 colors working. But your xft setup is working as expected.
is there anything I am doing wrong ?
I am using a dwm status script to show some system information on my dwm bar.
Thanks.

I don't know big_smile I never used the Pango version. I just created it to see the differences between XFT and Pango fonts and then for practice, applied all the patches I used on regular and XFT version. If I have some time later today, I will look into it!

EDIT:
Perhaps line 55/56 here?
https://github.com/Unia/DWM-PANGO/blob/ … pango.diff

Otherwise, it's either the statuscolors patch or your setup. Could you share your config.h?

Last edited by Unia (2012-11-07 12:20:22)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#939 2012-11-07 12:19:15

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

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

Unia wrote:

I don't know big_smile I never used the Pango version....

LOL.. big_smile
Ok no problem.. But please let me know when you find something .
Thanks


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#940 2012-11-07 12:24:05

Unia
Member
From: The Netherlands
Registered: 2010-03-30
Posts: 2,472
Website

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

I edited my post above, in case you missed it.

EDIT: What's your reason for using Pango? You might as well use XFT, if you have no special reason. My XFT version is working properly, I currently use it myself.

Last edited by Unia (2012-11-07 12:25:12)


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#941 2012-11-07 12:31:31

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

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

Yes your xft is working fine. But some fonts are still displayed as empty boxes. My native language is displayed correctly with pango.
Sorry I missed your edit. Looking at it now..


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#942 2012-11-07 12:40:57

Unia
Member
From: The Netherlands
Registered: 2010-03-30
Posts: 2,472
Website

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

illusionist wrote:

Yes your xft is working fine. But some fonts are still displayed as empty boxes. My native language is displayed correctly with pango.
Sorry I missed your edit. Looking at it now..

Perhaps try another font? Some fonts don't have all the special characters.

I'm playing around with Pango now and I applied my suggestion. It's not working, so I'll have to look at something else.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#943 2012-11-07 12:41:20

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

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

I am using your statuscolors patch so you know it better and here is my config.h.
Edit : I tried nearly all the fonts which have my local language. ( like sans, liberation sans, etc)

Last edited by illusionist (2012-11-07 12:43:07)


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#944 2012-11-07 12:46:11

Unia
Member
From: The Netherlands
Registered: 2010-03-30
Posts: 2,472
Website

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

illusionist wrote:

I am using your statuscolors patch so you know it better and here is my config.h.
Edit : I tried nearly all the fonts which have my local language. ( like sans, liberation sans, etc)

I'm comparing my XFT-statuscolors patch and my Pango-statuscolors. I do notice some differences so I'll have a go at these. I do have to leave home soon, so it might take a while wink


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#945 2012-11-07 12:51:18

illusionist
Member
From: localhost
Registered: 2012-04-03
Posts: 498

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

Unia wrote:
illusionist wrote:

I am using your statuscolors patch so you know it better and here is my config.h.
Edit : I tried nearly all the fonts which have my local language. ( like sans, liberation sans, etc)

I'm comparing my XFT-statuscolors patch and my Pango-statuscolors. I do notice some differences so I'll have a go at these. I do have to leave home soon, so it might take a while wink

Thats fine mate. np. smile


  Never argue with stupid people,They will drag you down to their level and then beat you with experience.--Mark Twain
@github

Offline

#946 2012-11-07 16:19:05

Unia
Member
From: The Netherlands
Registered: 2010-03-30
Posts: 2,472
Website

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

I have updated the whole Pango version, so it's exactly the same as what I use in the XFT version (except for that it uses Pango tongue)

That means, that the statuscolors patch is also (almost) the same. This makes me think the error is in the Pango patch and not in the statuscolors one. I have no idea where to look for it, though, as I found this Pango patch somewhere around the web. I don't even know if I had to modify it.

In case you (illusionist) or anyone else wants the new code to look for themselves, I have updated the Git repo.


If you can't sit by a cozy fire with your code in hand enjoying its simplicity and clarity, it needs more work. --Carlos Torres

Offline

#947 2012-11-09 16:16:58

Pranavg1890
Member
From: Nagpur,India
Registered: 2012-09-07
Posts: 111

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

Hi Friends, can anyone give me a patch for cyclic selection of windows in tiling mode for dwm 6.0 ? I tried googling but most of the links are dead or the patch is for older versions of dwm.


Using Openbox + Tint2 + Idesk

Offline

#948 2012-11-09 17:11:29

Doomcide
Member
Registered: 2011-08-22
Posts: 221

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

Pranavg1890 wrote:

Hi Friends, can anyone give me a patch for cyclic selection of windows in tiling mode for dwm 6.0 ? I tried googling but most of the links are dead or the patch is for older versions of dwm.

Link to one for an older version? I can try and adapt it to dwm 6.0.

Offline

#949 2012-11-09 17:55:06

Pranavg1890
Member
From: Nagpur,India
Registered: 2012-09-07
Posts: 111

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

Hi friends, the links are as follows:

https://bitbucket.org/jasonwryan/workst … at=default

https://github.com/mjheagle8/dwm/blob/m … cycle.diff

I don't know if these are the only one's that provide me the required functionality. (I just did a google search and nothing else). also, the link given for cycle at very first post of thread is dead.


Using Openbox + Tint2 + Idesk

Offline

#950 2012-11-09 19:42:05

jasonwryan
Forum & Wiki Admin
From: .nz
Registered: 2009-05-09
Posts: 19,017
Website

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

Um, that cycle patch works for me for 6.0 and 6.1. In fact, I am pretty sure it has worked since 5.6


Arch + dwm   •   Mercurial repos  •   Github

Registered Linux User #482438

Offline

Board footer

Powered by FluxBB