Merge 63cc559e8152a4718352f1e32dc8c47b8d6c2d32 into c38de1d262b091584d88c3346622fa1565ee9b1a

This commit is contained in:
mamizaxyz 2022-04-10 20:50:07 +04:30 committed by GitHub
commit cbef5c311a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 1 deletions

View File

@ -90,6 +90,14 @@ cmd copyto ${{
notify-send "📋 File(s) copied." "File(s) copies to $dest." notify-send "📋 File(s) copied." "File(s) copies to $dest."
}} }}
cmd chmod ${{
clear; tput cup $(($(tput lines)/3)); tput bold
set -f
clear; printf "Mode: "
read -r mod
chmod $mod $fx
}}
cmd setbg "$1" cmd setbg "$1"
cmd bulkrename $vidir cmd bulkrename $vidir
@ -102,6 +110,7 @@ map D delete
map E extract map E extract
map C copyto map C copyto
map M moveto map M moveto
map <c-m> chmod
map <c-n> push :mkdir<space> map <c-n> push :mkdir<space>
map <c-r> reload map <c-r> reload
map <c-s> set hidden! map <c-s> set hidden!

View File

@ -20,7 +20,7 @@ do
"f") "f")
convert -flop "$file" "$file" ;; convert -flop "$file" "$file" ;;
"y") "y")
echo -n "$file" | tr -d '\n' | xclip -selection clipboard && echo "$file" | tr -d '\n' | xclip -selection clipboard &&
notify-send "$file copied to clipboard" & ;; notify-send "$file copied to clipboard" & ;;
"Y") "Y")
readlink -f "$file" | tr -d '\n' | xclip -selection clipboard && readlink -f "$file" | tr -d '\n' | xclip -selection clipboard &&