diff --git a/modules/hm/development/latex.nix b/modules/hm/development/latex.nix index ad4a4f6..565bd48 100644 --- a/modules/hm/development/latex.nix +++ b/modules/hm/development/latex.nix @@ -5,4 +5,9 @@ inherit (pkgs) texlab aspell; inherit (pkgs.aspellDicts) en en-computers en-science it; }); + + home.file.".latexmkrc".text = '' + $pdf_previewer = 'zathura %O %S'; + $pdf_update_method = 2 + ''; } diff --git a/modules/hm/zathura.nix b/modules/hm/zathura.nix index dac14bf..7808f92 100644 --- a/modules/hm/zathura.nix +++ b/modules/hm/zathura.nix @@ -18,6 +18,7 @@ in # recolor-darkcolor = strPalette.primary.foreground; # statusbar-bg = strPalette.bright.black; selection-clipboard = "clipboard"; + filemonitor = "signal"; # adapted from https://github.com/eastack/zathura-gruvbox notification-error-bg = strPalette.primary.background;