add mpv and imv
This commit is contained in:
parent
cbe16320bb
commit
c2e302aed6
14
config.yaml
14
config.yaml
|
@ -31,6 +31,8 @@ profiles:
|
|||
- fusuma
|
||||
- alacritty
|
||||
- mpd
|
||||
- imv
|
||||
- mpv
|
||||
- dav
|
||||
- mutt
|
||||
- crontab
|
||||
|
@ -144,6 +146,14 @@ dotfiles:
|
|||
kanshi:
|
||||
src: kanshi
|
||||
dst: ~/.config/kanshi/config
|
||||
imv:
|
||||
src: imv.conf
|
||||
dst: ~/.config/imv/config
|
||||
mpv:
|
||||
src : mpv.conf
|
||||
dst: ~/.config/mpv/mpv.conf
|
||||
actions:
|
||||
- sponsorblock
|
||||
actions:
|
||||
notify: notify-send "Updating dotfiles"
|
||||
makoreload: makoctl reload
|
||||
|
@ -160,3 +170,7 @@ actions:
|
|||
crontab_install: |
|
||||
crontab -r
|
||||
crontab ~/.local/share/crontab
|
||||
sponsorblock: >
|
||||
git clone
|
||||
https://github.com/po5/mpv_sponsorblock
|
||||
~/.config/mpv/scripts
|
||||
|
|
|
@ -0,0 +1,62 @@
|
|||
# Default config for imv
|
||||
|
||||
[options]
|
||||
|
||||
# Suppress built-in key bindings, and specify them explicitly in this
|
||||
# config file.
|
||||
suppress_default_binds = true
|
||||
initial_pan = 50 0
|
||||
scaling_mode = crop
|
||||
|
||||
[aliases]
|
||||
# Define aliases here. Any arguments passed to an alias are appended to the
|
||||
# command.
|
||||
# alias = command to run
|
||||
|
||||
[binds]
|
||||
# Define some key bindings
|
||||
q = quit
|
||||
y = exec wl-copy < $imv_current_file
|
||||
|
||||
# Image navigation
|
||||
<Left> = prev
|
||||
<bracketleft> = prev
|
||||
<Right> = next
|
||||
<bracketright> = next
|
||||
gg = goto 0
|
||||
<Shift+G> = goto -1
|
||||
|
||||
# Panning
|
||||
{{@@ key.left @@}} = pan 50 0
|
||||
{{@@ key.down @@}} = pan 0 -50
|
||||
{{@@ key.up @@}} = pan 0 50
|
||||
{{@@ key.right @@}}= pan -50 0
|
||||
|
||||
# Zooming
|
||||
<Up> = zoom 1
|
||||
<Shift+plus> = zoom 1
|
||||
i = zoom 1
|
||||
<Down> = zoom -1
|
||||
<minus> = zoom -1
|
||||
o = zoom -1
|
||||
|
||||
# Other commands
|
||||
x = close
|
||||
f = fullscreen
|
||||
d = overlay
|
||||
p = exec echo $imv_current_file
|
||||
c = center
|
||||
{{@@ key.next @@}} = scaling next
|
||||
<Shift+{{@@ key.next.upper() @@}}> = upscaling next
|
||||
a = zoom actual
|
||||
r = reset
|
||||
|
||||
# Gif playback
|
||||
<period> = next_frame
|
||||
<space> = toggle_playing
|
||||
|
||||
# Slideshow control
|
||||
w = slideshow +1
|
||||
<Shift+W> = slideshow -1
|
||||
|
||||
# vim: ft=dosini:commentstring=#\ %s
|
|
@ -0,0 +1,2 @@
|
|||
ytdl-format='bestvideo[height<=1080][vcodec!=vp9]+bestaudio'
|
||||
osd-fractions
|
Reference in New Issue