switch to luakit from qutebrowser

This commit is contained in:
2025-11-21 07:55:49 +01:00
parent e505b86602
commit 1246aaf100
3 changed files with 13 additions and 4 deletions

View File

@@ -318,6 +318,7 @@ in
nnn
nix-tree
xsecurelock
luakit
]
);
@@ -561,9 +562,9 @@ in
"application/pdf" = "org.pwmt.zathura.desktop";
"image/png" = "feh.desktop";
"image/jpeg" = "feh.desktop";
"text/html" = "qutebrowser-new.desktop";
"x-scheme-handler/http" = "org.qutebrowser.qutebrowser.desktop";
"x-scheme-handler/https" = "org.qutebrowser.qutebrowser.desktop";
"text/html" = "luakit.desktop";
"x-scheme-handler/http" = "luakit.desktop";
"x-scheme-handler/https" = "luakit.desktop";
};
};

View File

@@ -125,6 +125,14 @@ in
'';
};
xdg.configFile."luakit/userconf.lua".text = ''
local settings = require "settings"
settings.window.home_page = "https://kagi.com/"
local engines = settings.window.search_engines
engines.kagi = "https://kagi.com/search?q=%s"
engines.default = engines.kagi
'';
home.sessionVariables = {
EDITOR = "nvim";
};

View File

@@ -51,7 +51,7 @@ myConfig =
logHook = historyHook
}
`additionalKeysP` [ ("M-b", spawn browser),
("M-c", spawn "qutebrowser"),
("M-c", spawn "luakit"),
("M-m", spawn "thunderbird"),
-- , ("M-t", spawn terminal)
-- , ("M-S-Enter", spawn terminal)