Switch to qutebrowser
This commit is contained in:
parent
7c48e6052a
commit
68de755a18
5 changed files with 28 additions and 10 deletions
|
@ -172,8 +172,8 @@ in
|
|||
home = {
|
||||
packages = [ pkgs.khal pkgs.khard ];
|
||||
file.".mailcap".text = ''
|
||||
text/html; ${pkgs.firefox}/bin/firefox %s ; nametemplate=%s.html; needsterminal
|
||||
text/html; ${pkgs.w3m}/bin/w3m -I %{charset} -T text/html ; copiousoutput; nametemplate=%s.html
|
||||
text/html; ${pkgs.qutebrowser}/bin/qutebrowser %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
|
||||
'';
|
||||
};
|
||||
xdg.configFile = {
|
||||
|
|
|
@ -12,13 +12,11 @@
|
|||
"image/jpeg" = [ "org.kde.okular.desktop" ];
|
||||
"application/pdf" = [ "org.kde.okular.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/mailto" = [ "thunderbird.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" ];
|
||||
|
||||
"x-scheme-handler/msteams" = [ "teams.desktop" ];
|
||||
};
|
||||
|
|
19
configurations/qutebrowser.nix
Normal file
19
configurations/qutebrowser.nix
Normal file
|
@ -0,0 +1,19 @@
|
|||
{ pkgs, ... }: {
|
||||
environment.systemPackages = [ pkgs.eid-mw ];
|
||||
|
||||
home-manager.users.charlotte = { ... }: {
|
||||
programs.qutebrowser = {
|
||||
enable = true;
|
||||
extraConfig = ''
|
||||
config.load_autoconfig()
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
custom.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.firefox}/bin/firefox
|
||||
exec ${pkgs.qutebrowser}/bin/qutebrowser
|
||||
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