Make mpv called from sway handle images
This just adds `--image-display-duration=inf` so if I grab a URL and open it in mpv with Sway's hotkey, it doesn't blink on for a few frames then exit.
This commit is contained in:
parent
2fc8d0a041
commit
990823382f
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ bindsym $mod+space exec "rofi -show run"
|
|||
bindsym $mod+Shift+Return exec "pcmanfm"
|
||||
|
||||
# open clipboard selection in mpv, for grabbng links from chat/email
|
||||
bindsym $mod+m exec "mpv --force-window --title=`wl-paste -p` `wl-paste -p`"
|
||||
bindsym $mod+m exec "mpv --image-display-duration=inf --force-window --title=`wl-paste -p` `wl-paste -p`"
|
||||
|
||||
# change focus
|
||||
bindsym $mod+Left focus left
|
||||
|
|
Loading…
Add table
Reference in a new issue