#!/bin/bash

# Test script to verify keybindings are working
echo "Testing keybindings..."

# Check if services are running
echo "Dictation service status:"
systemctl --user status dictation.service --no-pager -l | head -5

echo ""
echo "Keybinding listener status:"
systemctl --user status keybinding-listener.service --no-pager -l | head -5

echo ""
echo "Current lock file status:"
ls -la /mnt/storage/Development/dictation-service/*.lock 2>/dev/null || echo "No lock files found"

echo ""
echo "Keybindings configured:"
echo "Alt+D: Toggle dictation"
echo "Super+Alt+D: Toggle AI conversation"
echo ""
echo "Try pressing Alt+D now to test dictation toggle"
echo "Try pressing Super+Alt+D to test conversation toggle"