Migrating config back from other dwm config
This commit is contained in:
23
config.h
23
config.h
@@ -49,16 +49,23 @@ static const Rule rules[] = {
|
||||
*/
|
||||
/* class instance title tags mask isfloating monitor */
|
||||
{ "Gimp", NULL, NULL, 0, 1, -1 },
|
||||
{ "firefox", NULL, NULL, 2, 0, -1 },
|
||||
// { "firefox", NULL, NULL, 2, 0, -1 },
|
||||
// make calculator floating
|
||||
{ "SpeedCrunch", NULL, NULL, 0, 1, -1 },
|
||||
{ "URxvt", NULL, "urxvt-f", 0, 1, -1 },
|
||||
{ "mpv", NULL, NULL, 0, 1, -1 },
|
||||
{ "vlc", NULL, NULL, 0, 1, -1 },
|
||||
// didnt work
|
||||
{ "org.gnome.Nautilus", NULL, NULL, 0, 1, -1 },
|
||||
// $ xprop WM_CLASS #working below!
|
||||
{ "Org.gnome.Nautilus", NULL, NULL, 0, 1, -1 },
|
||||
// { "Firefox", NULL, NULL, 1 << 8, 0, -1 },
|
||||
};
|
||||
|
||||
/* layout(s) */
|
||||
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
|
||||
static const int nmaster = 1; /* number of clients in master area */
|
||||
static const int resizehints = 0; /* 1 means respect size hints in tiled resizals */
|
||||
static const int resizehints = 1; /* 1 means respect size hints in tiled resizals */
|
||||
|
||||
static const Layout layouts[] = {
|
||||
/* symbol arrange function */
|
||||
@@ -137,12 +144,12 @@ static Key keys[] = {
|
||||
TAGKEYS( XK_9, 8)
|
||||
//{ MODKEY|ShiftMask, XK_q, quit, {0} },
|
||||
{ MODKEY|ControlMask, XK_q, quit, {0} },
|
||||
{ 0, XK_Print, spawn, {.v = prtscrcmd } },
|
||||
{ MODKEY, XK_F9, spawn, {.v = mpc_pause } },
|
||||
{ MODKEY, XK_F10, spawn, {.v = mpc_play } },
|
||||
{ MODKEY, XK_F11, spawn, {.v = vol_down } },
|
||||
{ MODKEY, XK_F12, spawn, {.v = vol_up } },
|
||||
{ MODKEY|ControlMask, XK_l, spawn, {.v = lockcmd } },
|
||||
{ 0, XK_Print, spawn, {.v = prtscrcmd } },
|
||||
{ MODKEY, XK_F9, spawn, {.v = vol_down } },
|
||||
{ MODKEY, XK_F10, spawn, {.v = vol_up } },
|
||||
{ MODKEY, XK_F11, spawn, {.v = mpc_play } },
|
||||
{ MODKEY, XK_F12, spawn, {.v = mpc_pause } },
|
||||
{ MODKEY|ControlMask, XK_l, spawn, {.v = lockcmd } },
|
||||
};
|
||||
|
||||
/* button definitions */
|
||||
|
||||
Reference in New Issue
Block a user