mirror of
https://github.com/fredrikr79/nixos.git
synced 2026-01-12 09:53:07 +01:00
switch to luakit from qutebrowser
This commit is contained in:
@@ -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";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
8
home.nix
8
home.nix
@@ -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";
|
||||
};
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user