summaryrefslogtreecommitdiff
path: root/home/wayland/modules/zathura.nix
blob: 9a013da5d8704c2df5de49417012f323c2213b3e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{ config, lib, ... }: let
  font = config.global.font.sans.name
    + " "
    + lib.optionalString (config.global.font.sans.size != null)
      (builtins.toString config.global.font.sans.size);
in {
    programs.zathura = {
    enable = true;

    mappings = {
      "f" = "toggle_fullscreen";
      "[fullscreen] f" = "toggle_fullscreen";
    };
    options = {
      inherit font;
      statusbar-basename = true;
      selection-clipboard = "clipboard";
      database = "sqlite";
    };
  };
}