Created
March 31, 2020 14:18
-
-
Save equwal/23e36f2e68dacca4735128bf3ea0fdf7 to your computer and use it in GitHub Desktop.
dwm patch for "programming" keyboard layouts with a flipped top row. Note that non-US users may need to make modifications to which punctuation is used.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
config.h | 20 ++++++++++---------- | |
1 file changed, 10 insertions(+), 10 deletions(-) | |
diff --git a/config.h b/config.h | |
index fcb39fd..810b05b 100644 | |
--- a/config.h | |
+++ b/config.h | |
@@ -19,7 +19,7 @@ static const char *colors[][3] = { | |
}; | |
/* tagging */ | |
-static const char *tags[] = { "1", "2", "3", "4", "5", "6", "7", "8", "9" }; | |
+static const char *tags[] = { "!", "@", "#", "$", "%", "^", "&", "*", "[" }; | |
static const Rule rules[] = { | |
/* xprop(1): | |
@@ -90,15 +90,15 @@ static Key keys[] = { | |
{ MODKEY, XK_period, focusmon, {.i = +1 } }, | |
{ MODKEY|ShiftMask, XK_comma, tagmon, {.i = -1 } }, | |
{ MODKEY|ShiftMask, XK_period, tagmon, {.i = +1 } }, | |
- TAGKEYS( XK_1, 0) | |
- TAGKEYS( XK_2, 1) | |
- TAGKEYS( XK_3, 2) | |
- TAGKEYS( XK_4, 3) | |
- TAGKEYS( XK_5, 4) | |
- TAGKEYS( XK_6, 5) | |
- TAGKEYS( XK_7, 6) | |
- TAGKEYS( XK_8, 7) | |
- TAGKEYS( XK_9, 8) | |
+ TAGKEYS( XK_exclam, 0) | |
+ TAGKEYS( XK_at, 1) | |
+ TAGKEYS( XK_numbersign, 2) | |
+ TAGKEYS( XK_dollar, 3) | |
+ TAGKEYS( XK_percent, 4) | |
+ TAGKEYS( XK_asciicircum, 5) | |
+ TAGKEYS( XK_ampersand, 6) | |
+ TAGKEYS( XK_asterisk, 7) | |
+ TAGKEYS( XK_parenleft, 8) | |
{ MODKEY|ShiftMask, XK_q, quit, {0} }, | |
}; | |
-- | |
2.26.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment