Migrating config back from other dwm config
This commit is contained in:
19
config.h
19
config.h
@@ -49,16 +49,23 @@ static const Rule rules[] = {
|
|||||||
*/
|
*/
|
||||||
/* class instance title tags mask isfloating monitor */
|
/* class instance title tags mask isfloating monitor */
|
||||||
{ "Gimp", NULL, NULL, 0, 1, -1 },
|
{ "Gimp", NULL, NULL, 0, 1, -1 },
|
||||||
{ "firefox", NULL, NULL, 2, 0, -1 },
|
// { "firefox", NULL, NULL, 2, 0, -1 },
|
||||||
// make calculator floating
|
// make calculator floating
|
||||||
{ "SpeedCrunch", NULL, NULL, 0, 1, -1 },
|
{ "SpeedCrunch", NULL, NULL, 0, 1, -1 },
|
||||||
{ "URxvt", NULL, "urxvt-f", 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) */
|
/* layout(s) */
|
||||||
static const float mfact = 0.55; /* factor of master area size [0.05..0.95] */
|
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 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[] = {
|
static const Layout layouts[] = {
|
||||||
/* symbol arrange function */
|
/* symbol arrange function */
|
||||||
@@ -138,10 +145,10 @@ static Key keys[] = {
|
|||||||
//{ MODKEY|ShiftMask, XK_q, quit, {0} },
|
//{ MODKEY|ShiftMask, XK_q, quit, {0} },
|
||||||
{ MODKEY|ControlMask, XK_q, quit, {0} },
|
{ MODKEY|ControlMask, XK_q, quit, {0} },
|
||||||
{ 0, XK_Print, spawn, {.v = prtscrcmd } },
|
{ 0, XK_Print, spawn, {.v = prtscrcmd } },
|
||||||
{ MODKEY, XK_F9, spawn, {.v = mpc_pause } },
|
{ MODKEY, XK_F9, spawn, {.v = vol_down } },
|
||||||
{ MODKEY, XK_F10, spawn, {.v = mpc_play } },
|
{ MODKEY, XK_F10, spawn, {.v = vol_up } },
|
||||||
{ MODKEY, XK_F11, spawn, {.v = vol_down } },
|
{ MODKEY, XK_F11, spawn, {.v = mpc_play } },
|
||||||
{ MODKEY, XK_F12, spawn, {.v = vol_up } },
|
{ MODKEY, XK_F12, spawn, {.v = mpc_pause } },
|
||||||
{ MODKEY|ControlMask, XK_l, spawn, {.v = lockcmd } },
|
{ MODKEY|ControlMask, XK_l, spawn, {.v = lockcmd } },
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user