it was a failure long ago

This commit is contained in:
Cy Pokhrel 2024-10-28 17:18:59 -04:00
parent 3b37411018
commit f0cffdcccc
No known key found for this signature in database
GPG key ID: 1200FBE36C2ADE2E

View file

@ -1,10 +0,0 @@
#!/bin/bash
running_app=$(swaymsg -t get_tree | jq -r 'recurse(.nodes[]?) | select(.focused==true) | .app_id')
if [ "$running_app" = "anki" ]; then
echo "kitty open found 😇"
else
echo "no kitty 😿"
echo "but ${running_app}"
fi