added misc scripts

This commit is contained in:
Tiago Sousa 2023-10-02 10:53:43 +01:00
parent 52dfbd0ffc
commit 775a72f204

7
.config/scripts/wgetbb.sh Executable file
View file

@ -0,0 +1,7 @@
#!/usr/bin/bash
creds=~/.bb-creds
username=$(awk -F '=' '/username/ {print $2}' $creds)
password=$(awk -F '=' '/password/ {print $2}' $creds)
wget --user="$username" --password="$password" "$1"