add: signal-desktop scratchpad
This commit is contained in:
@@ -8,7 +8,7 @@
|
|||||||
* (+ however many Fn keys you have)
|
* (+ however many Fn keys you have)
|
||||||
*
|
*
|
||||||
* taken keys:
|
* taken keys:
|
||||||
* space Return m w, h j k l q ShiftMask|f, comma ShiftMask|comma period ShiftMask|period, ShiftMask|Return f p n ShiftMask|m, [1-9], ShiftMask|e
|
* space Return m w, h j k l q ShiftMask|f, comma ShiftMask|comma period ShiftMask|period, ShiftMask|Return f p n ShiftMask|m s, [1-9], ShiftMask|e
|
||||||
*/
|
*/
|
||||||
static const Key keys[] = {
|
static const Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
@@ -35,6 +35,7 @@ static const Key keys[] = {
|
|||||||
{ MODKEY, XK_p, togglescratch, {.ui = 2 } }, // keepass
|
{ MODKEY, XK_p, togglescratch, {.ui = 2 } }, // keepass
|
||||||
{ MODKEY, XK_n, togglescratch, {.ui = 3 } }, // nmtui
|
{ MODKEY, XK_n, togglescratch, {.ui = 3 } }, // nmtui
|
||||||
{ MODKEY|ShiftMask, XK_m, togglescratch, {.ui = 4 } }, // music
|
{ MODKEY|ShiftMask, XK_m, togglescratch, {.ui = 4 } }, // music
|
||||||
|
{ MODKEY, XK_s, togglescratch, {.ui = 5 } }, // signal
|
||||||
// tag movement
|
// tag movement
|
||||||
TAGKEYS( XK_1, 0)
|
TAGKEYS( XK_1, 0)
|
||||||
TAGKEYS( XK_2, 1)
|
TAGKEYS( XK_2, 1)
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ static const Rule rules[] = {
|
|||||||
{ NULL, "keepassxc", NULL, SPTAG(2), 1, -1 },
|
{ NULL, "keepassxc", NULL, SPTAG(2), 1, -1 },
|
||||||
{ NULL, "spnmtui", NULL, SPTAG(3), 1, -1 },
|
{ NULL, "spnmtui", NULL, SPTAG(3), 1, -1 },
|
||||||
{ NULL, "spmusic", NULL, SPTAG(4), 1, -1 },
|
{ NULL, "spmusic", NULL, SPTAG(4), 1, -1 },
|
||||||
|
{ NULL, "signal", NULL, SPTAG(5), 1, -1 },
|
||||||
{ "firefox", NULL, NULL, 1 << 1, 0, -1 },
|
{ "firefox", NULL, NULL, 1 << 1, 0, -1 },
|
||||||
{ "jetbrains-studio", "jetbrains-studio", NULL, 1 << 0, 0, -1 },
|
{ "jetbrains-studio", "jetbrains-studio", NULL, 1 << 0, 0, -1 },
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -10,6 +10,7 @@ const char *spcmd1[] = {"st", "-n", "spfm", "-g", "144x41", "-e", "lf", NULL };
|
|||||||
const char *spcmd2[] = {"keepassxc", NULL };
|
const char *spcmd2[] = {"keepassxc", NULL };
|
||||||
const char *spcmd3[] = {"st", "-n", "spnmtui", "-g", "140x30", "-e", "nmtui", NULL };
|
const char *spcmd3[] = {"st", "-n", "spnmtui", "-g", "140x30", "-e", "nmtui", NULL };
|
||||||
const char *spcmd4[] = {"st", "-n", "spmusic", "-g", "140x30", "-e", "ncmpcpp", NULL };
|
const char *spcmd4[] = {"st", "-n", "spmusic", "-g", "140x30", "-e", "ncmpcpp", NULL };
|
||||||
|
const char *spcmd5[] = {"signal-desktop", NULL };
|
||||||
|
|
||||||
static Sp scratchpads[] = {
|
static Sp scratchpads[] = {
|
||||||
/* name cmd */
|
/* name cmd */
|
||||||
@@ -18,5 +19,6 @@ static Sp scratchpads[] = {
|
|||||||
{"spkeepassxc", spcmd2},
|
{"spkeepassxc", spcmd2},
|
||||||
{"spnmtui", spcmd3},
|
{"spnmtui", spcmd3},
|
||||||
{"spmusic", spcmd4},
|
{"spmusic", spcmd4},
|
||||||
|
{"spsignal", spcmd5},
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user