šŸ“¦āž”šŸ¦‹ Store and retrieve files on the Atmosphere
35
fork

Configure Feed

Select the types of activity you want to include in your feed.

various

Ducky c1fb750a 3081ba07

+13 -4
+13 -4
atfile.sh
··· 1877 1877 app_bridgyfed="https://fed.brid.gy/bsky/$handle" 1878 1878 app_frontpage="https://frontpage.fyi/profile/$handle" 1879 1879 app_internect="" 1880 + app_pdsls="https://pdsls.dev/at/$did" 1880 1881 app_whitewind="https://whtwnd.com/$handle" 1881 1882 1882 1883 if [[ $did_type == "did:plc" ]]; then ··· 1896 1897 \"BridgyFed\": \"$app_bridgyfed\", 1897 1898 \"Frontpage\": \"$app_frontpage\", 1898 1899 \"Internect\": $(if [[ -z $app_internect ]]; then echo "null"; else echo "\"$app_internect\""; fi), 1900 + \"PDSls\": \"$app_pdsls\", 1899 1901 \"Whitewind\": \"$app_whitewind\" 1900 1902 }, 1901 1903 \"did\": \"$did\", ··· 1918 1920 [[ -n $app_bridgyfed ]] && echo " ↳ Bridgy Fed: $app_bridgyfed" 1919 1921 echo " ↳ Frontpage: $app_frontpage" 1920 1922 [[ -n $app_internect ]] && echo " ↳ Internect: $app_internect" 1923 + echo " ↳ PDSls: $app_pdsls" 1921 1924 echo " ↳ Whitewind: $app_whitewind" 1922 1925 fi 1923 1926 } ··· 2403 2406 skip_resolving=0 2404 2407 2405 2408 if [[ $_is_sourced == 0 ]]; then 2406 - # NOTE: Speeds things up a little if the user is overriding actor 2407 - # Keep this in-sync with the main command case below! 2409 + # NOTE: Speeds things up a little if the user is overriding actor 2410 + # Keep this in-sync with the main command case below! 2408 2411 if [[ $_command == "cat" && -n "$3" ]] ||\ 2409 2412 [[ $_command == "fetch" && -n "$3" ]] ||\ 2410 2413 [[ $_command == "fetch-crypt" && -n "$3" ]] ||\ ··· 2412 2415 [[ $_command == "list" ]] && [[ "$2" == *.* || "$2" == did:* ]] ||\ 2413 2416 [[ $_command == "list" && -n "$3" ]] ||\ 2414 2417 [[ $_command == "url" && -n "$3" ]]; then 2415 - atfile.say.debug "Skipping identity resolving\n↳ Actor is overridden" 2416 - skip_resolving=1 2418 + atfile.say.debug "Skipping identity resolving\n↳ Actor is overridden" 2419 + skip_resolving=1 2420 + fi 2421 + 2422 + # NOTE: Speeds things up a little if the command doesn't need actor resolving 2423 + if [[ $_command == "resolve" ]]; then 2424 + atfile.say.debug "Skipping identity resolving\n↳ Not required for command '$_command'" 2425 + skip_resolving=1 2417 2426 fi 2418 2427 fi 2419 2428