From e5b21a77a526e03e9d68e10f8857cad1674782e6 Mon Sep 17 00:00:00 2001 From: Saumit Dinesan Date: Sun, 12 Jun 2022 04:54:40 +0530 Subject: updating aliasrc and few scripts --- .config/shell/aliasrc | 2 +- .config/sxiv/exec/key-handler | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to '.config') diff --git a/.config/shell/aliasrc b/.config/shell/aliasrc index 3ea8341..ac15b10 100644 --- a/.config/shell/aliasrc +++ b/.config/shell/aliasrc @@ -48,7 +48,7 @@ alias \ neofetch="neofetch --ascii .config/neofetch/arch-ascii.txt" \ ranger='ranger --choosedir=$HOME/.rangerdir; LASTDIR=`cat $HOME/.rangerdir`; cd "$LASTDIR"'\ scr="ffmpeg -f x11grab -i :0.0 out.mp4" \ - ss="maim -D -u --select | tee ~/Pictures/Screenshots/pic-sel-$(date '+%y-%m-%d--%H-%M-%S').png | xclip -selection clipboard -t image/png" \ + ss="maim -D -u --select | tee ~/pix/Screenshots/pic-sel-$(date '+%y-%m-%d--%H-%M-%S').png | xclip -selection clipboard -t image/png" \ pas="pulseaudio --start" \ pak="pulseaudio --kill" \ pm="pulsemixer" \ diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler index 0d25a50..cc36dca 100755 --- a/.config/sxiv/exec/key-handler +++ b/.config/sxiv/exec/key-handler @@ -6,8 +6,10 @@ do trash-put "$file";; "r") convert -rotate 90 "$file" "$file" ;; + "R") + convert -rotate 270 "$file" "$file" ;; "c") - echo -n "$file" | xclip -selection clipboard ;; + xclip -sel c -t image/png -i $file ;; "s") setbg "$file";; "i") -- cgit v1.2.3