Fork the desktop off Omarchy as a self-contained system

This commit is contained in:
2026-09-19 23:50:39 -04:00
parent 16a56f49a1
commit 9501f2bb4d
559 changed files with 43273 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/bin/bash
# blob:summary=Apply current Blob theme colors to running Foot terminals
# blob:hidden=true
colors_toml=$HOME/.local/state/blob/current/theme/colors.toml
if [[ ! -f $colors_toml ]] || ! pgrep -x foot >/dev/null; then
exit 0
fi
foot_osc=$(blob-theme-osc "$colors_toml")
[[ -n $foot_osc ]] || exit 0
for foot_pid in $(pgrep -x foot); do
for child_pid in $(pgrep -P "$foot_pid"); do
tty=$(readlink "/proc/$child_pid/fd/1" 2>/dev/null)
[[ $tty == /dev/pts/* ]] && printf '%b' "$foot_osc" >"$tty"
done
done