From 60f5bbea5b36509f6748fdb41f270d6adf856c7b Mon Sep 17 00:00:00 2001 From: celso Date: Thu, 20 Jul 2023 13:29:56 -0300 Subject: [PATCH] added whitespace for nicer reading and modified screenshot keybinds --- config.def.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/config.def.h b/config.def.h index d5dec2c..9a97582 100644 --- a/config.def.h +++ b/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 } },