Skip to content

Commit

Permalink
✨ Added refjump
Browse files Browse the repository at this point in the history
  • Loading branch information
mostafaqanbaryan committed Sep 19, 2024
1 parent b105114 commit c292801
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions nvim/lua/plugins/refjump.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
return {
'mawkler/refjump.nvim',
keys = { ']r', '[r' },
opts = {}
}
4 changes: 2 additions & 2 deletions scripts/bing-wallpaper
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ tmp=/tmp/lockscreen.jpg
directory=${LOCK_SCREEN_WALLPAPER_PATH:-"$HOME/Pictures/wallpapers"}
output=${WALLPAPER_OUTPUT:-"*"}
baseurl="https://www.bing.com/"
result=$(proxychains curl $baseurl"HPImageArchive.aspx?format=js&idx=0&n=20&mkt=en-US" -s)
result=$(curl $baseurl"HPImageArchive.aspx?format=js&idx=0&n=20&mkt=en-US" -s)
images=$(echo $result | jq '.images[]')
urls=( $(echo $images | jq -r '.url') )
dates=( $(echo $images | jq -r '.startdate') )
Expand All @@ -25,7 +25,7 @@ for url in "${urls[@]}"; do
filename=${dates[$counter]}.jpg
counter=$[$counter+1]
if [ ! -e $directory/$filename ]; then
proxychains aria2c "$baseurl$url" -q -d $directory -o $filename
aria2c "$baseurl$url" -q -d $directory -o $filename
fi
done
IFS=$oldIFS

0 comments on commit c292801

Please sign in to comment.