From 1968ce40df57ff5d5de594ca3cf76a413acdfb37 Mon Sep 17 00:00:00 2001 From: mishoo Date: Fri, 27 Jul 2001 08:01:58 +0000 Subject: [PATCH] modified for URL-s also, added some small comments to make content clearer for user. --- config/gmrunrc | 35 +++++++++++++++++++++++++++-------- 1 file changed, 27 insertions(+), 8 deletions(-) diff --git a/config/gmrunrc b/config/gmrunrc index 87c4975..6c03c30 100644 --- a/config/gmrunrc +++ b/config/gmrunrc @@ -1,17 +1,36 @@ -# set terminal -TermOptions = -cr green -C -fn 9x15 -sl 8912 -TermGeometry = -geometry 100x40 +# gmrun configuration file +# gmrun is (C) Mihai Bazon, +# GPL v2.0 applies -MyTerm = rxvt -Terminal = ${MyTerm} ${TermOptions} ${TermGeometry} +# Set terminal +Terminal = gnome-terminal --start-factory-server --use-factory TermExec = ${Terminal} -e -# set width -Width = 250 + + +# Set window geometry (except height) +Width = 400 Top = 100 Left = 50 + + # History size -History = 50 +History = 256 + + + +# 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_http = mozilla -url %u +URL_mailto = mozilla -mail %u +URL_man = ${TermExec} 'man %s' +URL_file = xftree %s +URL_readme = ${TermExec} 'less /usr/doc/%s/README' +URL_info = ${TermExec} 'info %s'