diff options
author | Haoran S. Diao (刁浩然) <0@hairydiode.xyz> | 2023-11-25 04:51:41 -0800 |
---|---|---|
committer | Haoran S. Diao (刁浩然) <0@hairydiode.xyz> | 2023-11-25 04:51:41 -0800 |
commit | 2aa00e36df0624614645fdf5bc17a11869ad71c5 (patch) | |
tree | 8f252279be120fe89105677bdf7b51ee59605c68 /cont | |
parent | 5ec19118ea597c05021b4d0ba92586886aed3bc3 (diff) |
fixed link
Diffstat (limited to 'cont')
-rw-r--r-- | cont/jankime.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cont/jankime.html b/cont/jankime.html index 25d295c..c56766f 100644 --- a/cont/jankime.html +++ b/cont/jankime.html @@ -4,7 +4,7 @@ -------------------------------------------------------------------------------- [SETTITLE]Janky IME [SETDATE]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 @@ -51,7 +51,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 @@ -66,7 +66,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|\ @@ -79,7 +79,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" |