bin/rofistarred

7 lines
324 B
Plaintext
Raw Normal View History

2023-09-02 15:24:48 +02:00
#!/usr/bin/env bash
USERNAME="hyperreal64"
starred_repos=$(curl -s "https://api.github.com/users/${USERNAME}/starred?per_page=1000" | jq '.[] | .full_name' | tr -d '"')
echo "$starred_repos" | rofi -dmenu -p "GitHub Starred" -theme-str 'window { width: 40em; height: 40em; }' | xargs -I{} xdg-open "https://github.com/{}"