i think this fixes i3 issues
[distro-setup] / i3-auto-layout-toggle
index e879bdab966179e0bfceb477acd1d1b1c2d56cc3..f7330a366af8c3b0395ad07ecbabe1565c2439df 100755 (executable)
@@ -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