summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-03-11 12:19:21 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-03-11 12:19:21 +0900
commit1064b771da600c95e315067c999f63ee0df4c641 (patch)
tree79d9149e70a590dd537e616a51ca85f06ea45808
parent478af29c9bc74e60fe28440796cb5cd2c1292d8b (diff)
modified lf/lfrc, modified mpv/input.conf
-rw-r--r--ar/.config/lf/lfrc2
-rw-r--r--ar/.config/mpv/input.conf5
2 files changed, 4 insertions, 3 deletions
diff --git a/ar/.config/lf/lfrc b/ar/.config/lf/lfrc
index 64b2c5f..61443f6 100644
--- a/ar/.config/lf/lfrc
+++ b/ar/.config/lf/lfrc
@@ -298,7 +298,7 @@ cmd open ${{
text/troff) groff -mom $fx -Tpdf | zathura - ;;
text/*|application/json|inode/x-empty|application/x-subrip) $EDITOR $fx;;
video/*) setsid -f mpv -quiet $f >/dev/null 2>&1 ;;
- *) for f in $fx; do setsid -f $OPENER $f >/dev/null 2>&1; done;;
+ *) for f in $fx; do setsid -f ${OPENER:-xdg-open} $f >/dev/null 2>&1; done;;
esac
}}
diff --git a/ar/.config/mpv/input.conf b/ar/.config/mpv/input.conf
index 87e7fe3..da86c5d 100644
--- a/ar/.config/mpv/input.conf
+++ b/ar/.config/mpv/input.conf
@@ -110,8 +110,9 @@ TAB script-binding visibility
alt+1 set current-window-scale 0.5 # Halve the window size
alt+2 set current-window-scale 1.0 # Reset the window size
alt+3 set current-window-scale 2.0 # Double the window size
-- add video-zoom -0.1 # Zoom out
-+ add video-zoom 0.1 # Zoom in
+- add video-zoom -0.1 # Zoom out
+= set video-zoom 0 # Zoom reset
++ add video-zoom 0.1 # Zoom in
[ script-binding UndoRedo/undo # Jump to previous position
{ script-binding UndoRedo/undoCaps # Jump to previous position
] script-binding UndoRedo/redo # Jump to undo position