minor improvements
authorIan Kelling <ian@iankelling.org>
Tue, 24 Feb 2026 11:44:16 +0000 (06:44 -0500)
committerIan Kelling <ian@iankelling.org>
Tue, 24 Feb 2026 11:44:16 +0000 (06:44 -0500)
.bashrc
brc
distro-begin
i3-sway/common.conf

diff --git a/.bashrc b/.bashrc
index f94a429ed4b1c1c79bc021af702d1942d1dddeb5..f5cb0508187a24b63bbc75245f1f35d01bf91f41 100644 (file)
--- a/.bashrc
+++ b/.bashrc
@@ -80,7 +80,7 @@ _ran_bashrc=t
 # i use it when for example, io on the remote host is really slow and my
 # bashrc is too slow. 3 SECONDS because if the shell is around longer
 # than that, I'm probably sourcing the file manually, not as part of
-# shell startup.
+# shell startup._
 if [[ ( $SECONDS && $SECONDS -lt 3 ) && $LC_USEBASHRC != t  && ( $SSH_CONNECTION || $TERM == linux ) ]];  then
   # Here we did not opt-in to running our .bashrc file so we just
   # return, but we still setup a function to source it without returning
diff --git a/brc b/brc
index c62b940c57177d4c47a997205735da07f0b4930a..b47e4b8a8fff45c1b1a33c8ff669c3470bc98f6c 100644 (file)
--- a/brc
+++ b/brc
@@ -927,6 +927,8 @@ sl-local-test() {
     e sync
   elif [[ $remote == *.b8.nz ]]; then
     e skip
+  elif [[ $remote != *.* ]] && host $remote | grep -qP '^ *\w+.b8.nz has addr'; then
+    e skip
   fi
 }
 export SL_LOCAL_TEST_CMD=sl-local-test
index 639d5bb12335285883714781f5930929245ecda7..c8ed590373b3e5c31d4d8ab5636ccc62f7c8c7dc 100755 (executable)
@@ -555,8 +555,10 @@ sudo /a/exe/lnf -T /nocow/t /t
 # fi
 ###### end setup /i
 
-##### setup /nocow.
-# a nocow dir that is common to multiple distros installed on the same system
+##### setup /nocow. #####
+##
+# A nocow dir that is common to multiple distros installed on the same system. There is duplicate logic for nocow in /b/fai/fai/config/hooks/partition.DEFAULT
+#
 dir=/nocow
 if has_btrfs; then
   if ! mountpoint $dir; then
index 310c8d2127a1e2af2b26f5f646caa9a3f6530f1a..5fb5e2343d8eee8de4a8ce152c62efd84c5f7de1 100644 (file)
@@ -59,7 +59,7 @@ bindsym $mod+shift+w fullscreen toggle
 
 bindsym $mod+e $ex "i3-emacs"
 # unused
-bindsym $mod+shift+e $ex "sudo i3-misc1"
+bindsym $mod+shift+e $ex "sudo /usr/local/bin/i3-misc1"
 bindsym $mod+r $ex "/a/bin/ds/xl"
 
 bindsym $mod+backslash $ex "scrot"