summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorJoe <rbo@gmx.us>2025-02-28 21:32:59 +0100
committerJoe <rbo@gmx.us>2025-02-28 21:32:59 +0100
commit3907db06dd2648cb37b297bde5e97d19f1e99f76 (patch)
treec08db34a8843b89c0cb1916a0538ce37d2b86004 /config.def.h
parentswallowd (diff)
downloaddwl-3907db06dd2648cb37b297bde5e97d19f1e99f76.tar.gz
dwl-3907db06dd2648cb37b297bde5e97d19f1e99f76.tar.bz2
dwl-3907db06dd2648cb37b297bde5e97d19f1e99f76.tar.xz
dwl-3907db06dd2648cb37b297bde5e97d19f1e99f76.tar.zst
dwl-3907db06dd2648cb37b297bde5e97d19f1e99f76.zip
underlined
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/config.def.h b/config.def.h
index 1c875f6..fad8785 100644
--- a/config.def.h
+++ b/config.def.h
@@ -35,6 +35,11 @@ static char *tags[] = {
"  "
};
+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 */
+
/* logging */
static int log_level = WLR_ERROR;
@@ -134,10 +139,10 @@ static const enum libinput_config_tap_button_map button_map = LIBINPUT_CONFIG_TA
#define METAKEY WLR_MODIFIER_ALT
#define TAGKEYS(KEY,SKEY,TAG) \
- { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
- { MODKEY|WLR_MODIFIER_CTRL, KEY, toggleview, {.ui = 1 << TAG} }, \
- { MODKEY|WLR_MODIFIER_SHIFT, SKEY, tag, {.ui = 1 << TAG} }, \
- { MODKEY|WLR_MODIFIER_CTRL|WLR_MODIFIER_SHIFT,SKEY,toggletag, {.ui = 1 << TAG} }
+ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \
+ { MODKEY|WLR_MODIFIER_ALT|WLR_MODIFIER_CTRL, KEY, toggleview, {.ui = 1 << TAG} }, \
+ { MODKEY|WLR_MODIFIER_SHIFT, SKEY, tag, {.ui = 1 << TAG} }, \
+ { MODKEY|WLR_MODIFIER_ALT, KEY, toggletag, {.ui = 1 << TAG} }
/* helper for spawning shell commands in the pre dwm-5.0 fashion */
#define SHCMD(cmd) { .v = (const char*[]){ "/bin/sh", "-c", cmd, NULL } }