added whitespace for nicer reading and modified screenshot keybinds
This commit is contained in:
parent
453fcad55e
commit
60f5bbea5b
24
config.def.h
24
config.def.h
|
@ -76,14 +76,14 @@ static const Layout layouts[] = {
|
|||
|
||||
/* commands */
|
||||
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 *termcmd[] = { "st", 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 };
|
||||
/* alsa volume control */
|
||||
static const char *alsacmd[] = { "st", "-c", "floatalsamxr", "-e", "alsamixer", NULL };
|
||||
static const char *upvol[] = { "amixer", "set", "Master", "2+", NULL };
|
||||
static const char *downvol[] = { "amixer", "set", "Master", "2-", NULL };
|
||||
static const char *alsacmd[] = { "st", "-c", "floatalsamxr", "-e", "alsamixer", NULL };
|
||||
static const char *upvol[] = { "amixer", "set", "Master", "2+", NULL };
|
||||
static const char *downvol[] = { "amixer", "set", "Master", "2-", NULL };
|
||||
/* 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 */
|
||||
static const char *scrallcmd[] = { "/home/kurk/sources/scripts/prtscr/prtscra.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 */
|
||||
static const char *palemooncmd[] = { "palemoon", NULL };
|
||||
static const char *chromiumcmd[] = { "chromium", NULL };
|
||||
static const char *nextcloudcmd[] = { "nextcloud", NULL };
|
||||
static const char *xfecmd[] = { "xfe", NULL };
|
||||
static const char *keepassxccmd[] = { "keepassxc", NULL };
|
||||
static const char *nextcloudcmd[] = { "nextcloud", NULL };
|
||||
static const char *xfecmd[] = { "xfe", NULL };
|
||||
static const char *keepassxccmd[] = { "keepassxc", NULL };
|
||||
|
||||
static const Key keys[] = {
|
||||
/* modifier key function argument */
|
||||
|
@ -102,9 +102,9 @@ static const Key keys[] = {
|
|||
{ 0, XF86XK_AudioRaiseVolume, spawn, {.v = upvol } },
|
||||
{ 0, XF86XK_AudioLowerVolume, spawn, {.v = downvol } },
|
||||
{ 0, XF86XK_AudioMute, spawn, {.v = mute } },
|
||||
{ MODKEY, XK_Print, spawn, {.v = scrallcmd } },
|
||||
{ MODKEY|ShiftMask, XK_Print, spawn, {.v = scrcurcmd } },
|
||||
{ MODKEY|ControlMask, XK_Print, spawn, {.v = scrselcmd } },
|
||||
{ 0, XK_Print, spawn, {.v = scrallcmd } },
|
||||
{ ShiftMask, XK_Print, spawn, {.v = scrcurcmd } },
|
||||
{ ControlMask, XK_Print, spawn, {.v = scrselcmd } },
|
||||
{ MODKEY, XK_s, spawn, {.v = palemooncmd } },
|
||||
{ MODKEY, XK_n, spawn, {.v = nextcloudcmd } },
|
||||
{ MODKEY, XK_c, spawn, {.v = chromiumcmd } },
|
||||
|
|
Loading…
Reference in New Issue