From f0cffdccccea8d748f6098735ec3d2040127dfd1 Mon Sep 17 00:00:00 2001 From: Cy Pokhrel Date: Mon, 28 Oct 2024 17:18:59 -0400 Subject: [PATCH] it was a failure long ago --- sway/scripts/btn_extra.sh | 10 ---------- 1 file changed, 10 deletions(-) delete mode 100755 sway/scripts/btn_extra.sh diff --git a/sway/scripts/btn_extra.sh b/sway/scripts/btn_extra.sh deleted file mode 100755 index ec005ee..0000000 --- a/sway/scripts/btn_extra.sh +++ /dev/null @@ -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