Package: luakit / 1:2.1-1

0002-Fix-a-few-defaults.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
From: Markus Demleitner <gavo@ari.uni-heidelberg.de>
Date: Fri, 4 Jan 2019 17:17:49 +0100
Subject: Fix a few defaults.

This replaces (and expands) jessie patch 2012.09.13-r1.1.
---
 lib/editor.lua | 4 ++--
 lib/window.lua | 6 +++---
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/lib/editor.lua b/lib/editor.lua
index ed9a6dc..d7d7d94 100644
--- a/lib/editor.lua
+++ b/lib/editor.lua
@@ -25,8 +25,8 @@ local _M = {}
 -- substitute in common values from the environment.
 local env_sub = function (s)
     local subs = {
-        term =  os.getenv("TERMINAL") or "xterm",
-        editor = os.getenv("EDITOR") or "vim"
+        term =  os.getenv("TERMINAL") or "x-terminal-emulator",
+        editor = os.getenv("EDITOR") or "editor"
     }
     return string.gsub(s,"{(%w+)}", subs)
 end
diff --git a/lib/window.lua b/lib/window.lua
index bf7e013..53a224b 100644
--- a/lib/window.lua
+++ b/lib/window.lua
@@ -830,10 +830,10 @@ settings.register_settings({
             duckduckgo  = "https://duckduckgo.com/?q=%s",
             github      = "https://github.com/search?q=%s",
             google      = "https://google.com/search?q=%s",
-            imdb        = "http://www.imdb.com/find?s=all&q=%s",
+            imdb        = "https://www.imdb.com/find?s=all&q=%s",
             wikipedia   = "https://en.wikipedia.org/wiki/Special:Search?search=%s",
-
-            default     = "https://google.com/search?q=%s",
+            debbugs     = "https://bugs.debian.org/%s",
+            default     = "https://duckduckgo.com/?q=%s",
         },
         desc = "The set of search engine shortcuts.",
         formatter = function (t, k)