initial import
This commit is contained in:
31
gmrun/libre.patch
Normal file
31
gmrun/libre.patch
Normal file
@@ -0,0 +1,31 @@
|
||||
--- a/data/gmrunrc 2021-05-08 11:59:21.000000000 +0800
|
||||
+++ b/data/gmrunrc 2021-06-25 17:06:45.019402209 +0800
|
||||
@@ -43,20 +43,21 @@
|
||||
#=======================================================================
|
||||
|
||||
# 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".
|
||||
+# If the entered text is "https://search.disroot.org" then:
|
||||
+# - %u gets replaced with the whole URL ("https://search.disroot.org")
|
||||
+# - %s gets replaced with "//search.disroot.org".
|
||||
# useful for URL's like "man:printf" --> %s becomes printf
|
||||
URL_http = xdg-open '%u'
|
||||
+URL_https = xdg-open '%u'
|
||||
URL_mailto = xdg-email '%u'
|
||||
URL_file = xdg-open '%s'
|
||||
URL_man = ${TermExec} man %s
|
||||
URL_info = ${TermExec} info %s
|
||||
-URL_search = xdg-open 'http://www.google.com/search?q=%s'
|
||||
+URL_search = xdg-open 'https://search.disroot.org/search?q=%s'
|
||||
|
||||
# extension handlers
|
||||
# Customize your own extension handler.
|
||||
# syntax-> EXT:ext,etc = handler '%s'
|
||||
-EXT:doc,rtf,txt,cc,cpp,h,java,html,htm,epl,tex,latex,js,css,xml,xsl,am,ps,pdf = xdg-open '%s'
|
||||
-EXT:mkv,mp4,avi,asf,wmv = xdg-open '%s'
|
||||
-EXT:mp3,flac,ogg,aac,wav = xdg-open '%s'
|
||||
+EXT:txt,odt,doc,docx,rtf,pdf,htm,html,js,css,xml,xsl,tex,latex,ps,am,cc,cpp,h,epl = xdg-open '%s'
|
||||
+EXT:webm,mkv,mp4,avi,asf,wmv = xdg-open '%s'
|
||||
+EXT:opus,ogg,flac,mp3,aac,wav = xdg-open '%s'
|
||||
Reference in New Issue
Block a user