configuration/common/components/keyboard.user.nix

141 lines
5.3 KiB
Nix
Raw Normal View History

{
imports = [ ../../packages/xcompose.nix ];
xcompose.sequences = {
# Spaces
"" = [ "space" "0" ]; # figure space
"" = [ "space" "comma" ]; # thin space
"" = [ "space" "m" ]; # em space
2023-02-05 19:42:24 +00:00
" " = [ "space" "minus" ]; # non-breaking space
" " = [ "space" "space" ]; # horizontal tab
"" = [ "space" "z" ]; # zero-width space
"" = [ "space" "j" ]; # zero-width non-joiner
# Punctuation
"" = [ "exclam" "question" ]; # interrobang
"" = [ "grave" "apostrophe" ]; # prime
"" = [ "grave" "quotedbl" ]; # double prime
"»" = [ "greater" "greater" ]; # right double angle quotation mark
"" = [ "greater" "period" ]; # right single angle quotation mark
"«" = [ "less" "less" ]; # left double angle quotation mark
"" = [ "less" "period" ]; # left single angle quotation mark
"" = [ "minus" "minus" ]; # em dash
"" = [ "minus" "n" ]; # en dash
"­" = [ "minus" "question" ]; # soft hyphen
"" = [ "minus" "semicolon" ]; # non-breaking hyphen
"°" = [ "o" "o" ]; # degree
"" = [ "period" "bar" ]; # vertical ellipsis
"·" = [ "period" "minus" ]; # middle dot
"" = [ "period" "period" ]; # horizontal ellipsis
# Mathematical operators
"" = [ "asciitilde" "equal" ]; # almost equal to
"" = [ "exclam" "equal" ]; # not equal to
"" = [ "greater" "equal" ]; # greater-than or equal to
"" = [ "less" "equal" ]; # less-than or equal to
"" = [ "minus" "0" ]; # minus sign
"±" = [ "plus" "minus" ]; # plus-minus sign
"" = [ "v" "slash" ]; # square root
"×" = [ "x" "x" ]; # multiplication sign
# Geometric symbols
"" = [ "asciicircum" "bar" ]; # up arrow
"" = [ "bar" "v" ]; # down arrow
"" = [ "equal" "greater" ]; # right double arrow
"" = [ "less" "greater" ]; # left-right arrow
"" = [ "less" "minus" ]; # left arrow
"" = [ "minus" "greater" ]; # right arrow
2023-05-13 02:36:31 +00:00
"" = [ "v" "v" ]; # check mark
# Keyboard keys
"" = [ "a" "g" ]; # AltGr
"" = [ "a" "l" ]; # Alt
"" = [ "b" "a" ]; # Backspace
2023-06-08 04:16:08 +00:00
"" = [ "c" "o" "m" ]; # Compose
"" = [ "c" "t" ]; # Control
"" = [ "d" "e" ]; # Delete
"" = [ "e" "s" ]; # Escape
"" = [ "p" "r" ]; # Print Screen
"" = [ "r" "e" ]; # Return
2023-05-02 01:46:23 +00:00
"" = [ "s" "h" "i" ]; # Shift
"" = [ "s" "u" ]; # Super
"" = [ "t" "a" ]; # Tab
# Numbers
"" = [ "0" "slash" ]; # null sign
"π" = [ "p" "i" ]; # pi
"" = [ "8" "8" ]; # infinity
"½" = [ "1" "2" ]; # one half
"" = [ "1" "3" ]; # one third
"" = [ "2" "3" ]; # two thirds
"¼" = [ "1" "4" ]; # one fourth
"¾" = [ "3" "4" ]; # three fourths
"" = [ "1" "5" ]; # one fifth
"" = [ "2" "5" ]; # two fifths
"" = [ "3" "5" ]; # three fifths
"" = [ "4" "5" ]; # four fifths
"" = [ "1" "6" ]; # one sixth
"" = [ "5" "6" ]; # five sixths
"" = [ "1" "7" ]; # one seventh
"" = [ "1" "8" ]; # one eighth
"" = [ "3" "8" ]; # three eighths
"" = [ "5" "8" ]; # five eighths
"" = [ "7" "8" ]; # seven eighths
"" = [ "1" "9" ]; # one ninth
"" = [ "1" "0" ]; # one tenth
# Letters and letterlike symbols
"æ" = [ "a" "e" ]; # ae ligature
"à" = [ "a" "grave" ]; # a with grave
"¢" = [ "c" "bar" ]; # cent sign
"" = [ "c" "less" ]; # reversed c
2023-06-08 04:16:08 +00:00
"©" = [ "c" "o" "p" ]; # copyright sign
"µ" = [ "m" "u" ]; # micro sign
"ñ" = [ "n" "asciitilde" ]; # n with tilde
"ø" = [ "o" "slash" ]; # o with stroke
"" = [ "p" "p" ]; # pilcrow sign
"§" = [ "s" "s" ]; # section sign
"" = [ "t" "m" ]; # trade mark sign
"ü" = [ "u" "colon" ]; # u with diaeresis
"" = [ "v" "slash" ]; # v with stroke
# Superscript
"" = [ "asciicircum" "minus" ]; # superscript minus
"" = [ "asciicircum" "plus" ]; # superscript plus sign
"" = [ "asciicircum" "0" ]; # superscript zero
"¹" = [ "asciicircum" "1" ]; # superscript one
"²" = [ "asciicircum" "2" ]; # superscript two
"³" = [ "asciicircum" "3" ]; # superscript three
"" = [ "asciicircum" "4" ]; # superscript four
"" = [ "asciicircum" "5" ]; # superscript five
"" = [ "asciicircum" "6" ]; # superscript six
"" = [ "asciicircum" "7" ]; # superscript seven
"" = [ "asciicircum" "8" ]; # superscript eight
"" = [ "asciicircum" "9" ]; # superscript nine
"" = [ "asciicircum" "n" ]; # superscript n
# Subscript
"" = [ "underscore" "minus" ]; # subscript minus
"" = [ "underscore" "plus" ]; # subscript plus sign
"" = [ "underscore" "0" ]; # subscript zero
"" = [ "underscore" "1" ]; # subscript one
"" = [ "underscore" "2" ]; # subscript two
"" = [ "underscore" "3" ]; # subscript three
"" = [ "underscore" "4" ]; # subscript four
"" = [ "underscore" "5" ]; # subscript five
"" = [ "underscore" "6" ]; # subscript six
"" = [ "underscore" "7" ]; # subscript seven
"" = [ "underscore" "8" ]; # subscript eight
"" = [ "underscore" "9" ]; # subscript nine
2023-03-12 20:39:05 +00:00
# Emoji
"" = [ "w" ]; # warning sign
2023-05-30 16:23:19 +00:00
"" = [ "n" "o" ]; # no entry
2023-03-12 20:39:05 +00:00
"" = [ "y" ]; # white heavy check mark
2023-05-02 01:46:23 +00:00
"🤷" = [ "s" "h" "r" ]; # shrug
2023-03-12 20:39:05 +00:00
# Snippets
"https://" = [ "h" "slash" ];
};
}