diff options
-rwxr-xr-x | .scripts/4chget | 2 | ||||
-rwxr-xr-x | .scripts/currwal | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/.scripts/4chget b/.scripts/4chget index 1317824..b4a7446 100755 --- a/.scripts/4chget +++ b/.scripts/4chget @@ -1,6 +1,6 @@ #!/bin/bash -rootpapesdir="$HOME/pix/wallpaper/4chget" +rootpapesdir="$HOME/pix/Wallpaper/4chget" [ -d "$rootpapesdir" ] || mkdir "$rootpapesdir" echo "Welcome to 4chan web/image scrapping script" diff --git a/.scripts/currwal b/.scripts/currwal new file mode 100755 index 0000000..f387be4 --- /dev/null +++ b/.scripts/currwal @@ -0,0 +1,7 @@ +#!/bin/bash + +currwallp=$(wpaperctl get-wallpaper eDP-1) + +echo $currwallp + +[[ "$1" == "-d" ]] && trash-put "$currwallp" && notify-send "Wallpaper sent to Trash" "$currwallp was sent to Trash" |