1
0
mirror of https://github.com/tiyn/dotfiles.git synced 2025-10-12 20:41:16 +02:00

scripts: unified and renamed wallpaper script(s)

This commit is contained in:
2024-05-18 05:01:46 +02:00
parent f662768a04
commit 0ef1b10781
8 changed files with 38 additions and 58 deletions

View File

@@ -2,7 +2,8 @@
while read file
do
case "$1" in
"w") wallpaper "$file" & ;;
"w") wallpaper desktop "$file" & ;;
"l") wallpaper lock "$file" & ;;
"c")
[ -z "$destdir" ] && destdir="$(sed "s/\s.*#.*$//;/^\s*$/d" ~/.config/bmdirs | awk '{print $2}' | dmenu -l 20 -i -p "Copy file(s) to where?" | sed "s|~|$HOME|g")"
[ -z "$destdir" ] && exit