Switch back to Firefox
This commit is contained in:
parent
3e09cc7444
commit
c44304ca10
5 changed files with 7 additions and 58 deletions
|
@ -196,7 +196,7 @@ in
|
|||
home = {
|
||||
packages = [ pkgs.khal pkgs.khard ];
|
||||
file.".mailcap".text = ''
|
||||
text/html; ${pkgs.qutebrowser}/bin/qutebrowser %s ; nametemplate=%s.html; needsterminal
|
||||
text/html; ${pkgs.firefox}/bin/firefox %s ; nametemplate=%s.html; needsterminal
|
||||
text/html; ${pkgs.w3m}/bin/w3m -dump -o display_link_number=1 -o document_charset=%{charset} %s ; copiousoutput; nametemplate=%s.html
|
||||
'';
|
||||
};
|
||||
|
|
|
@ -12,11 +12,11 @@
|
|||
"image/jpeg" = [ "org.kde.okular.desktop" ];
|
||||
"application/pdf" = [ "org.kde.okular.desktop" ];
|
||||
|
||||
"text/html" = [ "org.qutebrowser.qutebrowser.desktop" ];
|
||||
"x-scheme-handler/about" = [ "org.qutebrowser.qutebrowser.desktop" ];
|
||||
"x-scheme-handler/http" = [ "org.qutebrowser.qutebrowser.desktop" ];
|
||||
"x-scheme-handler/https" = [ "org.qutebrowser.qutebrowser.desktop" ];
|
||||
"x-scheme-handler/unknown" = [ "org.qutebrowser.qutebrowser.desktop" ];
|
||||
"text/html" = [ "firefox.desktop" ];
|
||||
"x-scheme-handler/about" = [ "firefox.desktop" ];
|
||||
"x-scheme-handler/http" = [ "firefox.desktop" ];
|
||||
"x-scheme-handler/https" = [ "firefox.desktop" ];
|
||||
"x-scheme-handler/unknown" = [ "firefox.desktop" ];
|
||||
|
||||
"x-scheme-handler/msteams" = [ "teams.desktop" ];
|
||||
};
|
||||
|
|
|
@ -1,50 +0,0 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = [ pkgs.eid-mw ];
|
||||
|
||||
home-manager.users.charlotte = { ... }: {
|
||||
programs.qutebrowser = {
|
||||
enable = true;
|
||||
keyBindings = {
|
||||
normal = {
|
||||
"x" = "spawn --detach ${pkgs.mpv}/bin/umpv {url}";
|
||||
";x" = "hint links spawn --detach ${pkgs.mpv}/bin/umpv {hint-url}";
|
||||
"tch" = "config-cycle -p -t -u *://{url:host}/* content.cookies.accept no-3rdparty never ;; reload";
|
||||
"tCh" = "config-cycle -p -u *://{url:host}/* content.cookies.accept no-3rdparty never ;; reload";
|
||||
"tcH" = "config-cycle -p -t -u *://*.{url:host}/* content.cookies.accept no-3rdparty never ;; reload";
|
||||
"tCH" = "config-cycle -p -u *://*.{url:host}/* content.cookies.accept no-3rdparty never ;; reload";
|
||||
"tcu" = "config-cycle -p -t -u {url} content.cookies.accept no-3rdparty never ;; reload";
|
||||
"tCu" = "config-cycle -p -u {url} content.cookies.accept no-3rdparty never ;; reload";
|
||||
};
|
||||
};
|
||||
settings = {
|
||||
auto_save.session = true;
|
||||
content = {
|
||||
autoplay = false;
|
||||
cookies.accept = "never";
|
||||
default_encoding = "utf-8";
|
||||
geolocation = false;
|
||||
javascript.enabled = false;
|
||||
pdfjs = true;
|
||||
};
|
||||
downloads = {
|
||||
location.directory = "~/downloads";
|
||||
open_dispatcher = "rifle";
|
||||
remove_finished = 1000;
|
||||
};
|
||||
editor.command = [ "kitty" "-e" "nvim" "{file}" "-c" "normal {line}G{column0}" ];
|
||||
input.insert_mode.auto_load = true;
|
||||
url.default_page = "about:blank";
|
||||
};
|
||||
extraConfig = ''
|
||||
config.load_autoconfig()
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
chvp.zfs.homeLinks = [
|
||||
{ path = ".pki"; type = "cache"; } # Required for eid-mw browser configuration
|
||||
{ path = ".cache/qutebrowser"; type = "cache"; }
|
||||
{ path = ".local/share/qutebrowser"; type = "data"; }
|
||||
{ path = ".config/qutebrowser/autoconfig.yml"; type = "data"; }
|
||||
];
|
||||
}
|
|
@ -124,7 +124,7 @@ in
|
|||
workspace 9 output DP-3 DP-4 DP-5 HDMI-A-1 eDP-1
|
||||
|
||||
workspace 1
|
||||
exec ${pkgs.qutebrowser}/bin/qutebrowser
|
||||
exec ${pkgs.firefox}/bin/firefox
|
||||
workspace 3
|
||||
exec ${pkgs.kitty}/bin/kitty -e ${pkgs.tmuxinator}/bin/tmuxinator start mail
|
||||
workspace 4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue