update
This commit is contained in:
parent
3b1a8eae36
commit
052af48bef
|
@ -59,10 +59,14 @@ static const Rule rules[] = {
|
||||||
// ----- 2 -----
|
// ----- 2 -----
|
||||||
{ "Code", NULL, NULL, 1 << 1, 0, -1 },
|
{ "Code", NULL, NULL, 1 << 1, 0, -1 },
|
||||||
// ----- 3 -----
|
// ----- 3 -----
|
||||||
|
{ "thunderbird", NULL, NULL, 1 << 2, 0, -1 },
|
||||||
{ "KeePassXC", NULL, NULL, 1 << 2, 0, -1 },
|
{ "KeePassXC", NULL, NULL, 1 << 2, 0, -1 },
|
||||||
// ----- 4 -----
|
// ----- 4 -----
|
||||||
{ "TelegramDesktop", NULL, NULL, 1 << 3, 0, -1 },
|
{ "TelegramDesktop", NULL, NULL, 1 << 3, 0, -1 },
|
||||||
{ "discord", NULL, NULL, 1 << 3, 0, -1 },
|
{ "discord", NULL, NULL, 1 << 3, 0, -1 },
|
||||||
|
// ----- 5 -----
|
||||||
|
{ "Steam", NULL, NULL, 1 << 4, 0, -1 },
|
||||||
|
{ "steamwebhelper", NULL, NULL, 1 << 4, 0, -1 },
|
||||||
// ----- 7 -----
|
// ----- 7 -----
|
||||||
{ "QjackCtl", NULL, NULL, 1 << 6, 1, -1 },
|
{ "QjackCtl", NULL, NULL, 1 << 6, 1, -1 },
|
||||||
{ "PatchMatrix", NULL, NULL, 1 << 6, 0, -1 },
|
{ "PatchMatrix", NULL, NULL, 1 << 6, 0, -1 },
|
||||||
|
@ -113,12 +117,14 @@ static const char *voldown[] = { "pactl", "set-sink-volume", "0", "-5%", NULL };
|
||||||
static const char *volmute[] = { "pactl", "set-sink-mute", "0", "toggle", NULL };
|
static const char *volmute[] = { "pactl", "set-sink-mute", "0", "toggle", NULL };
|
||||||
|
|
||||||
static const char *backlightup[] = { "s", "set-sink-mute", "0", "toggle", NULL };
|
static const char *backlightup[] = { "s", "set-sink-mute", "0", "toggle", NULL };
|
||||||
|
static const char *lockcmd[] = { "slock", NULL };
|
||||||
|
|
||||||
static const char *dmenucmd[] = { "dmenu_run", "-g", "15", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
|
static const char *dmenucmd[] = { "dmenu_run", "-g", "15", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
|
||||||
static const char *termcmd[] = { "st", NULL };
|
static const char *termcmd[] = { "st", NULL };
|
||||||
|
|
||||||
static const Key keys[] = {
|
static const Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
|
{ 0, XF86XK_ModeLock, spawn, {.v = lockcmd } },
|
||||||
{ 0, XK_Print, spawn, {.v = screenshot } },
|
{ 0, XK_Print, spawn, {.v = screenshot } },
|
||||||
{ ShiftMask, XK_Print, spawn, {.v = screenshotarea } },
|
{ ShiftMask, XK_Print, spawn, {.v = screenshotarea } },
|
||||||
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = volup } },
|
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = volup } },
|
||||||
|
|
5
config.h
5
config.h
|
@ -59,10 +59,13 @@ static const Rule rules[] = {
|
||||||
// ----- 2 -----
|
// ----- 2 -----
|
||||||
{ "Code", NULL, NULL, 1 << 1, 0, -1 },
|
{ "Code", NULL, NULL, 1 << 1, 0, -1 },
|
||||||
// ----- 3 -----
|
// ----- 3 -----
|
||||||
|
{ "thunderbird", NULL, NULL, 1 << 2, 0, -1 },
|
||||||
{ "KeePassXC", NULL, NULL, 1 << 2, 0, -1 },
|
{ "KeePassXC", NULL, NULL, 1 << 2, 0, -1 },
|
||||||
// ----- 4 -----
|
// ----- 4 -----
|
||||||
{ "TelegramDesktop", NULL, NULL, 1 << 3, 0, -1 },
|
{ "TelegramDesktop", NULL, NULL, 1 << 3, 0, -1 },
|
||||||
{ "discord", NULL, NULL, 1 << 3, 0, -1 },
|
{ "discord", NULL, NULL, 1 << 3, 0, -1 },
|
||||||
|
// ----- 5 -----
|
||||||
|
{ "Steam", NULL, NULL, 1 << 4, 0, -1 },
|
||||||
// ----- 7 -----
|
// ----- 7 -----
|
||||||
{ "QjackCtl", NULL, NULL, 1 << 6, 1, -1 },
|
{ "QjackCtl", NULL, NULL, 1 << 6, 1, -1 },
|
||||||
{ "PatchMatrix", NULL, NULL, 1 << 6, 0, -1 },
|
{ "PatchMatrix", NULL, NULL, 1 << 6, 0, -1 },
|
||||||
|
@ -113,12 +116,14 @@ static const char *voldown[] = { "pactl", "set-sink-volume", "0", "-5%", NULL };
|
||||||
static const char *volmute[] = { "pactl", "set-sink-mute", "0", "toggle", NULL };
|
static const char *volmute[] = { "pactl", "set-sink-mute", "0", "toggle", NULL };
|
||||||
|
|
||||||
static const char *backlightup[] = { "s", "set-sink-mute", "0", "toggle", NULL };
|
static const char *backlightup[] = { "s", "set-sink-mute", "0", "toggle", NULL };
|
||||||
|
static const char *lockcmd[] = { "slock", NULL };
|
||||||
|
|
||||||
static const char *dmenucmd[] = { "dmenu_run", "-g", "15", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
|
static const char *dmenucmd[] = { "dmenu_run", "-g", "15", "-fn", dmenufont, "-nb", normbgcolor, "-nf", normfgcolor, "-sb", selbordercolor, "-sf", selfgcolor, NULL };
|
||||||
static const char *termcmd[] = { "st", NULL };
|
static const char *termcmd[] = { "st", NULL };
|
||||||
|
|
||||||
static const Key keys[] = {
|
static const Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
|
{ 0, XF86XK_ModeLock, spawn, {.v = lockcmd } },
|
||||||
{ 0, XK_Print, spawn, {.v = screenshot } },
|
{ 0, XK_Print, spawn, {.v = screenshot } },
|
||||||
{ ShiftMask, XK_Print, spawn, {.v = screenshotarea } },
|
{ ShiftMask, XK_Print, spawn, {.v = screenshotarea } },
|
||||||
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = volup } },
|
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = volup } },
|
||||||
|
|
Loading…
Reference in New Issue