Re: [dwm] NMASTER in dwm-4.5 (was a follow up to Tuncer)
On 9/23/07, Jeremy O'Brien [EMAIL PROTECTED] wrote: On Sat, Sep 22, 2007 at 11:40:51PM +0200, Tuncer Ayaz wrote: my customizations are: 1) NMASTER = 2 2) s/600/500/ 3) different colors (the previous config.arg.h colors, actually) 4) add ShiftMask to TOGGLEBAR hotkey 5) replace term launcher hotkey 6) add ~7 new hotkeys (including dmenu RDESKTOP launcher and misusing dmenu for date/time display instead of dzen, plus cmus control, etc.) I've been using mpd for my music because I could get a nice output of the currently playing song in the status bar. I prefer cmus, however. My question is this. Do you know of a way to get a status output of the currently playing song to put into the status bar? This would be really helpful and would allow me to switch to cmus permanently. Thank you very much! take a look at the cmus-status-display script.
Re: [dwm] custom config.h handling
On 9/23/07, Xavier [EMAIL PROTECTED] wrote: On Sat, Sep 22, 2007 at 11:36:35PM +0200, Tuncer Ayaz wrote: It should be possible to go back to the old model and add some compile-error feature with each incompatible config.h change for the people who had problems. But wait, I thought dwm is for people who know how to edit config.h, wasn't it :) Previously, after an update, I just merged the changes manually using : vimdiff config.h config.arg.h When I saw config.default.h / config.arg.h moved to config.h, I first found it odd too. But since then, I did two updates where config.h changed, and mercurial just put the conflicting parts directly in config.h, in a diff like format. So well, I still merged the things manually, but just using vim config.h these times :) Not sure how good it is, but it worked fine for me. I can live with that too but after Anselm said But my intention is, that nobody needs to reconfigure dwm. It should just work perfectly for everyone. I had to chime in :)
Re: [dwm] NMASTER in dwm-4.5 (was a follow up to Tuncer)
On 9/23/07, Tuncer Ayaz [EMAIL PROTECTED] wrote: On 9/23/07, Jeremy O'Brien [EMAIL PROTECTED] wrote: On Sat, Sep 22, 2007 at 11:40:51PM +0200, Tuncer Ayaz wrote: my customizations are: 1) NMASTER = 2 2) s/600/500/ 3) different colors (the previous config.arg.h colors, actually) 4) add ShiftMask to TOGGLEBAR hotkey 5) replace term launcher hotkey 6) add ~7 new hotkeys (including dmenu RDESKTOP launcher and misusing dmenu for date/time display instead of dzen, plus cmus control, etc.) I've been using mpd for my music because I could get a nice output of the currently playing song in the status bar. I prefer cmus, however. My question is this. Do you know of a way to get a status output of the currently playing song to put into the status bar? This would be really helpful and would allow me to switch to cmus permanently. Thank you very much! take a look at the cmus-status-display script. As I don't use the bar at all (BarOff) I don't feed anything to dwm via stdin and have therefore not tested cmus-status-display.
[dwm] spacing bewteen windows
Hi, With the newest hg tip I have a spacing between windows in tiled mode. Actually, it only applies to certain windows like urxvt and gvim but not to konqueror. http://www.e-jc.de/dwm/ok.png http://www.e-jc.de/dwm/spacing.png -- Jan Christoph Ebersbach Fear God and keep his commandments, for this is the whole duty of man. Eccl 12,13 signature.asc Description: Digital signature
Re: [dwm] spacing bewteen windows
On Sun, 23 Sep 2007 10:43, Jan Christoph Ebersbach wrote: Hi, With the newest hg tip I have a spacing between windows in tiled mode. Actually, it only applies to certain windows like urxvt and gvim but not to konqueror. http://www.e-jc.de/dwm/ok.png http://www.e-jc.de/dwm/spacing.png Change #define RESIZEHINTS True to #define RESIZEHINTS False then recompile. That space between terminal windows is too small to be effectively used by urxvt, so it rounds down. I think the garbage-in-urxvt-window-bottom bug is related to this. Regards, -- Ricardo Martinsscarybox.net b.scarybox.net GPG key: 0x1308F1B4 http://scarybox.net/zomg/ricardo.asc pgpHgZ07lSlxK.pgp Description: PGP signature
Re: [dwm] NMASTER in dwm-4.5 (was a follow up to Tuncer)
On Sat, Sep 22, 2007 at 11:36:35PM +0200, Tuncer Ayaz wrote: Anselm, you convinced me back in the day to use dwm's config for custom key bindings instead of using an external grabber. Moreover, color tastes and default value tastes differ. Therefore, there will always be a need for me to add/replace hotkey bindings: I do replace Alt+B with Alt_Shift+B and replace the terminal launcher and add my own hotkeys which I need to be productive. It should be possible to go back to the old model and add some compile-error feature with each incompatible config.h change for the people who had problems. But wait, I thought dwm is for people who know how to edit config.h, wasn't it :) Well ok, it wouldn't hurt much to create config.h if it is not present from config.def.h. I will update it accordingly for 4.6. Regards, -- Anselm R. Garbe http://www.suckless.org/ GPG key: 0D73F361
Re: [dwm] spacing bewteen windows
On Sun 23-09-2007 09:58, Ricardo Martins wrote: Change #define RESIZEHINTS True to #define RESIZEHINTS False then recompile. Thanks, that looks better :) -- Jan Christoph Ebersbach Fear God and keep his commandments, for this is the whole duty of man. Eccl 12,13 signature.asc Description: Digital signature
Re: [dwm] spacing bewteen windows
Tako rzecze Jan Christoph Ebersbach (w e-mailu datowanym 2007-09-23, 11:28): On Sun 23-09-2007 09:58, Ricardo Martins wrote: Change #define RESIZEHINTS True to #define RESIZEHINTS False then recompile. Thanks, that looks better :) Hi, I have a problem with the contrary: sometimes I'd like to have urxvt window size an exact multiplication of the character cell size (ie. no extra space in the bottom and the right) and setting RESIZEHINTS to True does not seem to accomplish anything. Windows are tiled properly and sometimes I get the urxvt off-terminal garbage (as mentioned in previous posts). Any HINTS? :) [a] -- . Antoni Grzymala - antoni (at) chopin.edu.pl ---. | OpenPGP KeyID EB315583 available now from a keyserver near you | | Fingerprint A819 6D2E D5EB D9E0 D2D9 7AF6 2FAF 4A11 EB31 5583 | `' pgpma2AOB2VBs.pgp Description: PGP signature
Re: [dwm] A nice flame about C++
Tako rzecze Anselm R. Garbe (w e-mailu datowanym 2007-09-23, 11:27): http://thread.gmane.org/gmane.comp.version-control.git/57643/focus=57918 I must admit the thread makes Linus look (sound?) like a complete moron. Not in the essential part of the argument (which I'm not taking sides in), but in the language he uses and aggravation he shows, escecially compared to the postings of the Dmitri guy. Technically perhaps he's right. Or religious, or both :). [a] -- . Antoni Grzymala - antoni (at) chopin.edu.pl ---. | OpenPGP KeyID EB315583 available now from a keyserver near you | | Fingerprint A819 6D2E D5EB D9E0 D2D9 7AF6 2FAF 4A11 EB31 5583 | `' pgpkMtD74CnED.pgp Description: PGP signature
Re: [dwm] A nice flame about C++
hehe, I like the way he thinks! Quite frankly, even if the choice of C were to do **nothing** but keep the C++ programmers out, that in itself would be a huge reason to use C. -Linus On 9/23/07, Antoni Grzymala [EMAIL PROTECTED] wrote: Tako rzecze Anselm R. Garbe (w e-mailu datowanym 2007-09-23, 11:27): http://thread.gmane.org/gmane.comp.version-control.git/57643/focus=57918 I must admit the thread makes Linus look (sound?) like a complete moron. Not in the essential part of the argument (which I'm not taking sides in), but in the language he uses and aggravation he shows, escecially compared to the postings of the Dmitri guy. Technically perhaps he's right. Or religious, or both :). [a] -- . Antoni Grzymala - antoni (at) chopin.edu.pl ---. | OpenPGP KeyID EB315583 available now from a keyserver near you | | Fingerprint A819 6D2E D5EB D9E0 D2D9 7AF6 2FAF 4A11 EB31 5583 | `'
Re: [dwm] NMASTER in dwm-4.5 (was a follow up to Tuncer)
On 9/23/07, Anselm R. Garbe [EMAIL PROTECTED] wrote: On Sat, Sep 22, 2007 at 11:36:35PM +0200, Tuncer Ayaz wrote: Anselm, you convinced me back in the day to use dwm's config for custom key bindings instead of using an external grabber. Moreover, color tastes and default value tastes differ. Therefore, there will always be a need for me to add/replace hotkey bindings: I do replace Alt+B with Alt_Shift+B and replace the terminal launcher and add my own hotkeys which I need to be productive. It should be possible to go back to the old model and add some compile-error feature with each incompatible config.h change for the people who had problems. But wait, I thought dwm is for people who know how to edit config.h, wasn't it :) Well ok, it wouldn't hurt much to create config.h if it is not present from config.def.h. I will update it accordingly for 4.6. Thanks!
[dwm] Wiki password
I'm trying to update the bottom stack patch wiki entry but can't seem to find the password on the list anywhere. If anyone would be willing to email me it off list it would be greatly appreciated. -- James Turner BSD Group Consulting http://www.bsdgroup.org
Re: [dwm] A nice flame about C++
On 9/23/07, Antoni Grzymala [EMAIL PROTECTED] wrote: Not in the essential part of the argument (which I'm not taking sides in), but in the language he uses and aggravation he shows, escecially compared to the postings of the Dmitri guy. Not everyone considers the internet to be a stoicism competition. Some people prefer to use the most direct and attention-grabbing form of communication possible, so it gets read and digested. If everyone who had strong opinions and wasn't afraid to voice them is to be considered a complete moron, we're going to have to tear down some bell curves. -- # Kurt H Maier
Re: [dwm] Wiki password
edit410k On Sun, Sep 23, 2007 at 09:20:01AM -0400, James Turner wrote: I'm trying to update the bottom stack patch wiki entry but can't seem to find the password on the list anywhere. If anyone would be willing to email me it off list it would be greatly appreciated. -- James Turner BSD Group Consulting http://www.bsdgroup.org -- Anselm R. Garbe http://www.suckless.org/ GPG key: 0D73F361
Re: [dwm] spacing bewteen windows
Tako rzecze Anselm R. Garbe (w e-mailu datowanym 2007-09-23, 17:53): On Sun, Sep 23, 2007 at 01:10:41PM +0200, Antoni Grzymala wrote: I have a problem with the contrary: sometimes I'd like to have urxvt window size an exact multiplication of the character cell size (ie. no extra space in the bottom and the right) and setting RESIZEHINTS to True does not seem to accomplish anything. Windows are tiled properly and sometimes I get the urxvt off-terminal garbage (as mentioned in previous posts). Any HINTS? :) Yes, wait for st. Well, yeah... In the meantime how do I get the dwm/urxvt pair respect or not respect the RESIZEHINTS define as mentioned in some recent posts? Whether I set it or not does not seem to have any effect. Regards, [a] -- . Antoni Grzymala - antoni (at) chopin.edu.pl ---. | OpenPGP KeyID EB315583 available now from a keyserver near you | | Fingerprint A819 6D2E D5EB D9E0 D2D9 7AF6 2FAF 4A11 EB31 5583 | `' pgpyXJWAJSUQh.pgp Description: PGP signature
Re: [dwm] spacing bewteen windows
On Sun, Sep 23, 2007 at 05:56:45PM +0200, Antoni Grzymala wrote: Tako rzecze Anselm R. Garbe (w e-mailu datowanym 2007-09-23, 17:53): On Sun, Sep 23, 2007 at 01:10:41PM +0200, Antoni Grzymala wrote: I have a problem with the contrary: sometimes I'd like to have urxvt window size an exact multiplication of the character cell size (ie. no extra space in the bottom and the right) and setting RESIZEHINTS to True does not seem to accomplish anything. Windows are tiled properly and sometimes I get the urxvt off-terminal garbage (as mentioned in previous posts). Any HINTS? :) Yes, wait for st. Well, yeah... In the meantime how do I get the dwm/urxvt pair respect or not respect the RESIZEHINTS define as mentioned in some recent posts? Whether I set it or not does not seem to have any effect. I get different results with setting RESIZEHINTS to False/True. If it is set to True, urxvt requests exactly a size which fits well with the chosen font. Same with xterm. If I set RESIZEHINTS to False it accepts the size dwm gives him, though there are nasty artefacts in *rxvt, and uncomplete lines in xterm. Regards, -- Anselm R. Garbe http://www.suckless.org/ GPG key: 0D73F361
Re: [dwm] A nice flame about C++
On 9/23/07, Antoni Grzymala [EMAIL PROTECTED] wrote: This form of communications makes one concentrate on the persons emotions rather than argument's essence, which kind of defeats the purpose. Have you considered maybe his emotions are a part of his argument, and that's why he's conveying them? In addition to telling the guy why C++ is inappropriate for git, it's pretty clear he's tired of people rolling up and expounding on the obvious inherent superiority of $language. Think about it. If he had posted some kind of emotionless drone about string handling in C, nothing would have come of it. Instead, he was emotional, articulate, and honest, and Anselm thought it sufficiently amusing/informative to post it here. I guarantee [dwm] isn't the only mailing list it's being discussed on -- which lets more people know that Linus is sticking with C for git. It also makes it clear that a person would be wasting his time to post well c++ might not be the answer but clearly you should use $yet_another_language! I'm still having a hard time figuring out how getting pissed off makes him a complete moron. Some of the most brilliant people I know get furious over trivial things. Strike that: _most_ of the brilliant people I know get furious over trivial things. What has made you equate anger with idiocy? -- # Kurt H Maier
Re: [dwm] A nice flame about C++
Tako rzecze Kurt H Maier (w e-mailu datowanym 2007-09-23, 11:03): Have you considered maybe his emotions are a part of his argument, and that's why he's conveying them? In addition to telling the guy why C++ is inappropriate for git, it's pretty clear he's tired of people rolling up and expounding on the obvious inherent superiority of $language. Yes. He's surely tired of that, what I'm saying is that putting too much emotion into an argument actually spoils it in my opinion. Nothing more than a way to start a flamewar. Think about it. If he had posted some kind of emotionless drone about string handling in C, nothing would have come of it. Instead, he was emotional, articulate, and honest, and Anselm thought it sufficiently amusing/informative to post it here. I guarantee [dwm] isn't the only mailing list it's being discussed on -- which lets more people know that Linus is sticking with C for git. It also makes it clear that a person would be wasting his time to post well c++ might not be the answer but clearly you should use $yet_another_language! OK, I'm not proposing and emotionless drone, just thought that abusing the other party up front with a big “*YOU* are full of bullshit” is mostly unnecessary on a technical ML and makes the author look silly to put it mildly. I have nothing against Anselm putting the link on this ML, in fact I too found it a little amusing even if I was amused the other way round. So I just posted my comment on the matter. I'm still having a hard time figuring out how getting pissed off makes him a complete moron. Some of the most brilliant people I know get furious over trivial things. Strike that: _most_ of the brilliant people I know get furious over trivial things. What has made you equate anger with idiocy? Hey, I see your point. It's mostly about the wording: in my post I said that what Linus wrote makes him look like a complete moron. So I'm not equating anger with idiocy, just judging the outcome of his anger as looking [completely] moronic and unnecessary. Perhaps “a complete moron”, if taken literally sounds too strong, but then, why shouldn't you take my opinion literally if we're discussing Linus' opinion. No, I'm not proposing that Linus *is* a moron (for obviously he is not), just commented that he made himself look like one. Really, I can agree with most you're saying, just seeing the other side, too. Best, [a] -- . Antoni Grzymala - antoni (at) chopin.edu.pl ---. | OpenPGP KeyID EB315583 available now from a keyserver near you | | Fingerprint A819 6D2E D5EB D9E0 D2D9 7AF6 2FAF 4A11 EB31 5583 | `' pgpwLQuFiJfaK.pgp Description: PGP signature
Re: [dwm] Fixed case-insensitivity patch
On Sat, Sep 22, 2007 at 08:58:38PM +0200, Michał Janeczek wrote: I am attaching a case insensitivity patch that works, and also addresses Nico Golde's concern about function pointers. It is meant to replace former 1-case-insensitive.patch. I applied certain bits of your patch and changed dmenu as dicussed yesterday. Because you contributed significant bits, I added you to the Copyright holders. Regards, -- Anselm R. Garbe http://www.suckless.org/ GPG key: 0D73F361
Re: [dwm] A nice flame about C++
What's bad about flamewars? I mean, if someone has to tell his opinion, why not. It's nothing bad about little brawl from time to time. 2007/9/23, James Hoving [EMAIL PROTECTED]: The only way I have ever seen someone end a flamewar is by dropping the subject. Once the game is on the fights always goes on until someone get tired or bored and just gives up. The old saying of taking a stick to a dead horse comes to mind. :-) On 9/23/07, Ricardo Lanziano [EMAIL PROTECTED] wrote: * Antoni Grzymala [EMAIL PROTECTED] [2007-09-23 18:27:26 +0200]: Yes. He's surely tired of that, what I'm saying is that putting too much emotion into an argument actually spoils it in my opinion. Nothing more than a way to start a flamewar. Actually, it could be a way to stop a flamewar by making you post very good arguments of your proporsal instead of just making assumptions. -- Ricardo Lanziano 1DB1 3F01 E0E5 CB77 A4AC 46C2 9C9A 789B 1431 E275 UNIX is user friendly, it's just picky about who its friends are. -- http://www.gnuffy.org - Real Community Distro http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)
Re: [dwm] A nice flame about C++
I'm not saying its all bad, I'm just saying it impossible to win it by other means then attrition since its (almost always) a fight about beliefs. On 9/23/07, Enno Gottox Boland [EMAIL PROTECTED] wrote: What's bad about flamewars? I mean, if someone has to tell his opinion, why not. It's nothing bad about little brawl from time to time. 2007/9/23, James Hoving [EMAIL PROTECTED]: The only way I have ever seen someone end a flamewar is by dropping the subject. Once the game is on the fights always goes on until someone get tired or bored and just gives up. The old saying of taking a stick to a dead horse comes to mind. :-) On 9/23/07, Ricardo Lanziano [EMAIL PROTECTED] wrote: * Antoni Grzymala [EMAIL PROTECTED] [2007-09-23 18:27:26 +0200]: Yes. He's surely tired of that, what I'm saying is that putting too much emotion into an argument actually spoils it in my opinion. Nothing more than a way to start a flamewar. Actually, it could be a way to stop a flamewar by making you post very good arguments of your proporsal instead of just making assumptions. -- Ricardo Lanziano 1DB1 3F01 E0E5 CB77 A4AC 46C2 9C9A 789B 1431 E275 UNIX is user friendly, it's just picky about who its friends are. -- http://www.gnuffy.org - Real Community Distro http://www.gnuffy.org/index.php/GnuEm - Gnuffy on Ipaq (Codename Peggy)
[dwm] Catching a button press outside a window
How is it possible to catch a buttonpress event outside any window, without messing up everything? Until now I've tried to apply grabbuttons to the root window, with focused=True. Doing so, the root window catches the button press, but it catches too much, i.e. every button press. So every other window becomes deaf. I've tried also to create a ghost window with CWOverrideRedirect, like barwin does, which has the same size of the root window. It works. However, since I don't update it, old pixels remains when a window is moved. Is there a simple solution, or do I have to update the ghost win every time? Thanks ;) -- :wq! I don't know nothing The One Who reached the Thinking Matter '.' [ Alpt --- Freaknet Medialab ] [ GPG Key ID 441CF0EE ] [ Key fingerprint = 8B02 26E8 831A 7BB9 81A9 5277 BFF8 037E 441C F0EE ]