AutoYADM commit: 2025-06-03 20:05:22

This commit is contained in:
Daniel Fichtinger 2025-06-03 20:05:22 -04:00
parent d962ff6dc2
commit e889b84eca
6 changed files with 595 additions and 1 deletions

View file

@ -0,0 +1,9 @@
#!/usr/bin/env bash
if [[ $1 -eq 'list' ]] && [[ -z $QUTE_COUNT ]];
then
PORTS="$(ss -nltp | tail -n +2 | awk '{print $4}' | awk -F: '{print $2}')"
QUTE_COUNT=$(echo "$PORTS" | dmenu )
fi
echo open -t localhost:${QUTE_COUNT:-8080} > $QUTE_FIFO