Back to using nyxt as main browser with chromium as backup (and for PWAs)
This commit is contained in:
parent
2d8253100b
commit
fba4db8435
|
@ -26,10 +26,10 @@
|
||||||
./home/accounts/default.nix
|
./home/accounts/default.nix
|
||||||
./home/emacs/default.nix
|
./home/emacs/default.nix
|
||||||
./home/hyprland/default.nix
|
./home/hyprland/default.nix
|
||||||
|
./home/nyxt/default.nix
|
||||||
./home/alacritty.nix
|
./home/alacritty.nix
|
||||||
./home/btop.nix
|
./home/btop.nix
|
||||||
./home/default.nix
|
./home/default.nix
|
||||||
./home/firefox.nix
|
|
||||||
./home/media.nix
|
./home/media.nix
|
||||||
./home/pass.nix
|
./home/pass.nix
|
||||||
];
|
];
|
||||||
|
|
|
@ -38,16 +38,17 @@
|
||||||
"image/png" = [ "swayimg.desktop" ];
|
"image/png" = [ "swayimg.desktop" ];
|
||||||
"video/mp4" = [ "mpv.desktop" ];
|
"video/mp4" = [ "mpv.desktop" ];
|
||||||
"text/csv" = [ "calc.desktop" ];
|
"text/csv" = [ "calc.desktop" ];
|
||||||
"x-scheme-handler/http" = [ "firefox.desktop" ];
|
# "text/html" = [ "chromium-browser.desktop" ];
|
||||||
"x-scheme-handler/https" = [ "firefox.desktop" ];
|
# "x-scheme-handler/http" = [ "chromium-browser.desktop" ];
|
||||||
"x-scheme-handler/chrome" = [ "firefox.desktop" ];
|
# "x-scheme-handler/https" = [ "chromium-browser.desktop" ];
|
||||||
"text/html" = [ "firefox.desktop" ];
|
# "x-scheme-handler/about" = [ "chromium-browser.desktop" ];
|
||||||
"application/x-extension-htm" = [ "firefox.desktop" ];
|
# "x-scheme-handler/chrome" = [ "chromium-browser.desktop" ];
|
||||||
"application/x-extension-html" = [ "firefox.desktop" ];
|
# "application/x-extension-htm" = [ "firefox.desktop" ];
|
||||||
"application/x-extension-shtml" = [ "firefox.desktop" ];
|
# "application/x-extension-html" = [ "firefox.desktop" ];
|
||||||
"application/xhtml+xml" = [ "firefox.desktop" ];
|
# "application/x-extension-shtml" = [ "firefox.desktop" ];
|
||||||
"application/x-extension-xhtml" = [ "firefox.desktop" ];
|
# "application/xhtml+xml" = [ "firefox.desktop" ];
|
||||||
"application/x-extension-xht" = [ "firefox.desktop" ];
|
# "application/x-extension-xhtml" = [ "firefox.desktop" ];
|
||||||
|
# "application/x-extension-xht" = [ "firefox.desktop" ];
|
||||||
};
|
};
|
||||||
associations.added = defaultApplications;
|
associations.added = defaultApplications;
|
||||||
};
|
};
|
||||||
|
|
|
@ -37,11 +37,11 @@
|
||||||
"5" = "";
|
"5" = "";
|
||||||
"6" = "";
|
"6" = "";
|
||||||
"emacs" = "";
|
"emacs" = "";
|
||||||
"web" = "";
|
"web" = "";
|
||||||
"discord" = "";
|
"discord" = "";
|
||||||
"steam" = "";
|
"steam" = "";
|
||||||
"apps" = "";
|
"apps" = "";
|
||||||
"top" = "";
|
"top" = "";
|
||||||
"remote" = "";
|
"remote" = "";
|
||||||
default = "";
|
default = "";
|
||||||
special = "";
|
special = "";
|
||||||
|
@ -52,12 +52,10 @@
|
||||||
"hyprland/window" = {
|
"hyprland/window" = {
|
||||||
rewrite = {
|
rewrite = {
|
||||||
"(.*) - GNU Emacs(.*)" = " $1";
|
"(.*) - GNU Emacs(.*)" = " $1";
|
||||||
"btop" = " System Status";
|
|
||||||
"ncspot" = " Spotify TUI";
|
|
||||||
"Nyxt - (.*)" = " $1";
|
|
||||||
"(.*) — Mozilla Firefox" = " $1";
|
|
||||||
"(.*) - Discord" = " $1";
|
"(.*) - Discord" = " $1";
|
||||||
|
"(.*) — Mozilla Firefox" = " $1";
|
||||||
"(.*) - Chromium" = " $1";
|
"(.*) - Chromium" = " $1";
|
||||||
|
"Nyxt - (.*)" = " $1";
|
||||||
"Microsoft Teams - (.*)" = " $1";
|
"Microsoft Teams - (.*)" = " $1";
|
||||||
"Microsoft Teams classic" = "";
|
"Microsoft Teams classic" = "";
|
||||||
"Microsoft 365 - (.*)" = " $1";
|
"Microsoft 365 - (.*)" = " $1";
|
||||||
|
|
|
@ -8,17 +8,20 @@
|
||||||
((default-modes (pushnew 'nyxt/mode/blocker:blocker-mode %slot-value%))))
|
((default-modes (pushnew 'nyxt/mode/blocker:blocker-mode %slot-value%))))
|
||||||
(define-configuration context-buffer
|
(define-configuration context-buffer
|
||||||
((search-engines (list
|
((search-engines (list
|
||||||
(make-instance 'search-engine
|
(make-instance
|
||||||
|
'search-engine
|
||||||
:name "Wikipedia"
|
:name "Wikipedia"
|
||||||
:shortcut "wiki"
|
:shortcut "wiki"
|
||||||
:search-url "https://en.wikipedia.org/w/index.php?search=~a"
|
:search-url "https://en.wikipedia.org/w/index.php?search=~a"
|
||||||
:fallback-url (quri.uri:uri "https://en.wikipedia.org/"))
|
:fallback-url (quri.uri:uri "https://en.wikipedia.org/"))
|
||||||
(make-instance 'search-engine
|
(make-instance
|
||||||
|
'search-engine
|
||||||
:name "MyNixOS"
|
:name "MyNixOS"
|
||||||
:shortcut "nix"
|
:shortcut "mn"
|
||||||
:search-url "https://mynixos.com/search?q=~a"
|
:search-url "https://mynixos.com/search?q=~a"
|
||||||
:fallback-url (quri.uri:uri "https://mynixos.com/"))
|
:fallback-url (quri.uri:uri "https://mynixos.com/"))
|
||||||
(make-instance 'search-engine
|
(make-instance
|
||||||
|
'search-engine
|
||||||
:name "DuckDuckGo"
|
:name "DuckDuckGo"
|
||||||
:shortcut "ddg"
|
:shortcut "ddg"
|
||||||
:search-url "https://duckduckgo.com/?q=~a"
|
:search-url "https://duckduckgo.com/?q=~a"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
{ config, pkgs, user, ... }:
|
{ config, pkgs, user, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
imports = [ ./default.nix ./firefox.nix ./chromium.nix ];
|
imports = [ ./default.nix ./chromium.nix ];
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
dex
|
dex
|
||||||
mesa
|
mesa
|
||||||
|
|
Loading…
Reference in a new issue