generation 522 25.11.20250714.62e0f05
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user