Download file from Github URL
echo 'https://github.com/dexpota/kitty-themes/blob/master/themes/Dark_Pastel.conf' | sed -e 's/blob/raw' | xargs -I {} wget {}
I had to download a bunch of themes so I put all the urls in a file. Session Buddy's export functionality came in clutch here.
Then I ran this snippet.
for url in (cat themes.list)
echo $url | sed -e 's/blob/raw' | xargs -I {} wget {}
end