From ab96a63fea69746bdd53c873ec0f3f72cc059ab1 Mon Sep 17 00:00:00 2001 From: cybvik Date: Sun, 3 Jul 2022 02:08:43 +0200 Subject: [PATCH] Add dwm colors --- README.md | 2 ++ window-manager/README.md | 7 +++++++ window-manager/dwm/config.def.h | 17 +++++++++++++++++ 3 files changed, 26 insertions(+) create mode 100644 window-manager/README.md create mode 100644 window-manager/dwm/config.def.h diff --git a/README.md b/README.md index 1813de6..58ddb78 100644 --- a/README.md +++ b/README.md @@ -47,6 +47,8 @@ - [Termite](https://github.com/Roboron3042/Cyberpunk-Neon/tree/master/terminal#termite) - [Tilix](https://github.com/Roboron3042/Cyberpunk-Neon/tree/master/terminal#tilix) - [Other](https://github.com/Roboron3042/Cyberpunk-Neon/tree/master/terminal#other) +- [Window Manager](https://github.com/Roboron3042/Cyberpunk-Neon/tree/master/window-manager#window-manager) + - [dwm](https://github.com/Roboron3042/Cyberpunk-Neon/tree/master/window-manager#dwm) - [License](#license) ## Description diff --git a/window-manager/README.md b/window-manager/README.md new file mode 100644 index 0000000..ef860ca --- /dev/null +++ b/window-manager/README.md @@ -0,0 +1,7 @@ +# Terminal Emulators + +In this folder you will find colorschemes for window managers. + +## dwm + +Replace the color settings in your config.h with the contents of dwm/config.def.h diff --git a/window-manager/dwm/config.def.h b/window-manager/dwm/config.def.h new file mode 100644 index 0000000..7398776 --- /dev/null +++ b/window-manager/dwm/config.def.h @@ -0,0 +1,17 @@ +/* Set colors for dwm */ +static const char norm_fg[] = "#0abdc6"; +static const char norm_bg[] = "#091833"; +static const char norm_border[] = "#091833"; +static const char sel_fg[] = "#ea00d9"; +static const char sel_bg[] = "#091833"; +static const char sel_border[] = "#ea00d9"; +static const char *colors[][3] = { + /* fg bg border */ + [SchemeNorm] = { norm_fg, norm_bg, norm_border }, + [SchemeSel] = { sel_fg, sel_bg, sel_border }, +}; + + + +/* Adjust dmenu command accordingly */ +static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn",dmenufont, "-nb", norm_bg, "-nf", norm_fg, "-sb", sel_bg, "-sf", sel_fg, NULL };