diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index cfb58b0a..06c022c4 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -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)"'' diff --git a/home/nyxt/config.lisp b/home/nyxt/config.lisp index df86b095..d7e5cc60 100644 --- a/home/nyxt/config.lisp +++ b/home/nyxt/config.lisp @@ -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 diff --git a/system/hyprland.nix b/system/hyprland.nix index f6915632..8999ed14 100644 --- a/system/hyprland.nix +++ b/system/hyprland.nix @@ -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;