Nyxt performance maybe fixed? Switch back to nyxt as main with backup

chromium
This commit is contained in:
Evie Litherland-Smith 2024-02-02 07:30:57 +00:00
parent 63a2787959
commit 8d9bd3e607
3 changed files with 3 additions and 29 deletions

View file

@ -17,9 +17,7 @@
../swaync/default.nix ../swaync/default.nix
../alacritty/default.nix ../alacritty/default.nix
../emacs/default.nix ../emacs/default.nix
../firefox/default.nix
../nyxt/default.nix ../nyxt/default.nix
../qutebrowser/default.nix
../obs/default.nix ../obs/default.nix
]; ];
programs.rofi = with pkgs; { programs.rofi = with pkgs; {
@ -240,8 +238,7 @@
"SUPER, Return, exec, ${alacritty.package}/bin/alacritty" "SUPER, Return, exec, ${alacritty.package}/bin/alacritty"
"SUPER SHIFT, Return, exec, ${emacs.finalPackage}/bin/emacsclient -c" "SUPER SHIFT, Return, exec, ${emacs.finalPackage}/bin/emacsclient -c"
"SUPER, S, exec, ${alacritty.package}/bin/alacritty -e btm --group --battery" "SUPER, S, exec, ${alacritty.package}/bin/alacritty -e btm --group --battery"
"SUPER, W, exec, ${qutebrowser.package}/bin/qutebrowser" "SUPER, W, exec, ${pkgs.nyxt}/bin/nyxt --no-socket --with-file bookmarks=${../nyxt/bookmarks.lisp}"
"SUPER SHIFT, W, exec, ${pkgs.nyxt}/bin/nyxt --no-socket --with-file bookmarks=${../nyxt/bookmarks.lisp}"
# Misc useful binds # Misc useful binds
'',Print,exec,${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)"'' '',Print,exec,${pkgs.grim}/bin/grim -g "$(${pkgs.slurp}/bin/slurp)"''

View file

@ -6,29 +6,6 @@
((glyph-mode-presentation-p t) ((glyph-mode-presentation-p t)
(display-tabs-by-last-access-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 (define-configuration browser
((restore-session-on-startup-p nil) ((restore-session-on-startup-p nil)
(theme (make-instance (theme (make-instance

View file

@ -1,5 +1,5 @@
{pkgs, ...}: { {pkgs, ...}: {
imports = [./desktop.nix ./firefox.nix ./chromium.nix]; imports = [./desktop.nix ./chromium.nix];
nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland"; nixpkgs.config.chromium.commandLineArgs = "--enable-features=UseOzonePlatform --ozone-platform=wayland";
environment = { environment = {
sessionVariables = { sessionVariables = {
@ -39,7 +39,7 @@
}; };
xdg.mime = let xdg.mime = let
emacs = ["emacsclient.desktop" "emacs.desktop"]; emacs = ["emacsclient.desktop" "emacs.desktop"];
browser = ["firefox.desktop" "org.qutebrowser.qutebrowser.desktop" "nyxt.desktop"]; browser = ["nyxt.desktop" "chromium-browser.desktop"];
applications = { applications = {
"image/jpeg" = ["swayimg.desktop"] ++ emacs; "image/jpeg" = ["swayimg.desktop"] ++ emacs;
"image/png" = ["swayimg.desktop"] ++ emacs; "image/png" = ["swayimg.desktop"] ++ emacs;