summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfilip <“filip.rabiega@gmail.com”>2026-02-14 12:18:53 +0100
committerfilip <“filip.rabiega@gmail.com”>2026-02-14 12:18:53 +0100
commit219f331a080b51e46dfe31bcafbeceda5001a9f6 (patch)
tree04ba15d0c3f637205a75367998cc1f1f2a2677cf
parent9e8e7b2cab5fee16e2d9472a2c6791b99a82662f (diff)
downloadchaddwm-my_dwm.tar.gz
chaddwm-my_dwm.tar.bz2
chaddwm-my_dwm.zip
add a binding to open dpassmy_dwm
-rw-r--r--config.def.h2
-rw-r--r--config.h2
2 files changed, 4 insertions, 0 deletions
diff --git a/config.def.h b/config.def.h
index 954f88e..a529b31 100644
--- a/config.def.h
+++ b/config.def.h
@@ -84,6 +84,7 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", d
static const char *maimcmd[] = { "maimpick", NULL };
static const char *mansplaincmd[] = { "mansplain", NULL };
static const char *notesplaincmd[] = { "notesplain", NULL };
+static const char *dpasscmd[] = { "dpass", NULL };
static const char *slpcmd[] = { "slp", NULL };
static const char *termcmd[] = { "tabbed", "-c", "-r", "2", "st", "-w", "''", "-e", "/usr/bin/zsh", NULL };
static const char *viacmd[] = { "via", NULL };
@@ -96,6 +97,7 @@ static const Key keys[] = {
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = maimcmd } },
{ MODKEY, XK_s, spawn, {.v = slpcmd } },
+ { MODKEY, XK_p, spawn, {.v = dpasscmd } },
{ MODKEY, XK_u, spawndefault, {0} },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },
diff --git a/config.h b/config.h
index 954f88e..a529b31 100644
--- a/config.h
+++ b/config.h
@@ -84,6 +84,7 @@ static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", d
static const char *maimcmd[] = { "maimpick", NULL };
static const char *mansplaincmd[] = { "mansplain", NULL };
static const char *notesplaincmd[] = { "notesplain", NULL };
+static const char *dpasscmd[] = { "dpass", NULL };
static const char *slpcmd[] = { "slp", NULL };
static const char *termcmd[] = { "tabbed", "-c", "-r", "2", "st", "-w", "''", "-e", "/usr/bin/zsh", NULL };
static const char *viacmd[] = { "via", NULL };
@@ -96,6 +97,7 @@ static const Key keys[] = {
{ MODKEY, XK_Return, spawn, {.v = termcmd } },
{ MODKEY|ShiftMask, XK_s, spawn, {.v = maimcmd } },
{ MODKEY, XK_s, spawn, {.v = slpcmd } },
+ { MODKEY, XK_p, spawn, {.v = dpasscmd } },
{ MODKEY, XK_u, spawndefault, {0} },
{ MODKEY, XK_b, togglebar, {0} },
{ MODKEY, XK_j, focusstack, {.i = +1 } },