You are not logged in.

#301 2011-05-27 18:00:45

nixfag
Member
From: Romania
Registered: 2011-03-03
Posts: 73

Re: Show off your Dwm configuration!

vOHRoaw
Did something wrong when applying a patch and failed and didn't have a backup so I've somehow lost the useless gaps ..Strangely enough I still have gappx defined in my config.h and it doesn't spit out errors..I've also patched it to only show active tags in the statusbar..

Offline

#302 2011-05-29 08:50:41

Jimi
Member
From: Brooklyn, NY
Registered: 2009-09-25
Posts: 125
Website

Re: Show off your Dwm configuration!

2011-05-29-04-44-27-thumb.png
2011-05-29-04-42-39-thumb.png

Patches:
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

Last edited by Jimi (2011-05-29 09:31:24)

Offline

#303 2011-05-30 16:30:32

OK100
Member
From: [U==]
Registered: 2010-04-26
Posts: 455

Re: Show off your Dwm configuration!

Jimi wrote:

http://ompldr.org/vOHU1Yw/2011-05-29-04-44-27-thumb.png
http://ompldr.org/vOHU1ZQ/2011-05-29-04-42-39-thumb.png

Patches:
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

#304 2011-05-30 18:40:44

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: Show off your Dwm configuration!

try this one.

Offline

#305 2011-05-31 09:28:07

el mariachi
Member
Registered: 2007-11-30
Posts: 595

Re: Show off your Dwm configuration!

jokerboy: the update patch and the rest are your doing or does suckless keep a repo of those?

Offline

#306 2011-05-31 09:35:17

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: Show off your Dwm configuration!

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.

Offline

#307 2011-05-31 15:24:14

lutherus
Member
From: Croatia;Varaždin
Registered: 2011-03-17
Posts: 150

Re: Show off your Dwm configuration!

Jimi wrote:

http://ompldr.org/vOHU1Yw/2011-05-29-04-44-27-thumb.png
http://ompldr.org/vOHU1ZQ/2011-05-29-04-42-39-thumb.png

Patches:
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?


I`m not a nerd.I`m a level 55   dwarf monk-psychic ninja ;-)

my github

Offline

#308 2011-05-31 15:56:09

Jimi
Member
From: Brooklyn, NY
Registered: 2009-09-25
Posts: 125
Website

Re: Show off your Dwm configuration!

OK100 wrote:

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.

lutherus wrote:

mind to share the wallpaper?

http://ompldr.org/vOHZhcw

Gotta love Megurine Luka. Arguably better than Miku tongue

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

#309 2011-05-31 18:11:08

lutherus
Member
From: Croatia;Varaždin
Registered: 2011-03-17
Posts: 150

Re: Show off your Dwm configuration!

Jimi wrote:

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


I`m not a nerd.I`m a level 55   dwarf monk-psychic ninja ;-)

my github

Offline

#310 2011-05-31 20:05:43

Jimi
Member
From: Brooklyn, NY
Registered: 2009-09-25
Posts: 125
Website

Re: Show off your Dwm configuration!

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

#311 2011-06-13 00:03:07

Flasheh
Member
Registered: 2011-05-24
Posts: 4

Re: Show off your Dwm configuration!

Started using dwm since 2 weeks, this is my result thus far:

Clean:
ICuRf.png

Busy:
muryk.png

I'm liking it.
Inspired by jasonwryan's configs, thanks for them. wink

Offline

#312 2011-06-13 15:19:54

Gooru
Member
From: Poland
Registered: 2010-08-25
Posts: 53

Re: Show off your Dwm configuration!

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

#313 2011-06-13 15:24:53

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Show off your Dwm configuration!

Gooru wrote:

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:

http://dwm.suckless.org/patches/statuscolors

Offline

#314 2011-06-13 15:27:39

c00kiemon5ter
Member
From: Greece
Registered: 2010-06-01
Posts: 562
Website

Re: Show off your Dwm configuration!

You may also wanna take a look here


.:[ git me! ] :.

Offline

#315 2011-06-14 00:23:40

Meyithi
Member
From: Wirral, UK
Registered: 2009-06-21
Posts: 550
Website

Re: Show off your Dwm configuration!

Trying out some anti-glare colours, not sure if want

tOTF5NQ


The mind roams more freely in empty rooms.
dwm - colours - ncmpcpp - system
irc://irc.freenode.net:meyithi

Offline

#316 2011-06-15 07:53:33

Eleison
Member
Registered: 2011-06-15
Posts: 3

Re: Show off your Dwm configuration!

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:
oqwqhf.jpg

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

#317 2011-06-17 17:22:09

Gooru
Member
From: Poland
Registered: 2010-08-25
Posts: 53

Re: Show off your Dwm configuration!

@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:
clean-thumb.png
dirty-thumb.png

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

#318 2011-06-17 17:44:23

Unia
Member
From: Stockholm, Sweden
Registered: 2010-03-30
Posts: 2,486
Website

Re: Show off your Dwm configuration!

Gooru wrote:

Here is result of my work with statsucolors patch:

http://dl.dropbox.com/u/4446135/clean-thumb.png

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

#319 2011-06-17 18:27:20

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Show off your Dwm configuration!

Unia wrote:
Gooru wrote:

Here is result of my work with statsucolors patch:

http://dl.dropbox.com/u/4446135/clean-thumb.png

Mind sharing that wallpaper?

Here you go:

http://chanarchive.org/content/78_wg/39 … 589172.png

Found this through google "search by image" tongue

And, it was hosted on 4chan!!!

Offline

#320 2011-06-17 18:29:07

c00kiemon5ter
Member
From: Greece
Registered: 2010-06-01
Posts: 562
Website

Re: Show off your Dwm configuration!

nah, it's actually from here: http://nick8204.deviantart.com/gallery/ … 4#/d31elq6
credits to the creator smile


.:[ git me! ] :.

Offline

#321 2011-06-17 20:53:54

Gooru
Member
From: Poland
Registered: 2010-08-25
Posts: 53

Re: Show off your Dwm configuration!

Actually I found this wallpaper on wallbase.net.
I always take walls from this website big_smile

Offline

#322 2011-06-18 14:23:37

davric
Member
Registered: 2011-01-01
Posts: 19

Re: Show off your Dwm configuration!

Flasheh wrote:

Started using dwm since 2 weeks, this is my result thus far:

Clean:
http://i.imgur.com/ICuRf.png

Busy:
http://i.imgur.com/muryk.png

I'm liking it.
Inspired by jasonwryan's configs, thanks for them. wink

could you share your conkyrc? thanks

Offline

#323 2011-06-18 18:40:23

Eleison
Member
Registered: 2011-06-15
Posts: 3

Re: Show off your Dwm configuration!

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

#324 2011-06-18 18:44:34

JokerBoy
Member
From: România
Registered: 2009-09-24
Posts: 641

Re: Show off your Dwm configuration!

check src/dwm-*

Offline

#325 2011-06-18 20:40:43

Eleison
Member
Registered: 2011-06-15
Posts: 3

Re: Show off your Dwm configuration!

JokerBoy wrote:

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

Board footer

Powered by FluxBB