From 0da02b29d9f7a90c6bfd6fadf299d12ea0142b92 Mon Sep 17 00:00:00 2001 From: tslil clingman <> Date: Wed, 14 Jul 2021 18:25:44 -0400 Subject: Gaps! --- dwm-6.2/config.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'dwm-6.2/config.h') diff --git a/dwm-6.2/config.h b/dwm-6.2/config.h index 4f37f05..db80e04 100644 --- a/dwm-6.2/config.h +++ b/dwm-6.2/config.h @@ -2,6 +2,7 @@ /* appearance */ static const unsigned int borderpx = 1; /* border pixel of windows */ +static const unsigned int gappx = 6; /* gaps between windows */ static const unsigned int snap = 16; /* snap pixel */ static const unsigned int systraypinning = 0; /* 0: sloppy systray follows selected monitor, >0: pin systray to monitor X */ static const unsigned int systrayspacing = 2; /* systray spacing */ @@ -77,7 +78,8 @@ static const char *vol_up[] = { "pactl", "set-sink-volume", "0", "+5%", NULL }; static const char *vol_mt[] = { "pactl", "set-sink-mute", "0", "toggle", NULL }; #define XF86ScreenSaver 0x1008ff2d -static const char *lock[] = { "lock", NULL }; +static const char *lock[] = {"lock", NULL}; +static const char *toggle_autolock[] = { "toggle_autolock", NULL }; static Key keys[] = { /* modifier key function argument */ @@ -88,6 +90,8 @@ static Key keys[] = { { 0, XF86AudioRaiseVolume, spawn, {.v = vol_up } }, { 0, XF86AudioMute, spawn, {.v = vol_mt } }, { 0, XF86ScreenSaver, spawn, {.v = lock } }, + { MODKEY, XK_h, spawn, {.v = lock } }, + { MODKEY|ShiftMask, XK_h, spawn, {.v = toggle_autolock } }, /* { 0, XF86MonBrightnessDown, spawn, {.v = brightness_dn } }, { 0, XF86MonBrightnessUp, spawn, {.v = brightness_up } }, -- cgit v1.2.3