mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2025-12-04 15:00:13 +01:00
feat: adds more functionality [C-x {s,r,e}] to nsxiv
This commit is contained in:
parent
cf62a257c8
commit
5f519133d9
1 changed files with 3 additions and 0 deletions
|
|
@ -12,6 +12,9 @@
|
|||
case "$1" in
|
||||
"w") setbg "$file" ;;
|
||||
"d") mv "$file" "$HOME/.trash/";;
|
||||
"s") mkdir -p "$HOME/temp" && cp "$file" "$HOME/temp" ;;
|
||||
"r") mkdir -p "$HOME/temp" && cp "$(basename "$file" ".JPG").RAF" "$HOME/temp" ;;
|
||||
"e") echo -e "'$(pwd)"/"$(basename "$file" ".JPG").RAF'\n'$(pwd)/""$file""'" ;;
|
||||
esac
|
||||
done
|
||||
'';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue