zsh,vm-list,karabiner,ghostty

This commit is contained in:
2025-09-26 05:57:27 +02:00
parent 19d8392092
commit b1a4566452
9 changed files with 122 additions and 44 deletions

View File

@@ -0,0 +1,11 @@
#!/usr/bin/env bash
file=/tmp/vm-switch.txt
# Ensure the file exists
touch "$file"
echo "Listening on $file ..."
tail -n0 -F "$file" | while read vm; do
[ -n "$vm" ] && echo "Switch requested: $vm" && ~/bin/work "$vm" &
done