diff options
author | Saumit <justsaumit@protonmail.com> | 2024-08-25 20:50:56 +0530 |
---|---|---|
committer | Saumit <justsaumit@protonmail.com> | 2024-08-25 20:50:56 +0530 |
commit | c5a17009b9bdbc2abdcd2ea5a586d6d6404a4405 (patch) | |
tree | 084a7a3004cc1d648fe2ae179b210b3a4559cab3 | |
parent | f4b5c805fea44aba82b31a7e9f7a7ae2aed965de (diff) |
.scripts: Adding current wallp script and 4chget-correction in savepath
-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" |