tconfig.h: add binding for weather script - dwm - [fork] customized build of dwm, the dynamic window manager
(HTM) git clone git://src.adamsgaard.dk/dwm
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 29da772c260cea5c643ae532b0ab5c34323c8496
(DIR) parent 8fd32a4dfe7929f68dfd4bb3c37d73053b2daf90
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Thu, 5 Nov 2020 23:03:43 +0100
config.h: add binding for weather script
Diffstat:
M config.h | 2 ++
1 file changed, 2 insertions(+), 0 deletions(-)
---
(DIR) diff --git a/config.h b/config.h
t@@ -117,6 +117,7 @@ static const char *keyboardlayoutcmd[] = {"keyboard-layout-switch.sh", NULL};
static const char *torbrowsercmd[] = {"tor-browser", NULL};
static const char *showcalcmd[] = {"showcalendar", NULL};
static const char *mancmd[] = {"manpick", NULL};
+static const char *weathercmd[] = {"weather", NULL};
static const char *browsercmd[] = {BROWSER, HOME "/doc/bookmark.html", NULL};
static const char *journalcmd[] = TERMCMD("tmux-journal.sh");
t@@ -248,6 +249,7 @@ static Key keys[] = {
{ MODKEY, XK_v, spawn, {.v = videocmd } },
{ MODKEY, XK_w, spawn, {.v = browsercmd } },
{ MODKEY|ShiftMask, XK_w, spawn, {.v = torbrowsercmd } },
+ { MODKEY|ControlMask|ShiftMask, XK_w, spawn, {.v = weathercmd } },
{ MODKEY, XK_z, spawn, {.v = xlockcmd } },
{ MODKEY, XK_0, view, {.ui = ~0 } },