You are not logged in.

#676 2012-12-01 13:49:40

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

Re: Show off your Dwm configuration!

tZ2lzMQ tZ2lzMg tZ2lzMw

Offline

#677 2012-12-03 23:08:36

pks
Member
From: Germany
Registered: 2012-07-20
Posts: 110

Re: Show off your Dwm configuration!

Here's mine with some minor changes once again. Guess most notable is the clock that replaced window titles. Other patches are just modifying behaviour.

tZ2swOQ

Offline

#678 2012-12-04 10:16:25

rix
Member
Registered: 2012-07-25
Posts: 238

Re: Show off your Dwm configuration!

@ pks: do you mind share config.h, dwm.c and browser's config?
Thanks a lot and... Berlin how I miss it.... Such a beautiful city. ;(

Last edited by rix (2012-12-04 10:17:55)

Offline

#679 2012-12-04 10:25:21

pks
Member
From: Germany
Registered: 2012-07-20
Posts: 110

Re: Show off your Dwm configuration!

rix wrote:

Thanks a lot and... Berlin how I miss it.... Such a beautiful city. ;(

It is, at least most locations in Berlin. You lived there?

rix wrote:

@ pks: do you mind share config.h, dwm.c and browser's config?

I don't mind at all. Take a look at my Repository. It will be hard to extract patches, though, as I didn't care for backwards compatibility. Anyway, each commit should more or less resemble a single feature. Just ask if you are interested in something specific.

Here's my latest change with a modified tag bar so that the selected tag is dispayed with an overlining bar.
tZ2s3ZA

Last edited by pks (2012-12-04 11:01:26)

Offline

#680 2012-12-04 10:46:07

rix
Member
Registered: 2012-07-25
Posts: 238

Re: Show off your Dwm configuration!

pks wrote:

[...] You lived there? [...]

Unfortunatly no. But I hope.
For now I visited it many times and have fallen in love with it. smile

pks wrote:

[...] I don't mind at all [...]

Thanks really a lot. wink

Last edited by rix (2012-12-04 10:46:47)

Offline

#681 2012-12-05 19:02:50

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: Show off your Dwm configuration!

2012-12-05-thumb.png

Changed the statusbar colors to match my terminal colors, and trying out cure, it's is a nice little font! I think I got everything just the way I want now.

Offline

#682 2012-12-25 18:16:25

KaiSforza
Member
Registered: 2012-04-22
Posts: 133
Website

Re: Show off your Dwm configuration!

So as of last night at oh, 23:30 or so, I decided to switch from i3 to dwm. So far it's holding up nicely. The config is in my opinion nicer, and the recompiling is not a hassle at all if you know how to use makepkg. My dwm is all unpatched, and I don't (at the moment) see too much need for it. I hide the status bar most of the time as well.

vZ3RyaQ

I've got a semi-custom status bar, thrown together from some selective patching of suckless' dwmstatus project. Also, running on systemd --user, so restarting on the fly is easy and non-destructive. A simple mod+shift+R after an update just flashes the bar and everything is brand new!

config.h

I'll be putting the status stuff on my github soon enough. The config.h is already there in the pkgbuilds repo.


Thinkpad T420 | Intel 3000 | systemd {,--user}
PKGBUILDs I use | pywer AUR helper

Offline

#683 2013-01-03 12:01:56

KieranQuinn
Member
Registered: 2013-01-03
Posts: 29
Website

Re: Show off your Dwm configuration!

Cross-post from January thread.


DWM

vZ3g4cQ

Offline

#684 2013-01-08 15:52:26

creative2innovative
Member
Registered: 2011-08-16
Posts: 61

Re: Show off your Dwm configuration!

KieranQuinn wrote:

Cross-post from January thread.


DWM

http://ompldr.org/vZ3g4cQ



cool config  can you share the config files ?

Offline

#685 2013-01-08 16:10:55

KieranQuinn
Member
Registered: 2013-01-03
Posts: 29
Website

Re: Show off your Dwm configuration!

creative2innovative wrote:
KieranQuinn wrote:

Cross-post from January thread.


DWM

http://ompldr.org/vZ3g4cQ



cool config  can you share the config files ?

I have updated the set-up quite a lot, but it does have the same colour scheme. My configs are on my GitHub, but the're not completely up-to-date, yet.

clean
tZ3oyMA

dirty
tZ3oyMQ

GUI: chromium, geany, skype, thunar, transmission, deadbeef, vlc, feh.
CLI: urxvt, vim, irssi, ranger, moc.
GTK: FlatStudioDark (modded).
Icons: AwOken.

Last edited by KieranQuinn (2013-01-08 16:11:48)

Offline

#686 2013-01-11 13:20:18

delta_4d
Member
Registered: 2011-07-26
Posts: 16

Re: Show off your Dwm configuration!

Lately I ran to dwm and try to show icons on statusbar, but failed T_T.
I followed this post.
but when I type "echo -e '\uE015'" on urxvt, it shows nothing.
in .xinitrc

xsetroot -name "$(echo -e '\uE015')"

dwm config.h

static const char font[] = "ohsnap:size=9:antialias=true:hinting=true" "," "-*-stlarch-medium-r-*-*-10-*-*-*-*-*-*-*"

Am I missing someting or doing something wrong ?


take it easy

Offline

#687 2013-01-11 13:24:48

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,441
Website

Re: Show off your Dwm configuration!

delta_4d, this is a config sharing thread, not a troubleshooting thread.

If you want to solve that, please start a new thread and provide *a lot* more information including which patches you have applied and whether other strings can be displayed in the status, whether that echo command works from a terminal within dwm, and where in your xinitrc that line is.

Last edited by Trilby (2013-01-11 13:26:02)


"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#688 2013-01-11 14:46:00

delta_4d
Member
Registered: 2011-07-26
Posts: 16

Re: Show off your Dwm configuration!

Really sorry about it. I will start a new thread.
Thx Trilby.


take it easy

Offline

#689 2013-01-12 04:22:29

woddfellow2
Member
From: USA
Registered: 2010-04-05
Posts: 113
Website

Re: Show off your Dwm configuration!

My current config:
taDFpNw

/* woddfellow2's dwm Config
   by woddfellow2 | http://wlair.us.to/ */

#include "bstack.c"
#include "bstackhoriz.c"

// Appearance ------------------------------------------------------------------
static const char font[] = "-*-terminus-medium-r-*-*-12-*-*-*-*-*-*-*";

static const char normbordercolor[] = "#222222";
static const char normbgcolor[] = "#050505";
static const char normfgcolor[] = "#CCCCCC";
static const char selbordercolor[] = "#2255FF";
static const char selbgcolor[] = "#2255FF";
static const char selfgcolor[] = "#FFFFFF";

static const unsigned int borderpx = 1;
static const unsigned int snap = 16;

static const Bool showbar = True;
static const Bool topbar = True;

// Tagging ---------------------------------------------------------------------
static const char *tags[] =
{
	"term",
	"www",
	"gvim",
	"media",
	"other"
};

static const Rule rules[] =
{
	{ "st", NULL, NULL, 1 << 0, False, -1 },
	{ "st-256color", NULL, NULL, 1 << 0, False, -1 },
	{ "Gimp", NULL, NULL, 1 << 4, True, -1 },
	{ "Firefox", NULL, NULL, 1 << 1, False, -1 },
	{ "Gvim", NULL, NULL, 1 << 2, False, -1 },
	{ "feh", NULL, NULL, 1 << 3, False, -1 },
	{ "Display", NULL, NULL, 1 << 3, True, -1 },
	{ "MPlayer", NULL, NULL, 1 << 3, False, -1 },
	{ NULL, NULL, NULL, 1 << 4, False, -1 },
};

// Layouts ---------------------------------------------------------------------
static const float mfact = 0.50;
static const int nmaster = 1;
static const Bool resizehints = True;

static const Layout layouts[] =
{
	{ "[]=", tile },
	{ "><>", NULL },
	{ "[M]", monocle },
	{ "TTT", bstack },
	{ "===", bstackhoriz },
};

// Keybindings -----------------------------------------------------------------
#define MODKEY Mod4Mask
#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} },

#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 Key keys[] =
{
	{ MODKEY, XK_p, spawn, {.v = dmenucmd } },
	{ MODKEY|ShiftMask, XK_Return, spawn, SHCMD("~/.st/st") },
	{ MODKEY, XK_b, togglebar, {0} },
	{ MODKEY, XK_j, focusstack, {.i = +1 } },
	{ MODKEY, XK_k, focusstack, {.i = -1 } },
	{ MODKEY, XK_i, incnmaster, {.i = +1 } },
	{ MODKEY, XK_d, incnmaster, {.i = -1 } },
	{ MODKEY, XK_h, setmfact, {.f = -0.01} },
	{ MODKEY, XK_l, setmfact, {.f = +0.01} },
	{ MODKEY, XK_Return, zoom, {0} },
	{ MODKEY, XK_Tab, view, {0} },
	{ MODKEY|ShiftMask, XK_c, killclient, {0} },
	{ MODKEY, XK_m, setlayout, {.v = &layouts[2]} },
	{ MODKEY, XK_t, setlayout, {.v = &layouts[0]} },
	{ MODKEY, XK_f, setlayout, {.v = &layouts[1]} },
	{ 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, XK_period, focusmon, {.i = +1 } },
	{ MODKEY|ShiftMask, XK_comma, tagmon, {.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} },

	// Custom Keybindings
	{ MODKEY, XK_Escape, spawn, SHCMD("xautolock -locknow") },
	{ MODKEY|ShiftMask, XK_grave, spawn, 
		SHCMD("~/.st/st -e screen -dRR") },
	{ MODKEY, XK_x, spawn, SHCMD("banish") },
	{ MODKEY|ShiftMask, XK_t, setlayout, {.v = &layouts[3]} },
	{ MODKEY|ControlMask, XK_t, setlayout, {.v = &layouts[4]} },
	{ MODKEY|ShiftMask, XK_f, spawn, SHCMD("firefox") },
};

// Mouse Bindings --------------------------------------------------------------
static Button buttons[] =
{
	{ ClkClientWin, MODKEY, Button1, movemouse, {0} },
	{ ClkClientWin, MODKEY, Button3, resizemouse, {0} },
};

Patches:

  • dwm-5.7.2-attachaside.diff

  • dwm-6.0-bstack.diff

  • dwm-6.0-single_window_no_border.diff

(Again, add "    break;" at the end of the if statement with {} in applyrules() in dwm.c to get the rules/"other" tag to work properly.)


1-Crawl 2-Cnfg 3-ATF 4-Exit ?

Offline

#690 2013-01-21 12:54:06

fiddler
Member
From: where is it again?!
Registered: 2012-12-24
Posts: 28

Re: Show off your Dwm configuration!

my screenshot :
2012_12_25_153011_1280x800_scrot.jpg

my config :

/* See LICENSE in dwm source code package for copyright and license details. */
/**/
/* This is the config.h for dwm with icons and colors in font.*/
/**/
/* This file was made by fiddler
/* This file can be distributed under the same license that dwm works with */ 


#include "im-grid.c"
#include "push.c"
#include "X11/XF86keysym.h"
#include "togglefullscreen.c"

/* appearance */
static const char font[] = "-*-stlarch-medium-r-*-*-10-*-*-*-*-*-iso8859-*" "," "-*-termsyn-medium-*-*-*-11-*-*-*-*-*-*-*";

#define NUMCOLORS 21
static const char colors[NUMCOLORS][ColLast][21] = {
    // border     foreground background
    { "#010900", "#a2fa9e", "#010900" },  // 01 - normal
    { "#010900", "#a2fa9e", "#010900" },  // 02 - selected
    { "#A1EE64", "#79E313", "#010900" },  // 03 - urgent

    { "#000902", "#000902", "#020202" },  // 04 - black
    { "#b77b07", "#b77b07", "#020202" },  // 05 - red
    { "#53DF22", "#53DF22", "#020202" },  // 06 - green
    { "#579A06", "#579A06", "#020202" },  // 07 - yellow
    { "#d8cc15", "#d8cc15", "#020202" },  // 08 - blue
    { "#3dc360", "#3dc360", "#020202" },  // 09 - magenta
    { "#000000", "#000000", "#000000" },  // unusable
    { "#A1EE64", "#A1EE64", "#020202" },  // 0B - cyan
    { "#bbbbbb", "#bbbbbb", "#020202" },  // 0C - light gray
    { "#4c4c4c", "#4c4c4c", "#020202" },  // 0D - gray
    { "#f72fb6", "#f72fb6", "#020202" },  // 0E - light red
    { "#A1EE64", "#A1EE64", "#020202" },  // 0F - light green
    { "#11ed44", "#11ed44", "#020202" },  // 10 - light yellow
    { "#729fcf", "#729fcf", "#020202" },  // 11 - light blue
    { "#772BBE", "#772BBE", "#020202" },  // 12 - light magenta
    { "#79E313", "#79E313", "#020202" },  // 13 - light cyan
    { "#ADE474", "#ADE474", "#020202" },  // 14 - white

    { "#802635", "#BF9F5F", "#802635" },  // 15 - warning
};

static const unsigned int borderpx       = 1;                // border pixel of windows
static const unsigned int snap           = 5;                // snap pixel
static const unsigned int systrayspacing = 1;                // space between systray icons
static const Bool showsystray            = False;             // False means no systray
static const Bool showbar                = True;             // False means no bar
static const Bool topbar                 = True;             // False means bottom bar
static Bool useicons                     = True;             // False means use ascii symbols
static const char scratchpadname[]       = "Scratchpad";

/* layout(s) */
static const float mfact      = 0.50;     // factor of master area size [0.05..0.95]
static const Bool resizehints = False;    // True means respect size hints in tiled resizals
static const int nmaster      = 1;        // default number of clients in the master area

static const Layout layouts[] = {
    // icon                                    symbol    arrange function
    { "/home/fiddler/dwm-config/icons/tile.xbm",     "þ",      tile },
    { "/home/fiddler/dwm-config/icons/bstack.xbm",   "ü",      bstack },
    { "/home/fiddler/dwm-config/icons/float.xbm",    "ý",      NULL },     // no layout function means floating behavior
    { "/home/fiddler/dwm-config/icons/monocle.xbm",  "ÿ",      monocle },
    { "/home/fiddler/dwm-config/icons/grid.xbm",     "ú",      imgrid },
};

static const MonocleNumberedIcon monoclenumberedicons[] = {
	{ "/home/fiddler/dwm-config/icons/monocle0.xbm" },
	{ "/home/fiddler/dwm-config/icons/monocle1.xbm" },
	{ "/home/fiddler/dwm-config/icons/monocle2.xbm" },
	{ "/home/fiddler/dwm-config/icons/monocle3.xbm" },
	{ "/home/fiddler/dwm-config/icons/monocle4.xbm" },
	{ "/home/fiddler/dwm-config/icons/monocle5.xbm" },
};

/* tagging */
static const Tag tags[] = {
        // name       layout           mfact    nmaster
        { "",        &layouts[4],   0.65,      -1 },
        { "",        &layouts[2],     -1,      -1 },
        { "",        &layouts[3],     -1,      -1 },
        { "",        &layouts[3],     -1,      -1 },
        { "",        &layouts[4],   0.22,      -1 },
        { "",        &layouts[2],   0.65,      -1 },
        { "",        &layouts[0],   0.65,      -1 },
        { "",        &layouts[3],     -1,      -1 },
        { "",        &layouts[2],     -1,      -1 },
};

/* window rules */
static const Rule rules[] = {
        // class                  instance  title                  tags mask  isfloating  iscentred   monitor
        { "mplayer",             NULL,      NULL,                 0,            True,                   -1 },
	{ "Firefox",  		 NULL,      NULL,       	  1 << 3,       False,        		-1 },
};

/* key definitions */
#define MODKEY Mod4Mask
#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", "-i", "-fn", font, "-nb", colors[0][ColBG], "-nf", colors[1][ColFG],"-sb", colors[2][ColBG], "-sf", colors[1][ColFG], NULL };
static const char *termcmd[]  = { "urxvtc", NULL };
static const char *scratchpadcmd[] = { "urxvtc", "-title", scratchpadname, "-geometry", "70x9+400+10", NULL };
static const char *scrotcmd[]    = { "scrot", "&&", "mv", "*.png", "~/pics/",  NULL };
static const char *rangercmd[]  ={ "urxvtc", "-e", "ranger", NULL};
static const char *musiccmd[]  ={ "urxvtc", "-e", "ncmpcpp", NULL};
static const char *ncmpcmd[]   ={ "urxvtc", "-e", "ncmpc", NULL};
static const char *webcmd[]   ={"jumanji", NULL};
static const char *pcmanfmcmd[] ={"pcmanfm", NULL};
static const char *linkscmd[]   ={"urxvtc", "-e", "xlinks", NULL};

#include "moveresize.c"
static Key keys[] = {
   // modifier                       key                       function          argument
	/* Here starts the moveresize keys */
	{ MODKEY,                       XK_Down,   moveresize,     {.v = (int []){ 0, 25, 0, 0 }}},
	{ MODKEY,                       XK_Up,     moveresize,     {.v = (int []){ 0, -25, 0, 0 }}},
	{ MODKEY,                       XK_Right,  moveresize,     {.v = (int []){ 25, 0, 0, 0 }}},
	{ MODKEY,                       XK_Left,   moveresize,     {.v = (int []){ -25, 0, 0, 0 }}},
	{ MODKEY|ShiftMask,             XK_Down,   moveresize,     {.v = (int []){ 0, 0, 0, 25 }}},
	{ MODKEY|ShiftMask,             XK_Up,     moveresize,     {.v = (int []){ 0, 0, 0, -25 }}},
	{ MODKEY|ShiftMask,             XK_Right,  moveresize,     {.v = (int []){ 0, 0, 25, 0 }}},
	{ MODKEY|ShiftMask,             XK_Left,   moveresize,     {.v = (int []){ 0, 0, -25, 0 }}},
	/* Here ends the moveresize keys   */
	/* Here starts the nmaster keys    */
	{ MODKEY,                       XK_i,      incnmaster,     {.i = +1 } },
	{ MODKEY,                       XK_d,      incnmaster,     {.i = -1 } },
	/*{ MODKEY,                       XK_x,      setnmaster,     {.i = 2 } },*/
	{ MODKEY,                       XK_Tab,      swapfocus,      {0} },
    { MODKEY,                       XK_d,      spawn,          {.v = rangercmd } },
	{ MODKEY,                       XK_p,      spawn,          {.v = dmenucmd } },
{ MODKEY|ShiftMask,                          XK_z,      spawn,          {.v = musiccmd } },
{ MODKEY|ShiftMask,                 XK_d,      spawn,         {.v = pcmanfmcmd } },
{ MODKEY,                           XK_w,     spawn,          {.v = webcmd } },
{ MODKEY|ShiftMask,                 XK_w,     spawn,          {.v = linkscmd } },
{ MODKEY|ShiftMask,             XK_Return, spawn,          {.v = termcmd } },
    { MODKEY|ControlMask,           XK_s,       spawn,          {.v = scrotcmd } },
{ MODKEY,                         XK_z,      spawn,           {.v = ncmpcmd } },
	{ MODKEY,                       XK_j,      focusstack,     {.i = +1 } },
	{ MODKEY|ShiftMask,             XK_j,      pushdown,      {.i = +1 } },
	{ MODKEY|ShiftMask,             XK_k,      pushup,      {.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|ShiftMask,             XK_c,      killclient,     {0} },
    { MODKEY,                        XK_t,                     setlayout,        {.v = &layouts[0]} },
    { MODKEY,                        XK_b,                     setlayout,        {.v = &layouts[1]} },
    { MODKEY,                        XK_f,                     setlayout,        {.v = &layouts[2]} },
    { MODKEY|ShiftMask,              XK_f,                     togglefullscreen, {0} },
    { MODKEY,                        XK_m,                     setlayout,        {.v = &layouts[3]} },
    { MODKEY,                        XK_g,                     setlayout,        {.v = &layouts[4]} },
    { 0,                             XK_F12,                   togglescratch,    {.v = scratchpadcmd} },
	{ MODKEY|ShiftMask,             XK_b,      togglebar,      {0} },
	{ 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,                       XK_period, focusmon,       {.i = +1 } },
	{ MODKEY|ShiftMask,             XK_comma,  tagmon,         {.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} },
    /*{ 0,                             XF86XK_Launch1,           spawn,            {.v = screenoffcmd } },
    { 0,                             XF86XK_PowerOff,          spawn,            {.v = shutdowncmd } },
    { 0,                             XF86XK_AudioLowerVolume,  spawn,            {.v = voldowncmd } },
    { 0,                             XF86XK_AudioMute,         spawn,            {.v = voltogglecmd } },
    { 0,                             XF86XK_AudioRaiseVolume,  spawn,            {.v = volupcmd } },
    */
};

#include "tilemovemouse.c"
/* 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} },
    { ClkWinTitle,          0,              Button1,        focusstack,     {.i = +1 } },
    { ClkWinTitle,          0,              Button3,        focusstack,     {.i = -1 } },
    { ClkClientWin,         MODKEY,         Button1,        tilemovemouse,  {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} },
    /*{ ClkRootWin,           0,              Button3,        spawn,          {.v = menucmd } },
    { ClkStatusText,        0,              Button1,        spawn,          {.v = calendarcmd } },
    { ClkStatusText,        0,              Button3,        spawn,          {.v = menucmd } },
    */
};

-Indonesia Raya-

Offline

#691 2013-01-24 22:47:24

w0ng
Member
From: Australia
Registered: 2009-06-04
Posts: 88
Website

Re: Show off your Dwm configuration!

I tried to explain tags and workflow in dwm:
http://www.wongdev.com/blog/2013/01/24/ … orkspaces/

Offline

#692 2013-01-24 23:02:08

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Show off your Dwm configuration!

w0ng wrote:

I tried to explain tags and workflow in dwm:
http://www.wongdev.com/blog/2013/01/24/ … orkspaces/

Nice. Seems Connor has pulled his classic post on this topic, so yours is now the default!

Your blog looks good too.

# edit: you should add a link from the dwm wiki page...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#693 2013-01-25 06:50:29

KaiSforza
Member
Registered: 2012-04-22
Posts: 133
Website

Re: Show off your Dwm configuration!

w0ng wrote:

I tried to explain tags and workflow in dwm:
http://www.wongdev.com/blog/2013/01/24/ … orkspaces/

I moved to dwm about a month ago from i3wm, and it uses the workspace concept, which I brought with me to dwm (used it pretty much the same way I used i3). After reading this I can see a while bunch of different ways to use dwm. Thanks!


Thinkpad T420 | Intel 3000 | systemd {,--user}
PKGBUILDs I use | pywer AUR helper

Offline

#694 2013-01-28 20:45:08

KaiSforza
Member
Registered: 2012-04-22
Posts: 133
Website

Re: Show off your Dwm configuration!

So after a while of messing with dwm, I've added a few patches as of late, notably the bstack patch and the focusonclick patch (well, a variation on it):
config.h
9BBqngB.png
The statusbar is something I hacked together, and you can see the git repo of it in the screenshot.

The focusonclick patch from the suckless site didn't seem to work, but I found one on their mailing list: http://ix.io/4b8
It's from a while ago, but it still applies cleanly. Most of the patches I've added are referenced in the git repo, otherwise you can just cherry-pick it to get what you need.


Thinkpad T420 | Intel 3000 | systemd {,--user}
PKGBUILDs I use | pywer AUR helper

Offline

#695 2013-01-29 02:20:59

doug piston
Member
From: Seattle
Registered: 2011-09-11
Posts: 387
Website

Re: Show off your Dwm configuration!

w0ng wrote:

I tried to explain tags and workflow in dwm:
http://www.wongdev.com/blog/2013/01/24/ … orkspaces/


I've learned more from your github then I'd like to say. I look forward to reading your blog.

Cheers.

Offline

#696 2013-01-31 14:28:55

Dustbin
Member
From: The Netherlands
Registered: 2011-12-07
Posts: 124

Re: Show off your Dwm configuration!

Using dwm for the very first time...

Clean:
2e4ezid.png

Dirty:
2ew34tw.png

Visible apps are Thunar, gedit and urxvt


If the Matrix was real, it would run on Arch...

Offline

#697 2013-01-31 22:32:34

flexo3001
Member
From: berlin
Registered: 2012-01-13
Posts: 95

Re: Show off your Dwm configuration!

can you please share your ranger-config? didn't found it in your git-repo.

thanks, flexo


Fight war not wars, destroy power not people!

Offline

#698 2013-02-09 12:10:11

cdown
Member
From: London, England
Registered: 2013-02-09
Posts: 55
Website

Re: Show off your Dwm configuration!

.

Last edited by cdown (2013-03-17 00:45:41)

Offline

#699 2013-02-21 08:07:38

avantgarden
Member
Registered: 2012-10-28
Posts: 4

Re: Show off your Dwm configuration!

I've been a Awesome user for quite some time now. Just switched to dwm a few days ago and loving it so far. My set up is based on KieranQuinn's from above.

taGpldQ

Offline

#700 2013-02-22 17:53:47

SolarBoyMatt
Member
Registered: 2012-01-07
Posts: 263

Re: Show off your Dwm configuration!

What text editor is that? I also really like the color scheme in it.

Last edited by SolarBoyMatt (2013-02-22 17:55:15)

Offline

Board footer

Powered by FluxBB