From 216986503fefa8da36b298b88f76e77792a68847 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 | 30 +++++++++++++++--------------- 1 file changed, 15 insertions(+), 15 deletions(-) diff --git a/config.def.h b/config.def.h index 04160ac..b96b9f6 100644 --- a/config.def.h +++ b/config.def.h @@ -76,24 +76,24 @@ 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/celso/sources/scripts/prtscr/prtscra.sh", NULL }; -static const char *scrcurcmd[] = { "/home/celso/sources/scripts/prtscr/prtscrcr.sh", NULL }; -static const char *scrselcmd[] = { "/home/celso/sources/scripts/prtscr/prtscrsel.sh", NULL }; +static const char *scrallcmd[] = { "/home/celso/sources/scripts/prtscr/prtscra.sh", NULL }; +static const char *scrcurcmd[] = { "/home/celso/sources/scripts/prtscr/prtscrcr.sh", NULL }; +static const char *scrselcmd[] = { "/home/celso/sources/scripts/prtscr/prtscrsel.sh", NULL }; /* 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 } },