You are not logged in.
Pages: 1
How do you configure dwm to look like this. http://timtux.net/tmp/screenie.png
Offline
Offline
I tried that but I get a error when trying to include fibonacci.h in the config.h file... is that another file I must download? and how do I tie in conkyrc and urxvt.
Offline
I tried that but I get a error when trying to include fibonacci.h in the config.h file... is that another file I must download? and how do I tie in conkyrc and urxvt.
Download the fibonacci patch from the dwm mailinglist/website. For patching follow the directions from the dwm website. I think it's:
patch -p1 < /path/to/fileFor urxvt, just add that to your config.h @ the binding section.
Last edited by SleepingGiant08 (2007-09-25 15:14:25)
Registered Linux User #439761
Offline
Okay sweet... now each time you change something in dwm you have to recompile it correct? When I do that would I have to uninstall and reinstall it or just recompile over it?
Offline
Okay sweet... now each time you change something in dwm you have to recompile it correct? When I do that would I have to uninstall and reinstall it or just recompile over it?
Yeah you have to recompile each time you want to make a change, which sucks and is whay i moved to ion3.
just run in your dwm directory:
sudo make clean installThis will,as you know intstall dwm to /usr/local/bin, unless you chnaged that.
Registered Linux User #439761
Offline
Since i'm using ABS to build DWM how would I apply the patch... its asking me file to patch.
How is ION3? Cause this is a little annoying ha
[edit]im dump[/edit]
Last edited by number3 (2007-09-25 17:48:44)
Offline
When you use abs, make a /var/abs/local and put a local copy of dwm there. Then edit the PKGCONFIG to have the patch applied before compiling
abcdefghijklmnopqrstuvwxyz
Offline
Since i'm using ABS to build DWM how would I apply the patch... its asking me file to patch.
How is ION3? Cause this is a little annoying ha
[edit]im dump[/edit]
honestly i would just download the source from the website. It's easier to maintain. Or if you want i can give you my tarball, with a buch of patches already applied.
I like ion3 much better... ![]()
Registered Linux User #439761
Offline
link me to your tarball... and send me a screenshot of your ion3 box.
Offline
link me to your tarball... and send me a screenshot of your ion3 box.
Sorry...alright I'll have to do it tomorrow...on my ::shudder:: Vista box now.
Registered Linux User #439761
Offline
ok here we go...the shot is not full resolution, i dont know why, but whatever...
Here is the tar, unfortunately it will only be hosted for 14 days, so let me know if you want me to upload it again.
Registered Linux User #439761
Offline
While trying to make clean install I get
config.h:48:14: warning: blackslash-newline at end of file
tile. c:8: rttpt NMASTER undeclared here (not in a function)
make: *** [tile.o] Error 1
Any ideas?
Offline
While trying to make clean install I get
config.h:48:14: warning: blackslash-newline at end of file
tile. c:8: rttpt NMASTER undeclared here (not in a function)
make: *** [tile.o] Error 1Any ideas?
Are you using my configs and stuff? Because it compiles fine for me. Otherwise post your config.h
Registered Linux User #439761
Offline
/* See LICENSE file for copyright and license details. */
/* appearance */
#define BARPOS BarTop /* BarBot, BarOff */
#define BORDERPX 0
#define FONT "-*-fixed-medium-r-normal-*-13-*-*-*-*-*-*-*"
#define NORMBORDERCOLOR "#1a2020"
#define NORMBGCOLOR "#1a2020"
#define NORMFGCOLOR "#eeeeee"
#define SELBORDERCOLOR "#2c8077"
#define SELBGCOLOR "#1a2020"
#define SELFGCOLOR "#2c8077"
/* tagging */
#define TAGS \
const char *tags[] = { "main", "www", "dev", "gfx", "tmp", NULL };
/* Query class:instance:title for regex matching info with following command:
* xprop | awk -F '"' '/^WM_CLASS/ { printf("%s:%s:",$4,$2) }; /^WM_NAME/ { printf("%s\n",$2) }' */
#define RULES \
static Rule rules[] = { \
/* class:instance:title regex tags regex isfloating */ \
{ "Gimp", NULL, True }, \
{ "MPlayer", NULL, True }, \
{ "Acroread", NULL, True }, \
{ "aMSN", NULL, True }, \
{ "Chat", NULL, True }, \
{ "VLC", NULL, True }, \
};
/* layout(s) */
#include "tile.h"
#include "fibonacci.h"
#define LAYOUTS \
static Layout layouts[] = { \
/* symbol function */ \
{ "(@)", spiral }, \
{ "[]=", tile }, \
{ "><>", floating }, \
{ "[\\]", dwindle }, \
};
#define MWFACT 0.5 /* master width factor [0.1 .. 0.9] */
#define SNAP 32 /* snap pixel */
/* key definitions */
#define MODKEY Mod4Mask
#define KEYS \
Key keys[] = { \
/* modifier key function argument */ \
{ MODKEY|ShiftMask, XK_Return, spawn, "exec urxvt" }, \
{ MODKEY, XK_p, spawn, "exe=`dmenu_path | dmenu` && exec $exe" }, \
{ MODKEY, XK_space, setlayout, NULL }, \
{ MODKEY, XK_b, togglebar, NULL }, \
{ MODKEY, XK_j, focusnext, NULL }, \
{ MODKEY, XK_k, focusprev, NULL }, \
{ MODKEY, XK_h, setmwfact, "-0.05" }, \
{ MODKEY, XK_l, setmwfact, "+0.05" }, \
{ MODKEY, XK_m, togglemax, NULL }, \
{ MODKEY, XK_Return, zoom, NULL }, \
{ MODKEY|ShiftMask, XK_space, togglefloating, NULL }, \
{ MODKEY|ShiftMask, XK_c, killclient, NULL }, \
{ MODKEY, XK_0, view, NULL }, \
{ MODKEY, XK_1, view, tags[0] }, \
{ MODKEY, XK_2, view, tags[1] }, \
{ MODKEY, XK_3, view, tags[2] }, \
{ MODKEY, XK_4, view, tags[3] }, \
{ MODKEY, XK_5, view, tags[4] }, \
{ MODKEY, XK_6, view, tags[5] }, \
{ MODKEY, XK_7, view, tags[6] }, \
{ MODKEY, XK_8, view, tags[7] }, \
{ MODKEY, XK_9, view, tags[8] }, \
{ MODKEY|ControlMask, XK_1, toggleview, tags[0] }, \
{ MODKEY|ControlMask, XK_2, toggleview, tags[1] }, \
{ MODKEY|ControlMask, XK_3, toggleview, tags[2] }, \
{ MODKEY|ControlMask, XK_4, toggleview, tags[3] }, \
{ MODKEY|ControlMask, XK_5, toggleview, tags[4] }, \
{ MODKEY|ControlMask, XK_6, toggleview, tags[5] }, \
{ MODKEY|ControlMask, XK_7, toggleview, tags[6] }, \
{ MODKEY|ControlMask, XK_8, toggleview, tags[7] }, \
{ MODKEY|ControlMask, XK_9, toggleview, tags[8] }, \
{ MODKEY|ShiftMask, XK_0, tag, NULL }, \
{ MODKEY|ShiftMask, XK_1, tag, tags[0] }, \
{ MODKEY|ShiftMask, XK_2, tag, tags[1] }, \
{ MODKEY|ShiftMask, XK_3, tag, tags[2] }, \
{ MODKEY|ShiftMask, XK_4, tag, tags[3] }, \
{ MODKEY|ShiftMask, XK_5, tag, tags[4] }, \
{ MODKEY|ShiftMask, XK_6, tag, tags[5] }, \
{ MODKEY|ShiftMask, XK_7, tag, tags[6] }, \
{ MODKEY|ShiftMask, XK_8, tag, tags[7] }, \
{ MODKEY|ShiftMask, XK_9, tag, tags[8] }, \
{ MODKEY|ControlMask|ShiftMask, XK_1, toggletag, tags[0] }, \
{ MODKEY|ControlMask|ShiftMask, XK_2, toggletag, tags[1] }, \
{ MODKEY|ControlMask|ShiftMask, XK_3, toggletag, tags[2] }, \
{ MODKEY|ControlMask|ShiftMask, XK_4, toggletag, tags[3] }, \
{ MODKEY|ControlMask|ShiftMask, XK_5, toggletag, tags[4] }, \
{ MODKEY|ControlMask|ShiftMask, XK_6, toggletag, tags[5] }, \
{ MODKEY|ControlMask|ShiftMask, XK_7, toggletag, tags[6] }, \
{ MODKEY|ControlMask|ShiftMask, XK_8, toggletag, tags[7] }, \
{ MODKEY|ControlMask|ShiftMask, XK_9, toggletag, tags[8] }, \
{ MODKEY|ShiftMask, XK_q, quit, NULL }, \
};
Offline
Post configs to a pastebin if you can, http://pastebin.archlinux.org/
Keeps the threads tidy and preseves formatting. Syntax colouring also ![]()
James
Offline
While trying to make clean install I get
config.h:48:14: warning: blackslash-newline at end of file
tile. c:8: rttpt NMASTER undeclared here (not in a function)
make: *** [tile.o] Error 1Any ideas?
first of all, declare NMASTER in your config.h, like:
NMASTER = 1As far as the config.h warning, I do not know. but I think it should still compile
Registered Linux User #439761
Offline
Figured that one out like two mins before you posted... but thanks! ...but still no compiling. Now I'm getting
event.c: In function keypress
event.c:254: error: stray \ in program
event.c: In function grabkeys
event.c:358: error: stray \ in program
now the only thing I've changed is config.h. Would this error be in event.c or the config.h?
Offline
Correct me if I'm wrong (no dwm user anymore), but I think event.h sources config.h and actually says something like "struct KEYS" where KEYS is defined in config.h.
So you probably have one line in that big struct thing that doesn't end with '\' (even if it's a comment) so the compiler doesn't know that it continues on the next line.
Offline
number3, why dont you upgrade to dwm 4.5. all sources are in two files, config.h and dwm.c. much easier to figure these issues out.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
will 4.5 work with fibonacci patch?
Offline
nope
not unless someone has updated it and i don't believe that it has been.. so i guess upgrading is a no go for you right now.
archlinux - please read this and this — twice — then ask questions.
--
http://rsontech.net | http://github.com/rson
Offline
SleepingGiant - is that a Firefox theme in your screenshot or just an effect of the WM?
For the strength of the pack is the wolf, and the strength of the wolf is the pack.
Offline
SleepingGiant - is that a Firefox theme in your screenshot or just an effect of the WM?
honestly i have no idea what your talking about. But, i do not have any Firefox themes. Are you talking about my gtk2 theme?
Registered Linux User #439761
Offline
Pages: 1