Use static colors and change the tags names 😊
This commit is contained in:
parent
2652d5f977
commit
95139f7f17
2 changed files with 16 additions and 15 deletions
22
src/colors.h
22
src/colors.h
|
@ -1,29 +1,29 @@
|
||||||
#ifndef colors_H
|
#ifndef colors_H
|
||||||
#define colors_H
|
#define colors_H
|
||||||
|
|
||||||
#define wal "/home/anas/.cache/wal/colors-wal-dwm.h"
|
// #define wal "/home/anas/.cache/wal/colors-wal-dwm.h"
|
||||||
|
|
||||||
#if __has_include(wal)
|
// #if __has_include(wal)
|
||||||
#include wal
|
// #include wal
|
||||||
#else
|
// #else
|
||||||
static const char norm_fg[] = "#e4ded4";
|
static const char norm_fg[] = "#e4ded4";
|
||||||
static const char norm_bg[] = "#071F33";
|
static const char norm_bg[] = "#191b1f";
|
||||||
static const char norm_border[] = "#9f9b94";
|
static const char norm_border[] = "#282c34";
|
||||||
|
|
||||||
static const char sel_fg[] = "#e4ded4";
|
static const char sel_fg[] = "#e4ded4";
|
||||||
static const char sel_bg[] = "#3484C8";
|
static const char sel_bg[] = "#3f2124";
|
||||||
static const char sel_border[] = "#e4ded4";
|
static const char sel_border[] = "#e4ded4";
|
||||||
|
|
||||||
static const char urg_fg[] = "#e4ded4";
|
static const char urg_fg[] = "#e4ded4";
|
||||||
static const char urg_bg[] = "#4F86B6";
|
static const char urg_bg[] = "#313036";
|
||||||
static const char urg_border[] = "#4F86B6";
|
static const char urg_border[] = "#312e36";
|
||||||
|
|
||||||
static const char *colors[][3] = {
|
static const char *colors[][3] = {
|
||||||
/* fg bg border */
|
/* fg bg border */
|
||||||
[SchemeNorm] = { norm_fg, norm_bg, norm_border }, // unfocused wins
|
[SchemeNorm] = { norm_fg, norm_bg, norm_border }, // unfocused wins
|
||||||
[SchemeSel] = { sel_fg, sel_bg, sel_border }, // the focused win
|
[SchemeSel] = { sel_fg, sel_bg, sel_border }, // the focused win
|
||||||
[schemeurg] = { urg_fg, urg_bg, urg_border },
|
[SchemeUrg] = { urg_fg, urg_bg, urg_border },
|
||||||
};
|
};
|
||||||
#endif
|
// #endif
|
||||||
|
|
||||||
#endif // !colors.h
|
#endif // !colors.h
|
||||||
|
|
|
@ -16,9 +16,9 @@ static const unsigned int systrayspacing = 2; /* systray spacing */
|
||||||
static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/
|
static const int systraypinningfailfirst = 1; /* 1: if pinning fails, display systray on the first monitor, False: display systray on the last monitor*/
|
||||||
static const int showsystray = 1; /* 0 means no systray */
|
static const int showsystray = 1; /* 0 means no systray */
|
||||||
static const int showbar = 1; /* 0 means no bar */
|
static const int showbar = 1; /* 0 means no bar */
|
||||||
static const int topbar = 1; /* 0 means bottom bar */
|
static const int topbar = 0; /* 0 means bottom bar */
|
||||||
static const char *fonts[] = { "monospace:size=11", "Noto Color Emoji:size=11", "Nerd Font Mono:weight=bold:size=15:antialias=true:hinting=true" };
|
static const char *fonts[] = { "monospace:size=7", "Noto Color Emoji:size=8", "Nerd Font Mono:size=16:antialias=true:hinting=true" };
|
||||||
static const char dmenufont[] = "monospace:size=11";
|
static const char dmenufont[] = "monospace:size=8";
|
||||||
|
|
||||||
#include "colors.h"
|
#include "colors.h"
|
||||||
|
|
||||||
|
@ -39,7 +39,8 @@ static const char *const autostart[] = {
|
||||||
|
|
||||||
/* tagging */
|
/* tagging */
|
||||||
// static const char *tags[] = { "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX" };
|
// static const char *tags[] = { "I", "II", "III", "IV", "V", "VI", "VII", "VIII", "IX" };
|
||||||
static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
|
// static const char *tags[] = { "", "", "", "", "", "", "", "", "" };
|
||||||
|
static const char *tags[] = { "www", "dev", "sys", "chat", "img", "vid", "mus", "vbox", "gfx", ";" };
|
||||||
|
|
||||||
static const Rule rules[] = {
|
static const Rule rules[] = {
|
||||||
/* xprop(1):
|
/* xprop(1):
|
||||||
|
|
Loading…
Reference in a new issue