iankelling.org
/
git
/
distro-setup
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
lots: shellcheck, streaming stuff, fixes
[distro-setup]
/
i3-auto-layout-toggle
1
#!/bin/bash
2
set -e
;
.
/
usr
/
local
/
lib
/
bash-bear
;
set
+
e
3
4
f
=/
tmp
/
iank-i3-no-auto
5
6
if
[[
-e
$f
]];
then
7
rm
-f
$f
8
else
9
touch
$f
10
fi