diff options
| author | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-01 22:27:22 +0900 |
|---|---|---|
| committer | TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> | 2025-01-01 22:27:22 +0900 |
| commit | 6ccbbe8e60544d801bfb825b9f1dfb96fd445a2a (patch) | |
| tree | 58554aeecb84d898cb6a0d94323b3c2a8f8c4c93 /dwm/config.h | |
| parent | b015328bd59766c8febbab81c1f2f5a16cefa8f4 (diff) | |
modified Makefile, modified config.h, modified dwm.c
Diffstat (limited to 'dwm/config.h')
| -rw-r--r-- | dwm/config.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dwm/config.h b/dwm/config.h index 3098b92..d15cad5 100644 --- a/dwm/config.h +++ b/dwm/config.h @@ -23,6 +23,11 @@ static const int allowkill = 1; /* allow killing clients by static const int vertpad = PADDING; /* vertical padding of bar */ static const int sidepad = PADDING; /* horizontal padding of bar */ static const char *barlayout = "tln|s"; /* t: tag, l: layout, n: name, s: status */ +static const unsigned int ulinepad = 5; /* horizontal padding between the underline and tag */ +static const unsigned int ulinestroke = 2; /* thickness / height of the underline */ +static const unsigned int ulinevoffset = 0; /* how far above the bottom of the bar the line should appear */ +static const int ulineall = 0; /* 1 to show underline on all tags, 0 for just the active ones */ + static char *fonts[] = { "monospace:size=10", "NotoColorEmoji:pixelsize=10:antialias=true:autohint=true" }; @@ -162,6 +167,7 @@ static const Layout layouts[] = { // normbgcolor, "-nf", normfgcolor, "-sb", // selbordercolor, "-sf", selfgcolor, NULL }; static const char *termcmd[] = { TERMINAL, NULL }; +static const char *layoutmenu_cmd = "layoutmenu"; /* Xresources preferences to load at startup */ ResourcePref resources[] = { @@ -258,6 +264,8 @@ static const Key keys[] = { { MODKEY2 | ControlMask, XK_period, exresize, { .v = (int []){ 25, 25 } } }, // LAYOUT SIZES + { MODKEY | ShiftMask, XK_h, layoutscroll, { .i = -1 } }, + { MODKEY | ShiftMask, XK_l, layoutscroll, { .i = +1 } }, { MODKEY | ShiftMask, XK_n, incnmaster, { .i = -1 } }, { MODKEY | ControlMask, XK_n, incnmaster, { .i = +1 } }, { MODKEY, XK_f, togglefullscr, {0} }, @@ -565,6 +573,7 @@ static const Button buttons[] = { { ClkClientWin, MODKEY | ShiftMask, Button3, gesture, {0} }, { ClkClientWin, MODKEY, Button4, incrgaps, { .i = -1 } }, { ClkClientWin, MODKEY, Button5, incrgaps, { .i = +1 } }, + { ClkLtSymbol, 0, Button3, layoutmenu, {0} }, { ClkTagBar, 0, Button1, view, {0} }, { ClkTagBar, 0, Button2, spawntag, {0} }, { ClkTagBar, 0, Button3, toggleview, {0} }, |
