Skip to content

Instantly share code, notes, and snippets.

@kxccc
kxccc / config.yaml
Created November 12, 2025 02:54
mouseless config
app_version: 0.4.0
behavior_configs:
- base_move_speed: 5.0
base_wheel_speed: 16.0
free_mode_auto_off_s: 0
grid_action_level: subgrid
hide_cursor_on_click: false
hide_location: bottom_left
initial_action_location: system_cursor
initial_overlay_monitor: last_used
{
"title": "适合 HHKB 和 Vim 用户的键盘映射",
"rules": [
{
"description": "短按 Control_L -> ESC 并切换英文输入法",
"manipulators": [
{
"conditions": [
{
"input_sources": [{ "language": "en" }],
@kxccc
kxccc / vpn-hotspot.sh
Created March 7, 2020 07:31 — forked from ShapeShifter499/vpn-hotspot.sh
vpn hotspot script
#!/storage/xbin/bash
# This script should help forward VPN over any tethered connection on a Android device. Turn on tethering, then enable VPN, then run this script.
# Inital variable setup
tethering=0
# Setup iptables before forwarding VPN
iptables -A POSTROUTING -o tun0 -j MASQUERADE -t nat