config swap & a couple of bugs

This commit is contained in:
2025-08-09 09:26:07 -06:00
parent 882ea6ebc1
commit 0efb33c947
24 changed files with 158 additions and 137 deletions

View File

@@ -62,8 +62,11 @@ ${scwryptsmodule}() {
s^\([ ]\+status_command\) .*$\1 $(GET .bar.status)
s^\(set \$refresh_statusbar\) .*$\1 $(GET .bar.refresh)
s/^\(gaps inner\) .*$/\1 $(GET .gaps.inner)/
s/^\(gaps outer\) .*$/\1 $(GET .gaps.outer)/
s/^\(workspace \"[13579]\" gaps inner\) .*$/\1 $(GET .gaps.odd.inner)/
s/^\(workspace \"[13579]\" gaps outer\) .*$/\1 $(GET .gaps.odd.outer)/
s/^\(workspace \"[24680]\" gaps inner\) .*$/\1 $(GET .gaps.even.inner)/
s/^\(workspace \"[24680]\" gaps outer\) .*$/\1 $(GET .gaps.even.outer)/
s/^\(# color settings\).*$/\1 (theme '$(basename $(readlink -f "$DOTWRYN/config/colorschemes/active/main.conf") | sed 's/\.conf//')')/

View File

@@ -97,7 +97,7 @@ do
scwrypts --name test --group remote --type zsh \
-- \
--name ${REMOTE_NAME} \
--command 'command -v tmux' \
--command 'source ~/.zprofile &>/dev/null; command -v tmux' \
&>>"${OMNI_LOGFILE}" \
&& export CAN_CONNECT__${REMOTE_NAME}=true \
|| export CAN_CONNECT__${REMOTE_NAME}=false \