From 914c535cdaec500605a90f05d15d8b171a649e0e Mon Sep 17 00:00:00 2001 From: noctuid Date: Fri, 5 May 2017 13:16:08 -0400 Subject: [PATCH] Add class name translation for st (for bspwm) Addresses #29. --- tdrop | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tdrop b/tdrop index ce94a11..2433cda 100755 --- a/tdrop +++ b/tdrop @@ -305,6 +305,8 @@ wm_autoset_for_all() { class=$1 if [[ $1 =~ ^google-chrome ]]; then class=google-chrome + elif [[ $1 == st ]]; then + class=st-256color fi # newest (using "instance" names) if [[ $class =~ [A-Z] ]]; then