iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
i3 fixes
[distro-setup]
/
i3-split-maybe
diff --git
a/i3-split-maybe
b/i3-split-maybe
index 8cef6ef71103268ea1dc7c7bc934d7b3b74bfca4..48bae01f5cb6af8d9a0a0bb697cfd3bb9593068a 100755
(executable)
--- a/
i3-split-maybe
+++ b/
i3-split-maybe
@@
-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