Nyxt performance maybe fixed? Switch back to nyxt as main with backup
chromium
This commit is contained in:
parent
63a2787959
commit
8d9bd3e607
|
@ -17,9 +17,7 @@
|
|||
../swaync/default.nix
|
||||
../alacritty/default.nix
|
||||
../emacs/default.nix
|
||||
../firefox/default.nix
|
||||
../nyxt/default.nix
|
||||
../qutebrowser/default.nix
|
||||
../obs/default.nix
|
||||
];
|
||||
programs.rofi = with pkgs; {
|
||||
|
@ -240,8 +238,7 @@
|
|||
"SUPER, Return, exec, ${alacritty.package}/bin/alacritty"
|
||||
"SUPER SHIFT, Return, exec, ${emacs.finalPackage}/bin/emacsclient -c"
|
||||
"SUPER, S, exec, ${alacritty.package}/bin/alacritty -e btm --group --battery"
|
||||
"SUPER, W, exec, ${qutebrowser.package}/bin/qutebrowser"
|
||||
"SUPER SHIFT, W, exec, ${pkgs.nyxt}/bin/nyxt --no-socket --with-file bookmarks=${../nyxt/bookmarks.lisp}"
|
||||
"SUPER, W, exec, ${pkgs.nyxt}/bin/nyxt --no-socket --with-file bookmarks=${../nyxt/bookmarks.lisp}"
|
||||
|
||||
# Misc useful binds
|
||||
'',Print,exec,${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)"''
|
||||
|
|
|
@ -6,29 +6,6 @@
|
|||
((glyph-mode-presentation-p t)
|
||||
(display-tabs-by-last-access-p t)))
|
||||
|
||||
(define-configuration context-buffer
|
||||
((search-engines (list
|
||||
(make-instance 'search-engine
|
||||
:name "Wikipedia"
|
||||
:shortcut "wiki"
|
||||
:search-url "https://en.wikipedia.org/w/index.php?search=~a"
|
||||
:fallback-url (quri.uri:uri "https://en.wikipedia.org/"))
|
||||
(make-instance 'search-engine :name "MyNixOS"
|
||||
:shortcut "mn"
|
||||
:search-url "https://mynixos.com/search?q=~a"
|
||||
:fallback-url (quri.uri:uri "https://mynixos.com/"))
|
||||
(make-instance 'search-engine
|
||||
:name "DuckDuckGo"
|
||||
:shortcut "ddg"
|
||||
:search-url "https://html.duckduckgo.com/html/?q=~a"
|
||||
:fallback-url (quri.uri:uri "https://html.duckduckgo.com/html/"))
|
||||
(make-instance 'search-engine
|
||||
:name "Atlas SearXNG instance"
|
||||
:shortcut "a"
|
||||
:search-url
|
||||
"https://search.atlas.engineer/searxng/search?q=~a"
|
||||
:fallback-url (quri.uri:uri "https://search.atlas.engineer"))))))
|
||||
|
||||
(define-configuration browser
|
||||
((restore-session-on-startup-p nil)
|
||||
(theme (make-instance
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{pkgs, ...}: {
|
||||
imports = [./desktop.nix ./firefox.nix ./chromium.nix];
|
||||
imports = [./desktop.nix ./chromium.nix];
|
||||
nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
|
||||
environment = {
|
||||
sessionVariables = {
|
||||
|
@ -39,7 +39,7 @@
|
|||
};
|
||||
xdg.mime = let
|
||||
emacs = ["emacsclient.desktop" "emacs.desktop"];
|
||||
browser = ["firefox.desktop" "org.qutebrowser.qutebrowser.desktop" "nyxt.desktop"];
|
||||
browser = ["nyxt.desktop" "chromium-browser.desktop"];
|
||||
applications = {
|
||||
"image/jpeg" = ["swayimg.desktop"] ++ emacs;
|
||||
"image/png" = ["swayimg.desktop"] ++ emacs;
|
||||
|
|
Loading…
Reference in a new issue