You are not logged in.
I have no idea: I've never used it. Last version of the patch is against 5.7.2 so it is either incredibly stable, or your computer will burst into flames as soon as you apply it...
Please post photos if it is the latter
Offline
I have no idea: I've never used it. Last version of the patch is against 5.7.2 so it is either incredibly stable, or your computer will burst into flames as soon as you apply it...
Please post photos if it is the latter
1. It is working but only for master;
2. If you create new client window while you see all tags at once, it will create new windows using master from tag 1 as master for all tags (please consider that i'm not so good at English).
Since people say that 1 pic is worth 1000 words, i will use one pic to describe my isse (connected to statement #1):
edit:
Just checked and it is creating new clients under master only when master is focused.
Last edited by kuraku (2012-01-10 02:00:34)
Offline
2. As far as I can tell, that is the expected behaviour - see the link to the post above about how tags ≠ workspaces...
Offline
2. As far as I can tell, that is the expected behaviour - see the link to the post above about how tags ≠ workspaces...
I read that article before.
As for patch: that is not what i want so maybe i will revert back to default dwm behaviour for now. Maybe there will be a better patch in future
Offline
I have updated the systray patch created by kcirick for version 6.0. It is found here
Offline
i can get cloudef's right menu click to work on dwm-6 anyone else had problems ?
Offline
i can get cloudef's right menu click to work on dwm-6 anyone else had problems ?
No problem at all, Whats the error? Are you using other patches? Is everything ok in config.h?
Offline
The patch was working just fine, I did find something similar before but that one didn´t work, maybe I was just tired.
Now I'm using also a dual-monitor setup and I'm seeing the "missing" border on the second monitor too, so I'm using that old version of this patch who seems to work as indent.
Arch64/DWM || My Dropbox referral link
Offline
Has anyone tried this patch http://lists.suckless.org/dev/1201/10651.html
Works well !
@Beastie
I use the patch with other patches and it works!!
Someone used uselessgap in dwm-6.0
I have problems with gaps in tile mode and bstack?
In grid mode and fibonacii works correct.
Offline
@ivoarch, i tried but i get lots of errors. i'll try again and show the errors.
and btw for uselessgaps i had the same problem, so i use pidgin and grid with nmaster=2 instead
Offline
Does one of you guys know a patch which makes tags show up in the bar dynamically? I mean, so it only shows those tags, which have at least one application assigned to. That would be great, because most of the time this is just a waste of space in the bar.
Thanks!
Offline
@Army
https://github.com/Cloudef/dwm-fork/blob/master/dwm.c
Search for text 'autohide' dunno, if there is similar patch for this. It's not that hard to manually merge though.
I haven't used this feature for long time personally though, so I'm not sure if I have accidentally broke it
(it's the same code as the dwm-plus posted below, my stuff is based on it)
@Beastie
Does that mean it works? Or you have problems with the menu patch?
Last edited by Cloudef (2012-01-17 16:12:26)
Offline
This dwm branch has it.
:: Registered Linux User No. 223384
:: github
:: infinality-bundle+fonts: good looking fonts made easy
Offline
Thanks guys! But seems like this is too compliated for me, especially because those branches are based on older dwm versions. But I'll try, hope I succeed.
Offline
You can try this one also: https://bbs.archlinux.org/viewtopic.php … 11#p883811
Arch64/DWM || My Dropbox referral link
Offline
I've fixed the problem with useless gap - here is my patch. This is my first time in the dwm code, but the problem was tile() recalculating the height of a window after resizing it, and thus placing the next one right bellow.
I'm not sure if this breaks something else, but if it does, it might be better to alter the HEIGHT macro itself.
Offline
@ LordLandon
Thanks for the new update works for "Tile"
for those who use bstack, need to add the same
void
bstack(Monitor *m) {
resize(c, m->wx + mx, m->wy, w - (2*c->bw), mh - (2*c->bw), False);
- mx += WIDTH(c);
+ mx += WIDTH(c) + 2 * globalborder;
w = (m->ww - tx) / (n - i);
resize(c, m->wx + tx, m->wy + mh, w - (2*c->bw), m->wh - mh - (2*c->bw), False);
- tx += WIDTH(c);
+ tx += WIDTH(c) + 2 * globalborder;
Last edited by ivoarch (2012-01-17 21:07:04)
Offline
@Beastie
Does that mean it works? Or you have problems with the menu patch?
No i couldnt make it work
Offline
hey all,
i'm working on a patch to show my root window title on all monitors. does this already exist and i've missed it?
anyways, what i have so far cuts the text (adds the ...) on my larger monitor when the smaller monitor is active. i'm having some trouble locating the source of this. can anyone give me any help?
this is my patch so far:
diff --git a/dwm.c b/dwm.c
index 803cd10..701d3d5 100644
--- a/dwm.c
+++ b/dwm.c
@@ -774,17 +774,13 @@ drawbar(Monitor *m) {
drawtext(m->ltsymbol, dc.colors[0], True);
dc.x += dc.w;
x = dc.x;
- if(m == selmon) { /* status is only drawn on selected monitor */
- dc.w = TEXTW(stext);
- dc.x = m->ww - dc.w;
- if(dc.x < x) {
- dc.x = x;
- dc.w = m->ww - x;
- }
- drawcoloredtext(stext);
- }
- else
- dc.x = m->ww;
+ dc.w = TEXTW(stext);
+ dc.x = m->ww - dc.w;
+ if(dc.x < x) {
+ dc.x = x;
+ dc.w = m->ww - x;
+ }
+ drawcoloredtext(stext);
if((dc.w = dc.x - x) > bh) {
dc.x = x;
if(m->sel) {
@@ -2119,7 +2119,7 @@ void
updatestatus(void) {
if(!gettextprop(root, XA_WM_NAME, stext, sizeof(stext)))
strcpy(stext, "dwm-"VERSION);
- drawbar(selmon);
+ drawbars();
}
void
thanks in advance for any help/advice!
Last edited by mjheagle8 (2012-01-18 00:38:02)
Desktop/Laptop - DWM :: VM - screen
Registered Linux User Number 483137 :: Victory! :: GitHub
Offline
You can try this one also: https://bbs.archlinux.org/viewtopic.php … 11#p883811
Seems to work, thanks a lot!!! Some minor changes were needed, since I use other patches, but I could apply it anyway, so that should be possible for everyone
GREAT!!
Last edited by Army (2012-01-18 10:47:42)
Offline
I pushed a bugfix for centred-floating, please test and provide feedback those who use a multi-monitor setup.
Arch64/DWM || My Dropbox referral link
Offline
I pushed a bugfix for centred-floating, please test and provide feedback those who use a multi-monitor setup.
Hi, this patch is working good, thanks!
Offline
hey all,
i'm working on a patch to show my root window title on all monitors. does this already exist and i've missed it?
anyways, what i have so far cuts the text (adds the ...) on my larger monitor when the smaller monitor is active. i'm having some trouble locating the source of this. can anyone give me any help?
thanks in advance for any help/advice!
Here's my solution for your problem (apply patch by hand):
static Monitor *dirtomon(int dir);
static void drawbar(Monitor *m);
static void drawbars(void);
-static void drawcoloredtext(char *text);
+static void drawcoloredtext(Monitor *m, char *text);
static void drawsquare(Bool filled, Bool empty, unsigned long col[ColLast]);
static void drawtext(const char *text, unsigned long col[ColLast], Bool pad);
static void enternotify(XEvent *e);
...
dc.x = x;
dc.w = m->ww - x;
}
- drawcoloredtext(stext);
+ drawcoloredtext(m, stext);
}
else
dc.x = m->ww;
...
}
void
-drawcoloredtext(char *text) {
+drawcoloredtext(Monitor *m, char *text) {
char *buf = text, *ptr = buf, c = 1;
unsigned long *col = dc.colors[0];
int i, ox = dc.x;
...
c=*ptr;
*ptr=0;
if(i) {
- dc.w = selmon->ww - dc.x;
+ dc.w = m->ww - dc.x;
drawtext(buf, col, False);
dc.x += textnw(buf, i);
kaptenen - Thanks for the feedback.
Arch64/DWM || My Dropbox referral link
Offline
I pushed a bugfix for centred-floating, please test and provide feedback those who use a multi-monitor setup.
I like this patch, but it puts windows that requests specific position on screen (e.g, gsimplecal) to center too.
Offline