diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-05-14 17:53:34 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-05-14 17:53:34 +0900 |
| commit | 3b09d7bdfd7a1d0e7f90b34bcf605f1de18846e9 (patch) | |
| tree | 83d77e71b7d5b955c2b652393ca0ef4378e58e83 | |
| parent | 2dee3394c9c45407c76a31377d35b82ca8968117 (diff) | |
modified dmenu/config.def.h, modified dwm/config.def.h
| -rw-r--r-- | dmenu/config.def.h | 14 | ||||
| -rw-r--r-- | dwm/config.def.h | 6 |
2 files changed, 8 insertions, 12 deletions
diff --git a/dmenu/config.def.h b/dmenu/config.def.h index 5c44fa7..4febf41 100644 --- a/dmenu/config.def.h +++ b/dmenu/config.def.h @@ -1,14 +1,8 @@ /* See LICENSE file for copyright and license details. */ -/* Default settings; can be overriden by command line. */ +/* Default settings; can be overriden by command line. */ #define PADDING 0 -/* - * Characters not considered part of a word while deleting words - * for example: " /?\"&[]" - */ -static const char worddelimiters[] = " "; - static int topbar = 1; /* -b option; if 0, dmenu appears at bottom */ static int fuzzy = 1; /* -F option; if 0, dmenu doesn't use fuzzy matching */ static int dmx = PADDING; /* put dmenu at this x offset */ @@ -18,6 +12,12 @@ static unsigned int dmw = 0; /* make dmenu this wide */ static const char *dynamic = NULL; /* -dy option; dynamic command to run on input change */ static char *prompt = NULL; /* -p option; prompt to the left of input field */ +/* + * Characters not considered part of a word while deleting words + * for example: " /?\"&[]" + */ +static const char worddelimiters[] = " /?\"&[]"; + /* Size of the window border */ static unsigned int border_width = 0; diff --git a/dwm/config.def.h b/dwm/config.def.h index f11d65c..21fadcf 100644 --- a/dwm/config.def.h +++ b/dwm/config.def.h @@ -1,5 +1,6 @@ /* See LICENSE file for copyright and license details. */ +/* Default settings; can be overriden by command line. */ #define BROWSER "firefox" #define BROWSERCLASS "Firefox" #define CLEAR 0x00U @@ -49,7 +50,6 @@ static const char *fonts[] = { font, "NotoColorEmoji:pixelsize=10:antialias=true:autohint=true", }; - static char normbgcolor[] = "#222222"; static char normbordercolor[] = "#444444"; static char normfgcolor[] = "#bbbbbb"; @@ -72,7 +72,6 @@ static char selstatusbgcolor[] = "#222222"; static char selstatusfgcolor[] = "#eeeeee"; static char seltagbgcolor[] = "#005577"; static char seltagfgcolor[] = "#ffffff"; - static char *colors[][5] = { /* fg bg border float mark */ [SchemeNorm] = { normfgcolor, normbgcolor, normbordercolor, normfloatcolor, normmarkcolor }, @@ -97,7 +96,6 @@ static const unsigned int alphas[][5] = { [SchemeInfoNorm] = { OPAQUE, CLEAR, CLEAR, CLEAR, CLEAR }, [SchemeInfoSel] = { OPAQUE, baralpha, borderalpha, floatalpha, markalpha }, }; - static const XPoint stickyicon[] = { {0,0}, {4,0}, {4,8}, {2,6}, {0,8}, {0,0} }; /* represents the icon as an array of vertices */ static const XPoint stickyiconbb = {4,8}; /* defines the bottom right corner of the polygon's bounding box (speeds up scaling) */ @@ -119,12 +117,10 @@ static Sp scratchpads[] = { /* tagging */ static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; - static const char ptagf[] = "%s. %s"; /* format of a tag label */ static const char etagf[] = "%s"; /* format of an empty tag */ static const int taglbl = 0; /* 1 means enable tag label */ static const int lcaselbl = 0; /* 1 means make tag label lowercase */ - static const Rule rules[] = { /* xprop(1): * WM_CLASS(STRING) = instance, class |
