summaryrefslogtreecommitdiff
path: root/cont
diff options
context:
space:
mode:
authorHaoran S. Diao (刁浩然) <0@hairydiode.xyz>2023-11-25 05:27:56 -0800
committerHaoran S. Diao (刁浩然) <0@hairydiode.xyz>2023-11-25 05:27:56 -0800
commitf9fefa545da0fd27259c2d44354d026d100c9c2c (patch)
tree1613b64d74d398825133b89f67c34fef9607f1fc /cont
parenta643a6689e19aa876e49f90a36800c2e2c75fe1a (diff)
Edited some stuf
Diffstat (limited to 'cont')
-rw-r--r--cont/jankime.html10
-rw-r--r--cont/unihome.html2
2 files changed, 6 insertions, 6 deletions
diff --git a/cont/jankime.html b/cont/jankime.html
index c56766f..1f3a94f 100644
--- a/cont/jankime.html
+++ b/cont/jankime.html
@@ -4,11 +4,11 @@
--------------------------------------------------------------------------------
[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/bim.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/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
-tmux. See <a href="https://hairydiode.xyz/unihome/">we have unicode at home</a>
+tmux. See <a href="https://hairydiode.xyz/unihome.html">we have unicode at home</a>
A new python version came out, so of course that means every python package on
my rolling-release system has broken. This includes ibus, which I need for my
@@ -51,7 +51,7 @@ The Implementation:
Input is read with read in a loop
- <a href="https://hairydiode.xyz/cgit/bim.git/tree/scripts/imt">CODE:</a>
+ <a href="https://hairydiode.xyz/cgit/bim.git/tree/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/bim.git/tree/scripts/imt">CODE:</a>
+ <a href="https://hairydiode.xyz/cgit/bim.git/tree/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/bim.git/tree/scripts/imt">CODE:</a>
+ <a href="https://hairydiode.xyz/cgit/bim.git/tree/imt">CODE:</a>
char=$(echo $opt | awk "{print \$1}")
...
tmux send-key -t "!" "$char"
diff --git a/cont/unihome.html b/cont/unihome.html
index 71c146a..199cce0 100644
--- a/cont/unihome.html
+++ b/cont/unihome.html
@@ -109,7 +109,7 @@ braille display from before. I also wrote a little script that displays all the
non-ASCII characters in the previously focused tmux pane, so together we can
both display and input utf-8 characters in the linux console using tmux.
-see the <a href="https://hairydiode.xyz/cgit/bim">code</a> and <a href="https://hairydiode.xyz/jankime">writeup</a>
+see the <a href="https://hairydiode.xyz/cgit/bim.git">code</a> and <a href="https://hairydiode.xyz/jankime">writeup</a>
"Screenshots" below: