home: add zathura
This commit is contained in:
parent
b254e0f7ac
commit
646768c3b7
|
@ -18,6 +18,7 @@
|
|||
./wm
|
||||
./x
|
||||
./xdg.nix
|
||||
./zathura.nix
|
||||
./zsh
|
||||
];
|
||||
|
||||
|
|
20
home/zathura.nix
Normal file
20
home/zathura.nix
Normal file
|
@ -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;
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue