From e2d1e93d683412cc87162f80f7c1c2a0569302aa Mon Sep 17 00:00:00 2001 From: angelic-sedition Date: Tue, 17 Feb 2015 19:35:20 -0500 Subject: [PATCH] add initial support for i3 '-a' currently working with dropdowns, but auto showing needs fixing --- tdrop | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tdrop b/tdrop index 83777ea..24f77e8 100755 --- a/tdrop +++ b/tdrop @@ -118,6 +118,11 @@ wm_autodetect_settings() { float_post() { xdotool windowmove "$1" "$xoff" "$yoff" } + elif [[ $wm == i3 ]]; then + float_post() { + i3-msg floating enable && \ + xdotool windowmove "$1" "$xoff" "$yoff" windowsize "$1" "$width" "$height" + } fi # for auto_show proper positioning