mirror of
https://codeberg.org/hyperreal/bin
synced 2024-11-01 16:43:08 +01:00
Add gumstarred, rofistarred
This commit is contained in:
parent
06c3246989
commit
d79f833449
6
gumstarred
Normal file
6
gumstarred
Normal file
@ -0,0 +1,6 @@
|
||||
#!/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 '"')
|
||||
|
||||
xdg-open "https://github.com/$(echo "$starred_repos" | gum choose --limit=1)"
|
6
rofistarred
Executable file
6
rofistarred
Executable file
@ -0,0 +1,6 @@
|
||||
#!/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/{}"
|
Loading…
Reference in New Issue
Block a user