Browse Source

Add shortcut to open PRIMARY selection using xdg-open

Frans Bergman 6 years ago
parent
commit
5797d50d9c
1 changed files with 2 additions and 0 deletions
  1. 2 0
      .config/i3/config

+ 2 - 0
.config/i3/config

@@ -28,6 +28,8 @@ bindsym XF86AudioPrev exec --no-startup-id playerctl previous
 bindsym Mod1+Ctrl+l exec "~/.scripts/lock.sh && echo mem | sudo /usr/bin/tee /sys/power/state"
 # Type password
 bindsym Mod1+p exec passmenu --type -i 
+# Open URL in PRIMARY selection
+bindsym Mod1+o exec xdg-open $(xsel -po)
 
 # Take a screenshot
 bindsym Print exec --no-startup-id "~/.scripts/screenshot.sh"