From 699c7bd99cbe3ad24d3a789beaed1d476129a1a6 Mon Sep 17 00:00:00 2001 From: jon Date: Wed, 25 May 2022 10:27:26 -0500 Subject: [PATCH] Migrating config back from other dwm config --- config.h | 23 +++++++++++++++-------- 1 file changed, 15 insertions(+), 8 deletions(-) diff --git a/config.h b/config.h index 5e00c55..12a872c 100644 --- a/config.h +++ b/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 */