generation 522 25.11.20250714.62e0f05

This commit is contained in:
2025-10-09 00:48:03 -04:00
parent bf63403f1a
commit a6b0d36b35
3 changed files with 12 additions and 2 deletions

View File

@@ -1,3 +1,8 @@
# find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu | read rsem; yq ".url" "/home/synchronous/current-semester/$rsem/info.yaml" | xargs firefox
rsem=$(find /home/synchronous/current-semester -follow -maxdepth 1 | cut -c36- | sed '/^[[:space:]]*$/d' | rofi -dmenu)
yq ".url" "/home/synchronous/current-semester/$rsem/info.yaml" | xargs firefox
# Exit if nothing selected
[ -z "$rsem" ] && exit 0
# Get URL and open if it exists
url=$(yq -r ".url" "/home/synchronous/current-semester/$rsem/info.yaml")
[ -n "$url" ] && firefox "$url"