2022-02-06 00:15:14 -07:00
|
|
|
#!/bin/zsh
|
2021-11-05 23:42:38 -06:00
|
|
|
|
|
|
|
tmux new -d -s apps -n 'foreman' 'htop' \; \
|
2024-04-08 19:11:39 -06:00
|
|
|
split-window -d -t apps:foreman "clear; echo 'Keeping apps fresh...'; while true; do sleep 30; done" \
|
2021-11-05 23:42:38 -06:00
|
|
|
2>/dev/null
|
|
|
|
|
2025-02-19 21:56:37 -07:00
|
|
|
${XDG_DATA_HOME}/home/w0ryn/.local/share/project-source-code/yage/dotwryn/code/config/local/pikachu/bin
|
|
|
|
for APP in $(find "${0:a:h}" -name apps.\*)
|
2021-11-05 23:42:38 -06:00
|
|
|
do
|
2024-04-08 19:11:39 -06:00
|
|
|
echo "looking for $APP"
|
2021-11-05 23:42:38 -06:00
|
|
|
tmux list-windows -t apps: | awk '{print $2;}' | grep -q $APP \
|
|
|
|
|| tmux new-window -dn $APP -t apps: "${0:a:h}/$APP"
|
|
|
|
done
|