- Added in Chrome buttons for xkeysnail, caret check no detects self to prevent duplicate runs.

This commit is contained in:
Ben Reaves
2020-04-26 17:28:22 -05:00
parent 754b18066f
commit 362c48953e
2 changed files with 9 additions and 0 deletions

View File

@@ -1,5 +1,12 @@
#!/bin/bash
for pid in $(pidof -x caret_status_xkey.sh); do
if [ $pid != $$ ]; then
echo "[$(date)] : caret_status_xkey.sh : Process is already running with PID $pid"
exit 1
fi
done
mkdir -p /tmp/kinto
echo "0" > /tmp/kinto/caret

View File

@@ -68,6 +68,8 @@ define_keymap(None,{
K("RC-Right"): K("End"), # End of Line
# K("RC-Left"): K("C-LEFT_BRACE"), # Firefox-nw - Back
# K("RC-Right"): K("C-RIGHT_BRACE"), # Firefox-nw - Forward
# K("RC-Left"): K("M-LEFT"), # Chrome-nw - Back
# K("RC-Right"): K("M-RIGHT"), # Chrome-nw - Forward
K("RC-Up"): K("C-Home"), # Beginning of File
K("RC-Down"): K("C-End"), # End of File
K("M-Backspace"): K("Delete"), # Delete