add elia scratchpad
Update void-packages template / Update xbps-src template (push) Successful in 2m16s Details

This commit is contained in:
Luca Bilke 2024-11-12 13:22:09 +01:00
parent 5abd82e79c
commit 7adadaf491
No known key found for this signature in database
GPG Key ID: C9E851809C1A5BDE
1 changed files with 4 additions and 2 deletions

View File

@ -121,6 +121,7 @@ static const char *const autostart[] = {
static const char *spterm[] = { "t", TERM, TERM_FLAG_CLASS, "spterm", NULL };
static const char *spfile[] = { "f", TERM, TERM_FLAG_CLASS, "spfile", TERM_FLAG_EXEC, "lfX", NULL };
static const char *spchat[] = { "a", TERM, TERM_FLAG_CLASS, "spchat", TERM_FLAG_EXEC, "elia", NULL };
static const char *spproc[] = { "p", TERM, TERM_FLAG_CLASS, "spproc", TERM_FLAG_EXEC, "btm", NULL };
static const char *spdisk[] = { "d", TERM, TERM_FLAG_CLASS, "spdisk", TERM_FLAG_EXEC, "dua", "i", "/", NULL };
static const char *spvolm[] = { "v", TERM, TERM_FLAG_CLASS, "spvolm", TERM_FLAG_EXEC, "ncpamixer", NULL };
@ -153,6 +154,7 @@ static const Rule rules[] = {
RULE(.class = "sptask", .scratchkey = 's', .isfloating = 1, .iscentered = 1, .floatpos = "50% 50% 50% 90%")
RULE(.class = "spterm", .scratchkey = 't', .isfloating = 1, .iscentered = 1, .floatpos = "50% 50% 90% 90%")
RULE(.class = "spfile", .scratchkey = 'f', .isfloating = 1, .iscentered = 1, .floatpos = "50% 50% 90% 90%")
RULE(.class = "spchat", .scratchkey = 'a', .isfloating = 1, .iscentered = 1, .floatpos = "50% 50% 90% 90%")
RULE(.class = "spdisk", .scratchkey = 'd', .isfloating = 1, .iscentered = 1, .floatpos = "50% 50% 90% 90%")
RULE(.class = "spproc", .scratchkey = 'p', .isfloating = 1, .iscentered = 1, .floatpos = "50% 50% 90% 90%")
RULE(.class = "spnetu", .scratchkey = 'u', .isfloating = 1, .iscentered = 1, .floatpos = "50% 50% 90% 90%")
@ -274,12 +276,12 @@ static const Key keys[] = {
// { MODKEY | ShiftMask, XK_slash, spawn, {.v = (const char *[]){NULL}} },
// { MODKEY, XK_equal, spawn, {.v = (const char *[]){NULL}} },
// { MODKEY | ShiftMask, XK_equal, spawn, {.v = (const char *[]){NULL}} },
{ MODKEY, XK_a, togglescratch, {.v = spdisk} },
{ MODKEY, XK_a, togglescratch, {.v = spchat} },
// { MODKEY | ShiftMask, XK_a, spawn, {.v = (const char *[]){NULL}} },
{ MODKEY, XK_o, togglescratch, {.v = spproc} },
{ MODKEY | ShiftMask, XK_o, togglescratch, {.v = spnetu} },
{ MODKEY, XK_e, togglescratch, {.v = spfile} },
// { MODKEY | ShiftMask, XK_e, spawn, {.v = (const char *[]){NULL}} },
{ MODKEY | ShiftMask, XK_e, togglescratch, {.v = spdisk} },
{ MODKEY, XK_u, spawn, {.v = (const char *[]){"dmenu_run", NULL}} },
// { MODKEY | ShiftMask, XK_u, spawn, {.v = (const char *[]){NULL}} },
{ MODKEY, XK_i, spawn, {.v = (const char *[]){"dunstctl", "close", NULL}} },