diff options
-rwxr-xr-x | .scripts/4chget | 4 | ||||
-rwxr-xr-x | .scripts/4chgettofi | 3 | ||||
-rwxr-xr-x | .scripts/bts | 3 | ||||
-rwxr-xr-x | .scripts/work | 5 |
4 files changed, 9 insertions, 6 deletions
diff --git a/.scripts/4chget b/.scripts/4chget index b4a7446..43e4f7c 100755 --- a/.scripts/4chget +++ b/.scripts/4chget @@ -34,10 +34,10 @@ read thread case "$option" in "wg") - wget -P "$parentdir/$dir" -nd -r -l 1 -H -D i.4cdn.org,is2.4chan.org -A png,jpg,jpeg -R '*s.*' https://boards.4chan.org/wg/thread/"$thread" ;; + wget -P "$parentdir/$dir" -nd -r -l 1 -H -D i.4cdn.org,is2.4chan.org,is2.4channel.org -A png,jpg,jpeg -R '*s.*' https://boards.4chan.org/wg/thread/"$thread" ;; "w") - wget -P "$parentdir/$dir" -nd -r -l 1 -H -D i.4cdn.org,is2.4chan.org -A png,jpg,jpeg -R '*s.*' https://boards.4channel.org/w/thread/"$thread" ;; + wget -P "$parentdir/$dir" -nd -r -l 1 -H -D i.4cdn.org,is2.4chan.org,is2.4channel.org -A png,jpg,jpeg -R '*s.*' https://boards.4chan.org/w/thread/"$thread" ;; esac echo "Wallpapers downloaded successfully." diff --git a/.scripts/4chgettofi b/.scripts/4chgettofi index ee88553..a820059 100755 --- a/.scripts/4chgettofi +++ b/.scripts/4chgettofi @@ -5,7 +5,8 @@ while [[ "$option" != "w" && "$option" != "wg" ]]; do option=$(echo -e "wg\nw" | tofi --prompt-text "Is it wallpaper/general (wg) or anime wallpaper (w)?") done -[[ $option == "w" ]] && parentdir="$rootpapesdir/w" && nel="nel" || parentdir="$rootpapesdir/wg" +#[[ $option == "w" ]] && parentdir="$rootpapesdir/w" && nel="nel" || parentdir="$rootpapesdir/wg" +[[ $option == "w" ]] && parentdir="$rootpapesdir/w" || parentdir="$rootpapesdir/wg" while true; do dir=$(tofi --prompt-text "Enter folder name: " --require-match=false </dev/null) diff --git a/.scripts/bts b/.scripts/bts index 445bdcb..b78f9b9 100755 --- a/.scripts/bts +++ b/.scripts/bts @@ -5,7 +5,8 @@ option=$(echo -e "Connect\nDisconnect\nChange profile\nReset pulseaudio"| tofi - #MAC="76:67:11:36:64:A2" #MAC="E4:59:37:44:27:7A" #MAC="2E:85:79:56:B1:D7" -MAC="28:B7:7B:AB:C9:92" +#MAC="28:B7:7B:AB:C9:92" +MAC="EF:9F:2E:52:9E:45" case $option in "Connect") status=$(systemctl is-active bluetooth) diff --git a/.scripts/work b/.scripts/work index fb3f1a5..6903842 100755 --- a/.scripts/work +++ b/.scripts/work @@ -1,6 +1,7 @@ #!/bin/sh -content="$@" +content="$*" + today=$(date +%d%m%y) -x "$today: $content" +x -t "$today: $content" |