i3 fixes
[distro-setup] / i3-split-maybe
index 8cef6ef71103268ea1dc7c7bc934d7b3b74bfca4..48bae01f5cb6af8d9a0a0bb697cfd3bb9593068a 100755 (executable)
@@ -41,7 +41,7 @@ fi
 
 tmp=$(mktemp)
 
-i3-msg -t get_workspaces | jq ".[]| select(.focused==true) | .rect | .width" >$tmp
+i3-msg -t get_workspaces | jq ".[]| select(.focused==true) | .rect | .width, .height" >$tmp
 
 { read -r screen_width; read -r screen_height; } <$tmp