From a7dad0c74a5bcb7ee7a2375bc80fdab70d3289e2 Mon Sep 17 00:00:00 2001 From: Trysdyn Black Date: Sat, 21 May 2022 18:24:42 -0700 Subject: [PATCH] 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. --- .config/sway/config | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.config/sway/config b/.config/sway/config index 436351d..a46ac36 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -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