diff options
| author | tslil clingman <> | 2021-07-14 18:25:44 -0400 |
|---|---|---|
| committer | tslil clingman <> | 2021-07-14 18:25:44 -0400 |
| commit | 0da02b29d9f7a90c6bfd6fadf299d12ea0142b92 (patch) | |
| tree | 48efabaa043fb68dce34c4b65b5d7747742f95af /dwm-6.2/config.h | |
| parent | d1c07f805637c2cb0df893a87805c2756275e47e (diff) | |
Gaps!
Diffstat (limited to 'dwm-6.2/config.h')
| -rw-r--r-- | dwm-6.2/config.h | 6 |
1 files changed, 5 insertions, 1 deletions
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 } }, |
