diff options
author | Benno Schulenberg <bensberg@telfort.nl> | 2023-04-09 12:42:48 +0200 |
---|---|---|
committer | Benno Schulenberg <bensberg@telfort.nl> | 2023-04-10 17:10:30 +0200 |
commit | 54457f7b5760de2e6de7ee759603c032eb1d8e17 (patch) | |
tree | b154447f5c4439d22ace6e8d87b7d6f09d5623ae /symbols/level2 | |
parent | 5e97fe105e553412a838e037afd261fdb5c6211a (diff) | |
download | xkeyboard-config-54457f7b5760de2e6de7ee759603c032eb1d8e17.tar.gz |
symbols/level*: contract each key definition onto one line, when possible
This makes it easier to see where which symbols are assigned to a key
when grepping for its code.
Also improve a couple of comments.
Diffstat (limited to 'symbols/level2')
-rw-r--r-- | symbols/level2 | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/symbols/level2 b/symbols/level2 index 5c02e0f..fa2e32d 100644 --- a/symbols/level2 +++ b/symbols/level2 @@ -1,10 +1,5 @@ -// These partial variants assign Shift to various XKB keycodes. - -// The Less/Greater key (while pressed) chooses the second shift level. +// The Less/Greater key (while pressed) chooses the second level. partial modifier_keys xkb_symbols "lsgt_switch" { - key <LSGT> { - type[Group1]="ONE_LEVEL", - symbols[Group1] = [ Shift_L ] - }; + key <LSGT> {[ Shift_L ], type[group1]="ONE_LEVEL" }; }; |