dwm

[fork] dynamic window manager
Log | Files | Refs | README | LICENSE

commit cd02e64887590ebc10ef31aa99909d1d7be27e19
parent 2cc54d13e48132652bf28ed6a4c549af0c78d54a
Author: Hayden Hamilton <hayden@haydenvh.com>
Date:   Wed, 26 Feb 2020 20:40:53 +0000

new functions for rfeh

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

diff --git a/config.h b/config.h @@ -60,6 +60,8 @@ static const char *termcmd[] = { "st", NULL }; static const char *vimbcmd[] = { "tabbed", "-c", "vimb", "-e", NULL }; static const char *dmpvurlcmd[] = { "dmpvurl", "/tmp/mpv-socket", "/tmp/mpv-socket2", NULL }; static const char *rfeh_[] = { "rfeh", ".wallpapers/", NULL }; +static const char *rfeh_left[] = { "rfeh", ".wallpapers/", "auto", "left", NULL }; +static const char *rfeh_left[] = { "rfeh", ".wallpapers/", "auto", "right", NULL }; static const char *wallblur_[] = { "wallblur", NULL }; static const char *fehffile_[] = { "fehffile", ".cache/rfeh/prev", NULL }; static const char *rmpv_m[] = { "rmpv", "music/", "50", NULL }; @@ -78,6 +80,7 @@ static const char *dpass_[] = { "dpass", NULL }; static const char *slock_mod[] = { "st", "-e", "slock_mod", "/tmp/mpv-socket", "/tmp/mpv-socket2", NULL }; static const char *cmon_[] = { "cmon", NULL }; static const char *maim_[] = { "main", ">", "tmp.png", NULL }; +static const char *tmux_[] = { "st", "-e", "tmux", NULL }; static Key keys[] = { /* modifier key function argument */ @@ -90,6 +93,7 @@ static Key keys[] = { { MODKEY|ShiftMask, XK_b, spawn, {.v = dmpvurlcmd } }, { MODKEY, XK_c, spawn, {.v = slock_mod } }, { MODKEY, XK_d, spawn, {.v = dmenucmd } }, + { MODKEY, XK_e, spawn, {.v = rfeh_right } }, { MODKEY, XK_h, setmfact, {.f = -0.05} }, { MODKEY, XK_i, incnmaster, {.i = +1 } }, { MODKEY, XK_j, focusstack, {.i = +1 } }, @@ -99,6 +103,7 @@ static Key keys[] = { { MODKEY, XK_p, incnmaster, {.i = -1 } }, { MODKEY, XK_q, killclient, {0} }, { MODKEY|ShiftMask, XK_q, quit, {0} }, + { MODKEY|ControlMask, XK_q, spawn, {.v = rfeh_left } }, { MODKEY|ShiftMask, XK_r, self_restart, {0} }, { MODKEY, XK_s, spawn, {.v = dpass_ } }, { MODKEY|ShiftMask, XK_s, spawn, {.v = maim_ } },