diff options
author | Haoran S. Diao (刁浩然) <0@hairydiode.xyz> | 2023-11-25 04:53:08 -0800 |
---|---|---|
committer | Haoran S. Diao (刁浩然) <0@hairydiode.xyz> | 2023-11-25 04:53:08 -0800 |
commit | 15a09725bac29ac484d3ee26242f4b1e68072fee (patch) | |
tree | 2ddf0db8756fa468c29f1ca7871b89636a2a643e /jankime.html | |
parent | add7059eb88eb5b9a6acbccadb1ab191858a1d3c (diff) |
Unihome finally published
Diffstat (limited to 'jankime.html')
-rw-r--r-- | jankime.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/jankime.html b/jankime.html index 6d1454a..75656c7 100644 --- a/jankime.html +++ b/jankime.html @@ -20,7 +20,7 @@ 123456789-223456789-323456789-423456789-523456789-623456789-723456789-8234567890 一二三四-->Janky IME 6-29-2023 -------------------------------------------------------------------------------- -UPDATE: This IME is now tmux based, old xdotool version is still <a href="https://hairydiode.xyz/cgit/dotfiles.git/tree/scripts/ims">here</a> +UPDATE: This IME is now tmux based, old xdotool version is still <a href="https://hairydiode.xyz/cgit/bim.git/tree/scripts/ims">here</a> UPDATE2: I have created the most cursed thing in existance. Full unicode display and input support in the linux console using only userland bash/busybox and @@ -67,7 +67,7 @@ The Implementation: Input is read with read in a loop - <a href="https://hairydiode.xyz/cgit/dotfiles.git/tree/scripts/imt">CODE:</a> + <a href="https://hairydiode.xyz/cgit/bim.git/tree/scripts/imt">CODE:</a> OIFS=$IFS export IFS=""; read -rsn1 i IFS=$OIFS @@ -82,7 +82,7 @@ The Implementation: I then simply run grep ^$code\s, rearrange the columns with awk and sort, then take out the ranking column - <a href="https://hairydiode.xyz/cgit/dotfiles.git/tree/scripts/imt">CODE:</a> + <a href="https://hairydiode.xyz/cgit/bim.git/tree/scripts/imt">CODE:</a> opt=$(grep "^$code\s" ~/lang/zh/boshiamy/ibus-boshiamy/boshiamy.txt |\ #remove simplfied grep -v 98|\ @@ -95,7 +95,7 @@ The Implementation: conversion of the input characters from line seperated to space seperated was done for free. However this makes the code less portable - <a href="https://hairydiode.xyz/cgit/dotfiles.git/tree/scripts/imt">CODE:</a> + <a href="https://hairydiode.xyz/cgit/bim.git/tree/scripts/imt">CODE:</a> char=$(echo $opt | awk "{print \$1}") ... tmux send-key -t "!" "$char" |