add gdu scratchpad
ci/woodpecker/tag/woodpecker Pipeline was successful
Details
ci/woodpecker/tag/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
e99e6731f5
commit
2727ce50c7
4
config.h
4
config.h
|
@ -145,6 +145,7 @@ static const char *const autostart[] = {
|
|||
static const char *spterm[] = { "t", TERM, "-n", "spterm", TERM_FLAG_EXEC, "tmux", NULL };
|
||||
static const char *spfile[] = { "f", TERM, "-n", "spfile", TERM_FLAG_EXEC, "lfX", NULL };
|
||||
static const char *spproc[] = { "p", TERM, "-n", "spproc", TERM_FLAG_EXEC, "btm", NULL };
|
||||
static const char *spdisk[] = { "d", TERM, "-n", "spdisk", TERM_FLAG_EXEC, "gdu", NULL };
|
||||
static const char *spvolm[] = { "v", TERM, "-n", "spvolm", TERM_FLAG_EXEC, "ncpamixer", NULL };
|
||||
static const char *sphelp[] = { "h", TERM, "-n", "sphelp", TERM_FLAG_EXEC, "/bin/sh", "-c", "glow -p -s $XDG_CONFIG_HOME/glow/style.json /usr/share/dwm/dwm.md", NULL };
|
||||
static const char *spinet[] = { "i", TERM, "-n", "spinet", TERM_FLAG_EXEC, "nmtui", NULL };
|
||||
|
@ -176,6 +177,7 @@ static const Rule rules[] = {
|
|||
RULE(.instance = "spcalc", .scratchkey = 'c', .isfloating = 1, .iscentered = 1, .floatpos = "50% 50% 40% 80%")
|
||||
RULE(.instance = "spterm", .scratchkey = 't', .isfloating = 1, .iscentered = 1, .floatpos = "50% 50% 80% 80%")
|
||||
RULE(.instance = "spfile", .scratchkey = 'f', .isfloating = 1, .iscentered = 1, .floatpos = "50% 50% 80% 80%")
|
||||
RULE(.instance = "spdisk", .scratchkey = 'd', .isfloating = 1, .iscentered = 1, .floatpos = "50% 50% 80% 80%")
|
||||
RULE(.instance = "spproc", .scratchkey = 'p', .isfloating = 1, .iscentered = 1, .floatpos = "50% 50% 80% 80%")
|
||||
RULE(.instance = "spwiki", .scratchkey = 'w', .isfloating = 1, .iscentered = 1, .floatpos = "50% 50% 80% 80%")
|
||||
RULE(.instance = "spvolm", .scratchkey = 'v', .isfloating = 1, .floatpos = "100% 100% 900W 600H")
|
||||
|
@ -361,7 +363,7 @@ static const Key keys[] = {
|
|||
// { MODKEY | ShiftMask, XK_w, spawn, {.v = (const char *[]){NULL}} },
|
||||
{ MODKEY, XK_v, togglescratch, {.v = spcalc} },
|
||||
// { MODKEY | ShiftMask, XK_v, spawn, {.v = (const char *[]){NULL}} },
|
||||
// { MODKEY, XK_z, spawn, {.v = (const char *[]){NULL}} },
|
||||
{ MODKEY, XK_z, togglescratch, {.v = spdisk} },
|
||||
// { MODKEY | ShiftMask, XK_z, spawn, {.v = (const char *[]){NULL}} },
|
||||
{ MODKEY, XK_space, spawn, {.v = termcmd} },
|
||||
{ MODKEY | ShiftMask, XK_space, togglescratch, {.v = spterm} },
|
||||
|
|
Loading…
Reference in New Issue