From 646768c3b70f9f465a3a3a831a908c3cbc94ecde Mon Sep 17 00:00:00 2001 From: Bruno BELANYI Date: Mon, 5 Apr 2021 01:33:46 +0000 Subject: [PATCH] home: add zathura --- home/default.nix | 1 + home/zathura.nix | 20 ++++++++++++++++++++ 2 files changed, 21 insertions(+) create mode 100644 home/zathura.nix diff --git a/home/default.nix b/home/default.nix index b1a5274..77d54ae 100644 --- a/home/default.nix +++ b/home/default.nix @@ -18,6 +18,7 @@ ./wm ./x ./xdg.nix + ./zathura.nix ./zsh ]; diff --git a/home/zathura.nix b/home/zathura.nix new file mode 100644 index 0000000..6162542 --- /dev/null +++ b/home/zathura.nix @@ -0,0 +1,20 @@ +{ config, lib, ... }: +let + cfg = config.my.home.zathura; +in +{ + options.my.home.zathura = with lib; { + enable = mkEnableOption "zathura configuration"; + }; + + config.programs.zathura = lib.mkIf cfg.enable { + enable = true; + + options = { + # Show '~' instead of full path to '$HOME' in window title + "window-title-home-tilde" = true; + # Show '~' instead of full path to '$HOME' in status bar + "statusbar-home-tilde" = true; + }; + }; +}