few fixes, mostly x related improvements
[distro-setup] / i3-emacs
index bc383103bf3abb4b26c2fbdc2c0371030809058b..6b4cce2f0c35e3d6d3bae22598a537bcc45f7906 100755 (executable)
--- a/i3-emacs
+++ b/i3-emacs
@@ -21,7 +21,7 @@
 # limitations under the License.
 
 
-id=$(i3-msg -t get_tree | jq -e '.. | select(.name?) | select(.name | test("^e-iak")).id ')
+id=$(i3-msg -t get_tree | jq -e '.. | select(.name?) | select(.name | test("^e-iak ")).id')
 
 if [[ $id ]]; then
   h=$(i3-msg -t get_tree | jq -r ".. | select(.focused? == true) | .rect.height")