Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add gmrunrc

  • Loading branch information...
commit 76a65ba64631202707eb86183d6a38330cffa114 1 parent 89566ca
Aldis Berjoza authored
Showing with 46 additions and 0 deletions.
  1. +46 −0 dot.gmrunrc
View
46 dot.gmrunrc
@@ -0,0 +1,46 @@
+# gmrun configuration file
+# gmrun is (C) Mihai Bazon, <mishoo@infoiasi.ro>
+# GPL v2.0 applies
+
+# Set terminal
+Terminal = urxvtc
+TermExec = ${Terminal} -e
+AlwaysInTerm = lynx vi vim perldoc man elinks mutt
+
+# Set window geometry (except height)
+Width = 400
+Top = 100
+Left = 200
+
+# History size
+History = 256
+
+# Shows last history line selected when invoked
+ShowLast = 1
+
+# Show files starting with '.'
+# Default is 0 (off), set it to 1 if you want "hidden" files to show up
+# in the completion window
+ShowDotFiles = 0
+
+# Timeout (in milliseconds) after which gmrun will simulate a TAB press
+# Set this to NULL if don't like this feature.
+TabTimeout = 0
+
+# URL handlers
+# If the entered text is "http://www.google.com" then:
+# - %u gets replaced with the whole URL ("http://www.google.com")
+# - %s gets replaced with "//www.google.com". This is useful for URL-s
+# like "man:printf" --> %s will get replaced with "printf"
+URL_file = nautilus %s
+URL_http = src/wmscripts/browser.sh "%u"
+URL_info = ${TermExec} info %s
+URL_mail = claws-mail --compose "%s"
+URL_man = ${TermExec} man %s
+URL_pd = ${TermExec} perldoc %s
+URL_sh = sh -c '%s'
+
+# extension handlers
+EXT:doc,rtf = libreoffice %s
+EXT:txt,cc,cpp,h,java,html,htm,epl,tex,latex,js,css,xml,xsl,am,conf,rc,c = vim %s
+EXT:pdf = zathura %s
Please sign in to comment.
Something went wrong with that request. Please try again.