summaryrefslogtreecommitdiff
path: root/confs/en.scm
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2024-10-07 18:57:23 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2024-10-07 18:57:23 +0200
commit821667e706978ca4731f096a07632a6f1b59574c (patch)
treefda31306c2000d2f3c585b11f2d5e20c296201fc /confs/en.scm
parent29bbb45decd4f867ef7cd8d458bfcef9a2bddb7b (diff)
move glyphs to confs
Diffstat (limited to 'confs/en.scm')
-rw-r--r--confs/en.scm42
1 files changed, 42 insertions, 0 deletions
diff --git a/confs/en.scm b/confs/en.scm
new file mode 100644
index 0000000..7480e55
--- /dev/null
+++ b/confs/en.scm
@@ -0,0 +1,42 @@
+;https://unicode-table.com/en/2B7E/
+
+(define letters (string->list "ABCDEFGHIJKLMNOPQRSTUVWXYZ"))
+(define numbers (string->list "1234567890"))
+(define brackets (string->list "()[]{}<>"))
+(define symbols (string->list "+-*\\|@#~$%&^`´\"'"))
+(define punct (string->list ",.:;_"))
+
+;(define tab "⭾")
+;(define tab "↹")
+;(define tab "→|")
+(define tab "⇥")
+;(define backspace "⌫")
+(define backspace "⟵")
+;(define arrows (string->list "▼▶▼▶"))
+(define arrows (string->list "←↑→↓"))
+
+(define key-symbols (concatenate (list (list backspace tab)
+ arrows
+ (string->list "⇧⇧⇪⏎"))))
+(define modifiers '("Ctrl" "Ctrl" "Alt" "AltGr" "Esc" "Del"))
+
+(define fn '("Fn"))
+(define media (string->list ""))
+
+;(define extra-symbols (string->list "☠⌨☭☮☢☣☥⚓"))
+(define extra-symbols (string->list "☠⎘⎘"))
+
+(define font "B612")
+
+(define glyphs
+ (concatenate
+ (list
+ (map (lambda (l) (glyph l font "6" "white" "none")) letters)
+ (map (lambda (l) (glyph l font "6" "lightgreen" "none")) symbols)
+ (map (lambda (l) (glyph l font "6" "white" "none")) key-symbols)
+ (map (lambda (l) (glyph l font "6" "white" "none")) numbers)
+ (map (lambda (l) (glyph l font "3" "white" "italic")) modifiers)
+ (map (lambda (l) (glyph l font "6" "red" "none")) brackets)
+ (map (lambda (l) (glyph l font "6" "steelblue" "none")) media)
+ (map (lambda (l) (glyph l font "6" "white" "none")) extra-symbols)
+ (map (lambda (l) (glyph l font "6" "white" "none")) punct))))