Restructure repository: organize tools by purpose, create what search tool
- Move single-file tools to tools/ organized by category (security, forensics, data, etc.) - Move multi-file projects to projects/ (go-tools, puzzlebox, timesketch, rust-tools) - Move system scripts to scripts/ (proxy, display, setup, windows) - Organize config files in config/ (shell, visidata, applications) - Move experimental tools to archive/experimental - Create 'what' fuzzy search tool with progressive enhancement (ollama->fzf->grep) - Add initial metadata database for intelligent tool discovery - Preserve git history using 'git mv' commands
This commit is contained in:
8
scripts/display/toggle_touchpad
Executable file
8
scripts/display/toggle_touchpad
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/bash
|
||||
touchpad_id=$(xinput list | grep -i -e touch -e Synaptics | grep -Po '(?<=id=)\d+')
|
||||
echo $touchpad_id
|
||||
if (xinput list-props ${touchpad_id} | grep "Device Enabled" | grep -Po '\d$' | grep -q "1"); then
|
||||
xinput disable "${touchpad_id}"
|
||||
else
|
||||
xinput enable "${touchpad_id}"
|
||||
fi
|
||||
Reference in New Issue
Block a user