Add an mpv keybind to run contents of clipboard

Mainly for grabbing links I'm going to mpv anyway without double-loading
in qutebrowser to run the spawn shortcut there.
This commit is contained in:
Trysdyn Black 2022-05-21 18:24:42 -07:00
parent a03f6f8ade
commit a7dad0c74a

View file

@ -78,6 +78,9 @@ bindsym $mod+space exec "rofi -show run"
# pcmanfm -- file manager
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`"
# change focus
bindsym $mod+Left focus left
bindsym $mod+Down focus down