dwm

my build of dwm
git clone git://git.ckyln.com/~cem/dwm.git
Log | Files | Refs | README | LICENSE

commit b291af4b6ec86f8748eec1dabf328e7294c446ce
parent a37381bcbbf044e1fffbff20a870e6fd7df21ba9
Author: Cem Keylan <cem@ckyln.com>
Date:   Thu, 24 Oct 2019 12:48:13 +0300

spawn editor

Diffstat:
Mconfig.h | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/config.h b/config.h @@ -93,6 +93,7 @@ static const char *reboot[] = { "yousurereb", NULL }; static const char *suspend[] = { "systemctl", "suspend", NULL }; static const char *brup[] = { "xbacklight", "-inc", "10", NULL }; static const char *brdown[] = { "xbacklight", "-dec", "10", NULL }; +static const char *editor[] = { "st", "zsh", "-c", "$EDITOR", NULL }; static const char *music[] = { "st", "-t", "Music", "zsh", "-c", "ncmpcpp", NULL }; static const char *mail[] = { "st", "-t", "Mail", "zsh", "-c", "neomutt", NULL }; static const char *fm[] = { "st", "zsh", "-c", "lf", NULL}; @@ -121,6 +122,7 @@ static Key keys[] = { { MODKEY, XK_o, spawn, {.v = browcmd } }, { MODKEY, XK_p, spawn, {.v = surfcmd } }, { MODKEY, XK_d, spawn, {.v = rofiapp } }, + { MODKEY|ControlMask, XK_e, spawn, {.v = editor } }, { MODKEY|ShiftMask, XK_n, spawn, {.v = newsboat } }, { WINKEY|ShiftMask, XK_m, spawn, {.v = dmenumount } }, { WINKEY|ShiftMask, XK_u, spawn, {.v = dmenuumount } },