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 fix, other improvements
[distro-setup]
/
i3-pull
diff --git
a/i3-pull
b/i3-pull
index 9d391d531f7f447cbe65f3342d31f2abf95dabbe..5ed9181d899e41bd4e1509ef3c24bfc1fb94c566 100755
(executable)
--- a/
i3-pull
+++ b/
i3-pull
@@
-31,7
+31,6
@@
h=$(i3-msg -t get_tree | jq -r ".. | select(.focused? == true) | .rect.height")
cur_workspace=$(i3-msg -t get_workspaces | jq -r '.[] | select(.focused? == true) | .name')
-
# 1080 = half the 4k height
#if [[ $cur_workspace == 1 && $h ]] && (( h <= 1080 )); then
if [[ $cur_workspace == 1 && $h ]]; then