aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2022-04-11 21:56:36 +0200
committerJozanLeClerc <bousset.rudy@gmail.com>2022-04-11 21:56:36 +0200
commite1a3eea95eede5d01310bc4c63901615e10630e6 (patch)
treeea7bedff7d71479247a4814c40283c28ca0f9452
parentKeybound new script (diff)
downloaddwm-e1a3eea95eede5d01310bc4c63901615e10630e6.tar.gz
dwm-e1a3eea95eede5d01310bc4c63901615e10630e6.tar.bz2
dwm-e1a3eea95eede5d01310bc4c63901615e10630e6.tar.xz
dwm-e1a3eea95eede5d01310bc4c63901615e10630e6.tar.zst
dwm-e1a3eea95eede5d01310bc4c63901615e10630e6.zip
Keybound ndate
-rw-r--r--config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h b/config.h
index 69157f7..8378285 100644
--- a/config.h
+++ b/config.h
@@ -83,6 +83,7 @@ static const char *dmkillcmd[] = { "/home/jozan/.local/bin/dmkill", NULL };
static const char *dmsearchcmd[] = { "/home/jozan/.local/bin/dmsearch", NULL };
static const char *dmscrotcmd[] = { "/home/jozan/.local/bin/dmscrot", NULL };
static const char *dmlogcmd[] = { "/home/jozan/.local/bin/dmlog", NULL };
+static const char *ndatecmd[] = { "/home/jozan/.local/bin/ndate", NULL };
static const char *filecmd[] = { "/usr/local/bin/st", "-e", "/usr/local/bin/zsh", "-ic", "/usr/local/bin/lf", NULL };
static const char *editcmd[] = { "/usr/local/bin/emacsclient", "-c", NULL };
static const char *browsercmd[] = { "/usr/local/bin/firefox", "--kiosk", "https://start.duckduckgo.com/", NULL };
@@ -138,7 +139,9 @@ static Key keys[] = {
{ MODKEY|ControlMask, XK_F10, spawn, {.v = dmscrotcmd } },
{ MODKEY|ControlMask, XK_F11, spawn, {.v = dmsearchcmd } },
{ MODKEY|ControlMask, XK_F12, spawn, {.v = dmlogcmd } },
+ { MODKEY|ControlMask, XK_BackSpace, spawn, {.v = dmlogcmd } },
{ MODKEY, XK_BackSpace, spawn, {.v = dmpccmd } },
+ { MODKEY, XK_End, spawn, {.v = ndatecmd } },
{ 0, XF86XK_MonBrightnessUp, spawn, {.v = blinccmd } },
{ 0, XF86XK_MonBrightnessDown, spawn, {.v = bldeccmd } },
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = volinccmd } },