added whitespace for nicer reading and modified screenshot keybinds
This commit is contained in:
parent
83e4244a42
commit
333c45ef80
24
config.def.h
24
config.def.h
|
@ -76,14 +76,14 @@ static const Layout layouts[] = {
|
||||||
|
|
||||||
/* commands */
|
/* commands */
|
||||||
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
static char dmenumon[2] = "0"; /* component of dmenucmd, manipulated in spawn() */
|
||||||
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
|
static const char *dmenucmd[] = { "dmenu_run", "-m", dmenumon, "-fn", dmenufont, "-nb", col_gray1, "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL };
|
||||||
static const char *termcmd[] = { "st", NULL };
|
static const char *termcmd[] = { "st", NULL };
|
||||||
/* alsa volume control */
|
/* alsa volume control */
|
||||||
static const char *alsacmd[] = { "st", "-c", "floatalsamxr", "-e", "alsamixer", NULL };
|
static const char *alsacmd[] = { "st", "-c", "floatalsamxr", "-e", "alsamixer", NULL };
|
||||||
static const char *upvol[] = { "amixer", "set", "Master", "2+", NULL };
|
static const char *upvol[] = { "amixer", "set", "Master", "2+", NULL };
|
||||||
static const char *downvol[] = { "amixer", "set", "Master", "2-", NULL };
|
static const char *downvol[] = { "amixer", "set", "Master", "2-", NULL };
|
||||||
/* alsa muting/unmuting */
|
/* alsa muting/unmuting */
|
||||||
static const char *mute[] = { "amixer", "-q", "set", "Master", "toggle", NULL };
|
static const char *mute[] = { "amixer", "-q", "set", "Master", "toggle", NULL };
|
||||||
/* screenshot tools */
|
/* screenshot tools */
|
||||||
static const char *scrallcmd[] = { "/home/kurk/sources/scripts/prtscr/prtscra.sh", NULL };
|
static const char *scrallcmd[] = { "/home/kurk/sources/scripts/prtscr/prtscra.sh", NULL };
|
||||||
static const char *scrcurcmd[] = { "/home/kurk/sources/scripts/prtscr/prtscrcr.sh", NULL };
|
static const char *scrcurcmd[] = { "/home/kurk/sources/scripts/prtscr/prtscrcr.sh", NULL };
|
||||||
|
@ -91,9 +91,9 @@ static const char *scrselcmd[] = { "/home/kurk/sources/scripts/prtscr/prtscrsel.
|
||||||
/* browsers */
|
/* browsers */
|
||||||
static const char *palemooncmd[] = { "palemoon", NULL };
|
static const char *palemooncmd[] = { "palemoon", NULL };
|
||||||
static const char *chromiumcmd[] = { "chromium", NULL };
|
static const char *chromiumcmd[] = { "chromium", NULL };
|
||||||
static const char *nextcloudcmd[] = { "nextcloud", NULL };
|
static const char *nextcloudcmd[] = { "nextcloud", NULL };
|
||||||
static const char *xfecmd[] = { "xfe", NULL };
|
static const char *xfecmd[] = { "xfe", NULL };
|
||||||
static const char *keepassxccmd[] = { "keepassxc", NULL };
|
static const char *keepassxccmd[] = { "keepassxc", NULL };
|
||||||
|
|
||||||
static const Key keys[] = {
|
static const Key keys[] = {
|
||||||
/* modifier key function argument */
|
/* modifier key function argument */
|
||||||
|
@ -102,9 +102,9 @@ static const Key keys[] = {
|
||||||
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },
|
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },
|
||||||
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } },
|
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } },
|
||||||
{ 0, XF86XK_AudioMute, spawn, {.v = mute } },
|
{ 0, XF86XK_AudioMute, spawn, {.v = mute } },
|
||||||
{ MODKEY, XK_Print, spawn, {.v = scrallcmd } },
|
{ 0, XK_Print, spawn, {.v = scrallcmd } },
|
||||||
{ MODKEY|ShiftMask, XK_Print, spawn, {.v = scrcurcmd } },
|
{ ShiftMask, XK_Print, spawn, {.v = scrcurcmd } },
|
||||||
{ MODKEY|ControlMask, XK_Print, spawn, {.v = scrselcmd } },
|
{ ControlMask, XK_Print, spawn, {.v = scrselcmd } },
|
||||||
{ MODKEY, XK_s, spawn, {.v = palemooncmd } },
|
{ MODKEY, XK_s, spawn, {.v = palemooncmd } },
|
||||||
{ MODKEY, XK_n, spawn, {.v = nextcloudcmd } },
|
{ MODKEY, XK_n, spawn, {.v = nextcloudcmd } },
|
||||||
{ MODKEY, XK_c, spawn, {.v = chromiumcmd } },
|
{ MODKEY, XK_c, spawn, {.v = chromiumcmd } },
|
||||||
|
|
Loading…
Reference in New Issue