From e8c25fffa57dea8f4e9473b8e7f99cb6633e1bdf Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Thu, 7 Jan 2021 02:00:04 +0100 Subject: [PATCH 1/5] Made tiling default again & demnu tweaks --- src/config.h | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/src/config.h b/src/config.h index da0770a..e2ce35b 100644 --- a/src/config.h +++ b/src/config.h @@ -25,7 +25,7 @@ static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; static const char col_gray3[] = "#bbbbbb"; static const char col_gray4[] = "#eeeeee"; -static const char col_cyan[] = "#005577"; +static const char col_cyan[] = "#81a2be"; static const char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { col_gray3, col_gray1, col_gray1 }, @@ -59,8 +59,8 @@ static const int resizehints = 1; /* 1 means respect size hints in tiled resi static const Layout layouts[] = { /* symbol arrange function */ - { "><>", NULL }, /* first entry is default */ - { "[]=", tile }, + { "[]=", tile }, /* first entry is default */ + { "><>", NULL }, { "[M]", monocle }, }; @@ -78,8 +78,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ - -static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", bg_color, "-nf", text_color, "-sb", col_cyan, "-sf", col_gray4, NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", bg_color, "-nf", text_color, "-sb", col_cyan, "-sf", col_gray4, "-l", "8", NULL }; static const char *termcmd[] = { "urxvt", NULL }; @@ -103,8 +102,8 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_Return, zoom, {0} }, { MODKEY, XK_Tab, view, {0} }, { MODKEY|ShiftMask, XK_q, killclient, {0} }, - { MODKEY, XK_t, setlayout, {.v = &layouts[1]} }, - { MODKEY, XK_f, setlayout, {.v = &layouts[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} }, From 47acaec8bba14775041e329f7e49488c7acb1db1 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Thu, 7 Jan 2021 02:11:28 +0100 Subject: [PATCH 2/5] Dmenu tweaks --- src/config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.h b/src/config.h index e2ce35b..1f4f0f5 100644 --- a/src/config.h +++ b/src/config.h @@ -25,7 +25,7 @@ static const char col_gray1[] = "#222222"; static const char col_gray2[] = "#444444"; static const char col_gray3[] = "#bbbbbb"; static const char col_gray4[] = "#eeeeee"; -static const char col_cyan[] = "#81a2be"; +static const char col_cyan[] = "#5f819d"; static const char *colors[][3] = { /* fg bg border */ [SchemeNorm] = { col_gray3, col_gray1, col_gray1 }, @@ -78,7 +78,7 @@ static const Layout layouts[] = { /* commands */ static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */ -static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", bg_color, "-nf", text_color, "-sb", col_cyan, "-sf", col_gray4, "-l", "8", NULL }; +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", bg_color, "-nf", text_color, "-sb", col_cyan, "-sf", col_gray4, "-p", "Run:", "-i", NULL }; static const char *termcmd[] = { "urxvt", NULL }; From 1dac92ea4c58393273f1c7a3875cb34e1f9583d5 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Thu, 7 Jan 2021 02:12:37 +0100 Subject: [PATCH 3/5] Discord floating --- src/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.h b/src/config.h index 1f4f0f5..26b5963 100644 --- a/src/config.h +++ b/src/config.h @@ -50,6 +50,7 @@ static const Rule rules[] = { /* class instance title tags mask isfloating monitor */ { "Gimp", NULL, NULL, 0, 1, -1 }, { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, + { "discord", NULL, NULL, 0, 1, -1 }, }; /* layout(s) */ From 153514de087b48f415264f10eeba2b60dfcbe9df Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Thu, 7 Jan 2021 02:14:23 +0100 Subject: [PATCH 4/5] Steam floating --- src/config.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/config.h b/src/config.h index 26b5963..c27f3f3 100644 --- a/src/config.h +++ b/src/config.h @@ -51,6 +51,7 @@ static const Rule rules[] = { { "Gimp", NULL, NULL, 0, 1, -1 }, { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, { "discord", NULL, NULL, 0, 1, -1 }, + { "Steam", NULL, NULL, 0, 1, -1 }, }; /* layout(s) */ From ac79b6b8ab1f73ce330fbd610ad01beaf9ea6731 Mon Sep 17 00:00:00 2001 From: "E. Almqvist" Date: Thu, 7 Jan 2021 02:16:45 +0100 Subject: [PATCH 5/5] Readme update --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 7ceb515..dc792e6 100644 --- a/README.md +++ b/README.md @@ -9,16 +9,16 @@ This is my version of dwm with applied patches. Feel free to use it but I recomm ## Features (patches) - **[anybar](https://dwm.suckless.org/patches/anybar/)** - Use any bar. Polybar is default here. + Use any bar. Polybar is default here. ( USING DMENU ) - **[IPC](https://dwm.suckless.org/patches/ipc/)** Allows for inter-process communication via a socket. - + - **[fullgaps](https://dwm.suckless.org/patches/fullgaps/)** Gaps between windows in tiled mode. - + - **[actualfullscreen](https://dwm.suckless.org/patches/actualfullscreen/)** Fullscreen windows with Super + Shift + f - + - **spawncenter** Windows spawn in the center of the screen in floating mode.