You are not logged in.
Offline
http://ompldr.org/vOHU1Yw/2011-05-29-04-44-27-thumb.png
http://ompldr.org/vOHU1ZQ/2011-05-29-04-42-39-thumb.pngPatches:
cycle.c
dwm-5.8.2-bstack-alt.diff
dwm-5.8.2-fibonacci.diff
dwm-5.8.2-pertag.diff
dwm-5.8-pango.patch
dwm-uselessgap-5.8.diff
Can I have your uselessgap patch? I tried one from dwm.suckless.org and I always get double gaps between windows when using pango patch too.
Offline
Offline
jokerboy: the update patch and the rest are your doing or does suckless keep a repo of those?
Offline
the update patch is an update from 5.8.2 to the latest commit. regarding the rest, they are from here, from there and so on.
Arch64/DWM || My Dropbox referral link
Offline
http://ompldr.org/vOHU1Yw/2011-05-29-04-44-27-thumb.png
http://ompldr.org/vOHU1ZQ/2011-05-29-04-42-39-thumb.pngPatches:
cycle.c
dwm-5.8.2-bstack-alt.diff
dwm-5.8.2-fibonacci.diff
dwm-5.8.2-pertag.diff
dwm-5.8-pango.patch
dwm-uselessgap-5.8.diff
mind to share the wallpaper?
Offline
Can I have your uselessgap patch? I tried one from dwm.suckless.org and I always get double gaps between windows when using pango patch too.
I used that very patch, all I did was manually paste the code into the files, because once you apply a certain amount of patches, the diffs aren't accurate anymore.
mind to share the wallpaper?
Gotta love Megurine Luka. Arguably better than Miku
Since there are so many patches applied to my DWM, I was considering making a git repo for it, so others could snag the source. Let me know if anyone cares.
Last edited by Jimi (2011-05-31 16:01:32)
Offline
Since there are so many patches applied to my DWM, I was considering making a git repo for it, so others could snag the source. Let me know if anyone cares.
That would be nice!
Thx for the wallpaper
Offline
https://github.com/JimmyZelinskie/JDWM
The default config.h I tried to make generic, but still reflect what you can do very easily to add hotkeys etc...
There's always config.h.def to check out also, if you want to customize even more.
Last edited by Jimi (2011-05-31 20:24:42)
Offline
Hi guys, great desktops you have there. I just started using dwm, read the whole thread but didn't find solution to my problem. I would like to give different colours to the text at my dwm statusbar, I have already tried using ANSI escape codes, but it didn't work. I want to change the colours through my .xinitrc. Here is the vital part of this file:
#set statusbar
while true;
do
xsetroot -name "Bat $( acpi -b | awk '{ print $4 " " $5 }' | tr -d ',' ) Vol $(amixer get PCM | tail -1 | awk '{ prin
t $5 }' | tr -d '[]') $(date +"%a %d %b %R")"sleep 1s
done &exec dwm
Do you have any ideas? I don't want to use conky or dzen and pipe them, just standard statusbar.
Offline
Hi guys, great desktops you have there. I just started using dwm, read the whole thread but didn't find solution to my problem. I would like to give different colours to the text at my dwm statusbar
----snip-----
Do you have any ideas? I don't want to use conky or dzen and pipe them, just standard statusbar.
Have you looked here:
Offline
Hi everyone, I'm pretty new to dwm and I'm trying to customize it to my tastes, it's going pretty so far except for one thing: I'm having problems with "static const Layout layouts[] = ", I'm trying to get the emoji /人◕ ‿‿ ◕人\ to show up in my status bar when I'm in tile mode, however this is what happens:
Here's my config.h :
/* See LICENSE file for copyright and license details. */
/* appearance */
static const char font[] = "Sans 8";
static const char normbordercolor[] = "#cccccc";
static const char normbgcolor[] = "#cccccc";
static const char normfgcolor[] = "#000000";
static const char selbordercolor[] = "#0066ff";
static const char selbgcolor[] = "#0066ff";
static const char selfgcolor[] = "#ffffff";
static const unsigned int borderpx = 1; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const Bool showbar = True; /* False means no bar */
static const Bool topbar = True; /* False means bottom bar */
/* tagging */
static const char *tags[] = { "term", "www", "chat", "media", "misc" };
static const Rule rules[] = {
/* class instance title tags mask isfloating monitor */
{ "Nightly", NULL, NULL, 2, True, -1 },
{ "UXTerm", NULL, NULL, 1, False, -1 },
{ "Pidgin", NULL, NULL, 1 << 2, False, -1 },
{ "Gimp", NULL, NULL, 1 << 4, True, -1 },
};
/* layout(s) */
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
static const Bool resizehints = True; /* True means respect size hints in tiled resizals */
static const Layout layouts[] = {
/* symbol arrange function */
{ "/人◕ ‿‿ ◕人\", tile }, /* first entry is default */
{ "><>", NULL }, /* no layout function means floating behavior */
{ "[M]", monocle },
};
/* key definitions */
#define MODKEY Mod1Mask
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
{ MODKEY|ShiftMask, KEY, tag, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask|ShiftMask, KEY, toggletag, {.ui = 1 << TAG} },
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }
/* commands */
static const char *dmenucmd[] = { "dmenu_run", "-fn", font, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbgcolor, "-sf", selfgcolor, NULL };
static const char *termcmd[] = { "uxterm", NULL };
static Key keys[] = {
/* modifier key function argument */
{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
{ MODKEY|ShiftMask, XK_Return, spawn, {.v = termcmd } },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
{ MODKEY, XK_k, focusstack, {.i = -1 } },
{ MODKEY, XK_h, setmfact, {.f = -0.05} },
{ MODKEY, XK_l, setmfact, {.f = +0.05} },
{ MODKEY, XK_Return, zoom, {0} },
{ MODKEY, XK_Tab, view, {0} },
{ MODKEY|ShiftMask, XK_c, killclient, {0} },
{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
{ MODKEY, XK_space, setlayout, {0} },
{ MODKEY|ShiftMask, XK_space, togglefloating, {0} },
{ MODKEY, XK_0, view, {.ui = ~0 } },
{ MODKEY|ShiftMask, XK_0, tag, {.ui = ~0 } },
{ MODKEY, XK_comma, focusmon, {.i = -1 } },
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } },
TAGKEYS( XK_1, 0)
TAGKEYS( XK_2, 1)
TAGKEYS( XK_3, 2)
TAGKEYS( XK_4, 3)
TAGKEYS( XK_5, 4)
TAGKEYS( XK_6, 5)
TAGKEYS( XK_7, 6)
TAGKEYS( XK_8, 7)
TAGKEYS( XK_9, 8)
{ MODKEY|ShiftMask, XK_q, quit, {0} },
};
/* button definitions */
/* click can be ClkLtSymbol, ClkStatusText, ClkWinTitle, ClkClientWin, or ClkRootWin */
static Button buttons[] = {
/* click event mask button function argument */
{ ClkLtSymbol, 0, Button1, setlayout, {0} },
{ ClkLtSymbol, 0, Button3, setlayout, {.v = &layouts[2]} },
{ ClkWinTitle, 0, Button2, zoom, {0} },
{ ClkStatusText, 0, Button2, spawn, {.v = termcmd } },
{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
{ ClkClientWin, MODKEY, Button2, togglefloating, {0} },
{ ClkClientWin, MODKEY, Button3, resizemouse, {0} },
{ ClkTagBar, 0, Button1, view, {0} },
{ ClkTagBar, 0, Button3, toggleview, {0} },
{ ClkTagBar, MODKEY, Button1, tag, {0} },
{ ClkTagBar, MODKEY, Button3, toggletag, {0} },
};
I didn't change much and it's patched with pango
Any ideas on how to fix this?
Offline
@Eleison:
That's strange, seems like encoding problem, but I don't know how to fix it ;(
Here is result of my work with statsucolors patch:
I'm thinking what else could I do to make it better desktop, so any suggestions will be appreciated ;]
-- mod edit: read the rules and only post thumbnails https://bbs.archlinux.org/viewtopic.php?id=61754 [jwr] --
-- author edit: I resized the thumbs from 272 px to 250 px like rules say (below 50 kB), there are still hidden links to the fullsize images
Last edited by Gooru (2011-06-17 21:07:25)
Offline
Here is result of my work with statsucolors patch:
Mind sharing that wallpaper?
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
Gooru wrote:Here is result of my work with statsucolors patch:
Mind sharing that wallpaper?
Here you go:
http://chanarchive.org/content/78_wg/39 … 589172.png
Found this through google "search by image"
And, it was hosted on 4chan!!!
Offline
nah, it's actually from here: http://nick8204.deviantart.com/gallery/ … 4#/d31elq6
credits to the creator
.:[ git me! ] :.
Offline
Actually I found this wallpaper on wallbase.net.
I always take walls from this website
Offline
Started using dwm since 2 weeks, this is my result thus far:
Clean:
http://i.imgur.com/ICuRf.pngBusy:
http://i.imgur.com/muryk.pngI'm liking it.
Inspired by jasonwryan's configs, thanks for them.
could you share your conkyrc? thanks
Offline
How do I patch dwm? I tried doing like they say in dwm.suckless.org/patches but when I try I get:
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -up -x '.*' ../dwm-upstream/config.def.h ./config.def.h
|--- ../dwm-upstream/config.def.h 2010-06-16 22:27:38.000000000 +0200
|+++ ./config.def.h 2010-06-16 22:27:39.000000000 +0200
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
2 out of 2 hunks ignored
can't find file to patch at input line 35
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -up -x '.*' ../dwm-upstream/dwm.c ./dwm.c
|--- ../dwm-upstream/dwm.c 2010-06-16 22:27:38.000000000 +0200
|+++ ./dwm.c 2010-06-16 22:27:39.000000000 +0200
--------------------------
File to patch:
Skip this patch? [y] y
Skipping patch.
14 out of 14 hunks ignored
It seems like it's looking for config.def.h and dwm.c but I don't have those files.... I installed it from the abs and all I have in my dwm folder is:
config.h dwm-5.8.2-2-i686.pkg.tar.xz dwm-5.8.2.tar.gz dwm.desktop dwm.install pkg PKGBUILD src
Offline
Offline
check src/dwm-*
Okay it's in there and it's patchable however anything I change in those files don't seem to affect the recompilation. It only uses the config.h file I have in the dwm folder, not the src one.
Offline