From c31aedbe07721b3ff7701490fcbcc6648a89dbdd Mon Sep 17 00:00:00 2001 From: Artemis Tosini Date: Sun, 29 Sep 2024 21:34:51 +0000 Subject: [PATCH] home: add XCompose --- home/default.nix | 2 + home/files/XCompose | 107 ++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 109 insertions(+) create mode 100644 home/files/XCompose diff --git a/home/default.nix b/home/default.nix index 7f9ef56..f22556b 100644 --- a/home/default.nix +++ b/home/default.nix @@ -43,5 +43,7 @@ set disassembly-flavor intel ''; }; + + home.file.".XCompose".source = ./files/XCompose; }; } diff --git a/home/files/XCompose b/home/files/XCompose new file mode 100644 index 0000000..f0bd3f5 --- /dev/null +++ b/home/files/XCompose @@ -0,0 +1,107 @@ +include "%L" +# See https://github.com/rrthomas/pointless-xcompose + +# Greek letters + : "μ" U03BC # GREEK SMALL LETTER MU + : "Ω" U03A9 # GREEK CAPITAL LETTER OMEGA + +# Just because of the name... + : "〰" U3030 # WAVY DASH (also called wave dash) + +# Unicode useful characters + : "‎" U200E # LEFT TO RIGHT MARK + : "‏" U200F # RIGHT TO LEFT MARK + : "‪" U202A # LEFT TO RIGHT EMBEDDING + : "‫" U202B # RIGHT TO LEFT EMBEDDING +

: "‬" U202C # POP DIRECTIONAL FORMATTING + : "‭" U202D # LEFT TO RIGHT OVERRIDE + : "‮" U202E # RIGHT TO LEFT OVERRIDE + + : " " U202F # NARROW NO-BREAK SPACE + +# Playing Cards +# The convention is more or less established, except for the Knight. I'm +# using N for that, like in Chess, since K would conflict with King of course. + : "🂡" U1F0A1 # PLAYING CARD ACE OF SPADES + <2> : "🂢" U1F0A2 # PLAYING CARD TWO OF SPADES + <3> : "🂣" U1F0A3 # PLAYING CARD THREE OF SPADES + <4> : "🂤" U1F0A4 # PLAYING CARD FOUR OF SPADES + <5> : "🂥" U1F0A5 # PLAYING CARD FIVE OF SPADES + <6> : "🂦" U1F0A6 # PLAYING CARD SIX OF SPADES + <7> : "🂧" U1F0A7 # PLAYING CARD SEVEN OF SPADES + <8> : "🂨" U1F0A8 # PLAYING CARD EIGHT OF SPADES + <9> : "🂩" U1F0A9 # PLAYING CARD NINE OF SPADES + : "🂪" U1F0AA # PLAYING CARD TEN OF SPADES + : "🂫" U1F0AB # PLAYING CARD JACK OF SPADES + : "🂬" U1F0AC # PLAYING CARD KNIGHT OF SPADES + : "🂭" U1F0AD # PLAYING CARD QUEEN OF SPADES + : "🂮" U1F0AE # PLAYING CARD KING OF SPADES + + : "🂱" U1F0B1 # PLAYING CARD ACE OF HEARTS + <2> : "🂲" U1F0B2 # PLAYING CARD TWO OF HEARTS + <3> : "🂳" U1F0B3 # PLAYING CARD THREE OF HEARTS + <4> : "🂴" U1F0B4 # PLAYING CARD FOUR OF HEARTS + <5> : "🂵" U1F0B5 # PLAYING CARD FIVE OF HEARTS + <6> : "🂶" U1F0B6 # PLAYING CARD SIX OF HEARTS + <7> : "🂷" U1F0B7 # PLAYING CARD SEVEN OF HEARTS + <8> : "🂸" U1F0B8 # PLAYING CARD EIGHT OF HEARTS + <9> : "🂹" U1F0B9 # PLAYING CARD NINE OF HEARTS + : "🂺" U1F0BA # PLAYING CARD TEN OF HEARTS + : "🂻" U1F0BB # PLAYING CARD JACK OF HEARTS + : "🂼" U1F0BC # PLAYING CARD KNIGHT OF HEARTS + : "🂽" U1F0BD # PLAYING CARD QUEEN OF HEARTS + : "🂾" U1F0BE # PLAYING CARD KING OF HEARTS + + : "🃁" U1F0C1 # PLAYING CARD ACE OF DIAMONDS + <2> : "🃂" U1F0C2 # PLAYING CARD TWO OF DIAMONDS + <3> : "🃃" U1F0C3 # PLAYING CARD THREE OF DIAMONDS + <4> : "🃄" U1F0C4 # PLAYING CARD FOUR OF DIAMONDS + <5> : "🃅" U1F0C5 # PLAYING CARD FIVE OF DIAMONDS + <6> : "🃆" U1F0C6 # PLAYING CARD SIX OF DIAMONDS + <7> : "🃇" U1F0C7 # PLAYING CARD SEVEN OF DIAMONDS + <8> : "🃈" U1F0C8 # PLAYING CARD EIGHT OF DIAMONDS + <9> : "🃉" U1F0C9 # PLAYING CARD NINE OF DIAMONDS + : "🃊" U1F0CA # PLAYING CARD TEN OF DIAMONDS + : "🃋" U1F0CB # PLAYING CARD JACK OF DIAMONDS + : "🃌" U1F0CC # PLAYING CARD KNIGHT OF DIAMONDS + : "🃍" U1F0CD # PLAYING CARD QUEEN OF DIAMONDS + : "🃎" U1F0CE # PLAYING CARD KING OF DIAMONDS + + : "🃑" U1F0D1 # PLAYING CARD ACE OF CLUBS + <2> : "🃒" U1F0D2 # PLAYING CARD TWO OF CLUBS + <3> : "🃓" U1F0D3 # PLAYING CARD THREE OF CLUBS + <4> : "🃔" U1F0D4 # PLAYING CARD FOUR OF CLUBS + <5> : "🃕" U1F0D5 # PLAYING CARD FIVE OF CLUBS + <6> : "🃖" U1F0D6 # PLAYING CARD SIX OF CLUBS + <7> : "🃗" U1F0D7 # PLAYING CARD SEVEN OF CLUBS + <8> : "🃘" U1F0D8 # PLAYING CARD EIGHT OF CLUBS + <9> : "🃙" U1F0D9 # PLAYING CARD NINE OF CLUBS + : "🃚" U1F0DA # PLAYING CARD TEN OF CLUBS + : "🃛" U1F0DB # PLAYING CARD JACK OF CLUBS + : "🃜" U1F0DC # PLAYING CARD KNIGHT OF CLUBS + : "🃝" U1F0DD # PLAYING CARD QUEEN OF CLUBS + : "🃞" U1F0DE # PLAYING CARD KING OF CLUBS + + : "🂠" U1F0A0 # PLAYING CARD BACK + : "🃏" U1F0CF # PLAYING CARD BLACK JOKER + : "🃟" U1F0DF # PLAYING CARD WHITE JOKER + +# Chess +# FIXME: will be an issue when we want double-struck W or B... replace with ? + : "♔" U2654 # WHITE CHESS KING + : "♕" U2655 # WHITE CHESS QUEEN + : "♖" U2656 # WHITE CHESS ROOK + : "♗" U2657 # WHITE CHESS BISHOP + : "♘" U2658 # WHITE CHESS KNIGHT +

: "♙" U2659 # WHITE CHESS PAWN + : "♚" U265A # BLACK CHESS KING + : "♛" U265B # BLACK CHESS QUEEN + : "♜" U265C # BLACK CHESS ROOK + : "♝" U265D # BLACK CHESS BISHOP + : "♞" U265E # BLACK CHESS KNIGHT +

: "♟" U265F # BLACK CHESS PAWN + +# Temperature + : "℃" U2103 # DEGREE CELSIUS + : "℉" U2109 # DEGREE FAHRENHEIT +