iankelling.org
/
git
/
distro-setup
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
distro specific fixes
[distro-setup]
/
i3-auto-layout-toggle
diff --git
a/i3-auto-layout-toggle
b/i3-auto-layout-toggle
index e879bdab966179e0bfceb477acd1d1b1c2d56cc3..f7330a366af8c3b0395ad07ecbabe1565c2439df 100755
(executable)
--- a/
i3-auto-layout-toggle
+++ b/
i3-auto-layout-toggle
@@
-24,8
+24,12
@@
set -e; . /usr/local/lib/bash-bear; set +e
f=/tmp/iank-i3-no-auto
+# todo: if it is disabled, update the status bar.
+
if [[ -e $f ]]; then
+ echo "enabling"
rm -f $f
else
+ echo "disabling"
touch $f
fi