From b2edeab31f072d1180dafbbead3a88fb593bf6fb Mon Sep 17 00:00:00 2001 From: angelic-sedition Date: Tue, 24 Feb 2015 14:39:49 -0500 Subject: [PATCH] fix bspwm is_floating check to work with letters in wid with case insensitive grep --- tdrop | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdrop b/tdrop index af769a8..50d5261 100755 --- a/tdrop +++ b/tdrop @@ -134,7 +134,7 @@ wm_autoset_for_hide_show() { if [[ $wm == bspwm ]]; then is_floating() { # checking if the window id (converted from decimal to hex) is floating; empty if not floating - bspc query -T | grep "$(printf 0x%x "$1").*f-" + bspc query -T | grep -i "$(printf 0x%x "$1").*f-" } elif [[ $wm == i3 ]]; then is_floating() {