diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2022-03-26 15:33:18 -0400 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2022-03-26 15:33:18 -0400 |
commit | a22d44f15f66e173ef97e0a573ea03e096dcb2ad (patch) | |
tree | b0398d8e46e64d03019ba6008a43242e5f7c9b66 | |
parent | d7cbbc86715133914cbdb0a696c0c7ec9f474d8e (diff) |
Color and icon preferences
-rw-r--r-- | config.def.h | 53 |
1 files changed, 28 insertions, 25 deletions
diff --git a/config.def.h b/config.def.h index 1a422ac..391aea2 100644 --- a/config.def.h +++ b/config.def.h @@ -1,24 +1,26 @@ /* See LICENSE file for copyright and license details. */ /* appearance */ -static const unsigned int borderpx = 1; /* border pixel of windows */ -static const unsigned int gappx = 5; /* gaps between 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 */ -static const int user_bh = 0; /* 0 means that dwm will calculate bar height, >= 1 means dwm will user_bh as bar height */ -static const char *fonts[] = { "monospace:size=10" }; -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 unsigned int baralpha = 0xd0; +static const unsigned int borderpx = 1; /* border pixel of windows */ +static const unsigned int gappx = 5; /* gaps between 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 */ +static const int user_bh = 0; /* 0 means that dwm will calculate bar height, >= 1 means dwm will user_bh as bar height */ +static const char *fonts[] = { "monospace:size=22" }; +static const char norm_fg[] = "#447a6c"; +static const char norm_bg[] = "#1b1d1b"; +static const char sel_fg[] = "#1b1d1b"; +static const char sel_bg[] = "#7d4b23"; +static const char norm_border[] = "#c0ffee"; +static const char sel_border[] = "#bada55"; +static const unsigned int baralpha = 0xd0; static const unsigned int borderalpha = OPAQUE; + static const char *colors[][3] = { - /* fg bg border */ - [SchemeNorm] = { col_gray3, col_gray1, col_gray2 }, - [SchemeSel] = { col_gray4, col_cyan, col_cyan }, + /* fg bg border */ + [SchemeNorm] = { norm_fg, norm_bg, norm_border }, + [SchemeSel] = { sel_fg, sel_bg, sel_border }, }; static const unsigned int alphas[][3] = { /* fg bg border */ @@ -36,7 +38,8 @@ static const Rule rules[] = { */ /* class instance title tags mask isfloating monitor */ { "Gimp", NULL, NULL, 0, 1, -1 }, - { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, + { "dropdown", NULL, NULL, 0, 1, -1 }, + /* { "Firefox", NULL, NULL, 1 << 8, 0, -1 }, */ }; /* layout(s) */ @@ -52,14 +55,14 @@ static const int lpm[] = { static const Layout layouts[] = { /* symbol arrange function */ - { "[]=", tile }, /* first entry is default */ - { "><>", NULL }, /* no layout function means floating behavior */ - { "[M]", monocle }, - { "TTT", bstack }, - { "===", bstackhoriz }, - { "|M|", centeredmaster }, - { ">M>", centeredfloatingmaster }, - { "[+]", gaplessgrid }, + { " []= ", tile }, /* first entry is default */ + { " ", NULL }, /* no layout function means floating behavior */ + { " <o> ", monocle }, + { " |H| ", bstack }, + { " |v| ", bstackhoriz }, + { " |_| ", centeredmaster }, + { " |=| ", centeredfloatingmaster }, + { " [+] ", gaplessgrid }, }; /* key definitions */ |