summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSaumit Dinesan <justsaumit@protonmail.com>2022-07-04 10:43:21 +0530
committerSaumit Dinesan <justsaumit@protonmail.com>2022-07-04 10:43:21 +0530
commit7631fefc29e95a89d9a6c243456af6e7a43b1801 (patch)
tree21978f3575f3e30cc7941ebd9b1991223a365521
parent11da908b78b474dc8b574f9dea695c633fd8a88f (diff)
mpv and sxiv config file changes
-rw-r--r--.config/mpv/input.conf14
-rwxr-xr-x.config/sxiv/exec/key-handler4
2 files changed, 11 insertions, 7 deletions
diff --git a/.config/mpv/input.conf b/.config/mpv/input.conf
index a90e1ef..20789ee 100644
--- a/.config/mpv/input.conf
+++ b/.config/mpv/input.conf
@@ -1,7 +1,7 @@
# seek 10 seconds backward
-LEFT seek -10
+LEFT seek -5
# seek 10 seconds forward
-RIGHT seek 10
+RIGHT seek 5
# seek 1 minute backward
Shift+LEFT seek -60
@@ -17,8 +17,8 @@ Shift+PGDWN seek -600
HOME seek 0 absolute
-j seek -5
-l seek 5
+j seek -10
+l seek 10
# toggle pause/playback mode
k cycle pause
@@ -33,6 +33,10 @@ c cycle sub
UP add volume 2
DOWN add volume -2
+WHEEL_UP add volume 5
+WHEEL_DOWN add volume -5
+
+
# decrease the playback speed
[ multiply speed 1/1.1
b multiply speed 1/1.1
@@ -129,7 +133,7 @@ s screenshot # take a screenshot of the video in its o
#CLOSE_WIN {encode} quit 4
#ctrl+w quit
#E cycle edition # switch edition
-#l ab-loop # set/clear A-B loop points
+Ctrl+l ab-loop # set/clear A-B loop points
#L cycle-values loop-file "inf" "no" # toggle infinite looping
#ctrl+c quit 4
#DEL script-binding osc/visibility # cycle OSC visibility between never, auto (mouse-move) and always
diff --git a/.config/sxiv/exec/key-handler b/.config/sxiv/exec/key-handler
index cc36dca..4543963 100755
--- a/.config/sxiv/exec/key-handler
+++ b/.config/sxiv/exec/key-handler
@@ -9,10 +9,10 @@ do
"R")
convert -rotate 270 "$file" "$file" ;;
"c")
- xclip -sel c -t image/png -i $file ;;
+ xclip -sel c -t image/png -i "$file" ;;
"s")
setbg "$file";;
"i")
- convert $file -channel RGB -negate /tmp/output.png && sxiv -f /tmp/output.png ;;
+ convert "$file" -channel RGB -negate /tmp/output.png && sxiv -f /tmp/output.png ;;
esac
done