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 /.scripts/currwal | |
parent | f4b5c805fea44aba82b31a7e9f7a7ae2aed965de (diff) |
.scripts: Adding current wallp script and 4chget-correction in savepath
Diffstat (limited to '.scripts/currwal')
-rwxr-xr-x | .scripts/currwal | 7 |
1 files changed, 7 insertions, 0 deletions
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" |