summaryrefslogtreecommitdiff
path: root/home-manager/gui
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-03-17 21:55:50 +0530
committersinanmohd <sinan@sinanmohd.com>2024-03-17 22:00:07 +0530
commit92f6bc769cb91793e1d632ee4a90c196ba5a4a28 (patch)
tree91605e96fe9f401767394941462277c716988b4f /home-manager/gui
parent68632f8c1797477abdfebc148e73b54a203861e8 (diff)
home-manager/zathura: init
Diffstat (limited to 'home-manager/gui')
-rw-r--r--home-manager/gui/home.nix1
-rw-r--r--home-manager/gui/modules/zathura.nix15
2 files changed, 16 insertions, 0 deletions
diff --git a/home-manager/gui/home.nix b/home-manager/gui/home.nix
index aa3ab46..4c8c0e2 100644
--- a/home-manager/gui/home.nix
+++ b/home-manager/gui/home.nix
@@ -2,5 +2,6 @@
imports = [
../common/home.nix
./modules/foot.nix
+ ./modules/zathura.nix
];
}
diff --git a/home-manager/gui/modules/zathura.nix b/home-manager/gui/modules/zathura.nix
new file mode 100644
index 0000000..f7b7e4d
--- /dev/null
+++ b/home-manager/gui/modules/zathura.nix
@@ -0,0 +1,15 @@
+{ ... }: {
+ programs.zathura = {
+ enable = true;
+
+ mappings = {
+ "f" = "toggle_fullscreen";
+ "[fullscreen] f" = "toggle_fullscreen";
+ };
+ options = {
+ "font" = "Sans";
+ "statusbar-basename" = true;
+ "selection-clipboard" = "clipboard";
+ };
+ };
+}