summarylogtreecommitdiffstats
path: root/dwm-config-6.2.diff
diff options
context:
space:
mode:
authoroakszyjrnrdy2020-09-18 17:47:14 +0800
committeroakszyjrnrdy2020-09-18 17:47:14 +0800
commitdb04d5518d52dabd84d0bd6cf3a0d7fd362dbfb0 (patch)
tree8618a5d7a7199a373838c4c8dd2fa1f06b0d3038 /dwm-config-6.2.diff
parentd2aeec7fdb29981c4e4937087403fc6236daaf58 (diff)
downloadaur-dwm-oakszyjrnrdy.tar.gz
fix: make border clearer and set tag for firefox
Diffstat (limited to 'dwm-config-6.2.diff')
-rw-r--r--dwm-config-6.2.diff26
1 files changed, 19 insertions, 7 deletions
diff --git a/dwm-config-6.2.diff b/dwm-config-6.2.diff
index f13a01fa5aec..b7f401a691bb 100644
--- a/dwm-config-6.2.diff
+++ b/dwm-config-6.2.diff
@@ -1,11 +1,11 @@
---- a/config.def.h 2020-09-10 03:08:40.220047365 +0800
-+++ b/config.def.h 2020-09-10 03:21:30.310052738 +0800
-@@ -1,12 +1,20 @@
+--- a/config.def.h 2020-09-18 17:19:09.346273268 +0800
++++ b/config.def.h 2020-09-18 17:30:18.336279833 +0800
+@@ -1,21 +1,30 @@
/* See LICENSE file for copyright and license details. */
/* appearance */
-static const unsigned int borderpx = 1; /* border pixel of windows */
-+static const unsigned int borderpx = 6; /* border pixel of windows */
++static const unsigned int borderpx = 4; /* border pixel of windows */
static const unsigned int snap = 32; /* snap pixel */
static const int showbar = 1; /* 0 means no bar */
static const int topbar = 1; /* 0 means bottom bar */
@@ -24,18 +24,30 @@
static const char col_gray1[] = "#222222";
static const char col_gray2[] = "#444444";
static const char col_gray3[] = "#bbbbbb";
-@@ -28,7 +36,9 @@
+ static const char col_gray4[] = "#eeeeee";
+ static const char col_cyan[] = "#005577";
++static const char border_color[] = "#e07b39";
+ static const char *colors[][3] = {
+ /* fg bg border */
+ [SchemeNorm] = { col_gray3, col_gray1, col_gray2 },
+- [SchemeSel] = { col_gray4, col_cyan, col_cyan },
++ [SchemeSel] = { col_gray4, col_cyan, border_color },
+ };
+
+ /* tagging */
+@@ -28,7 +37,10 @@
*/
/* class instance title tags mask isfloating monitor */
{ "Gimp", NULL, NULL, 0, 1, -1 },
- { "Firefox", NULL, NULL, 1 << 8, 0, -1 },
++ { "firefox", NULL, NULL, 1 << 1, 0, -1 },
+ { "Nightly", NULL, NULL, 1 << 1, 0, -1 },
+ { "Qemu-system-x86_64", "qemu", NULL, 0, 1, -1 },
+ { "Steam", "Steam", NULL, 1 << 8, 0, -1 },
};
/* layout(s) */
-@@ -44,7 +54,7 @@
+@@ -44,7 +56,7 @@
};
/* key definitions */
@@ -44,7 +56,7 @@
#define TAGKEYS(KEY,TAG) \
{ MODKEY, KEY, view, {.ui = 1 << TAG} }, \
{ MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \
-@@ -57,7 +67,7 @@
+@@ -57,7 +69,7 @@
/* commands */
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };