Created
March 13, 2016 21:20
-
-
Save LaloHao/cfaff9de0777a47e7ce6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set $mode_search Search (g) google, (y) youtube, (d) D.O.I. paper | |
mode "$mode_search" { | |
bindsym g exec firefox "https://www.google.com.mx/?q=`xclip -o`", mode "default" | |
bindsym y exec firefox "https://www.youtube.com/results?search_query=`xclip -o`", mode "default" | |
bindsym d exec firefox "sci-hub.io/`xclip -o`", mode "default" | |
# back to normal: Enter or Escape | |
bindsym Return mode "default" | |
bindsym Escape mode "default" | |
} | |
bindsym $mod+Mod1+g mode "$mode_search" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment