summaryrefslogtreecommitdiff
path: root/home-manager/wayland
diff options
context:
space:
mode:
authorsinanmohd <sinan@sinanmohd.com>2024-03-26 16:09:25 +0530
committersinanmohd <sinan@sinanmohd.com>2024-03-26 16:09:25 +0530
commitdb62db6d812ccb96ef1f7a68957dd95ec273504c (patch)
tree30c3f58f89c1ff580b239d8b4dd5d70fb6446f7f /home-manager/wayland
parent46f4f7865cd423ea455d27c190f4245b073d0e90 (diff)
home-manager: gui -> wayland
Diffstat (limited to 'home-manager/wayland')
-rw-r--r--home-manager/wayland/home.nix7
-rw-r--r--home-manager/wayland/modules/foot.nix13
-rw-r--r--home-manager/wayland/modules/zathura.nix15
3 files changed, 35 insertions, 0 deletions
diff --git a/home-manager/wayland/home.nix b/home-manager/wayland/home.nix
new file mode 100644
index 0000000..4c8c0e2
--- /dev/null
+++ b/home-manager/wayland/home.nix
@@ -0,0 +1,7 @@
+{ ... }: {
+ imports = [
+ ../common/home.nix
+ ./modules/foot.nix
+ ./modules/zathura.nix
+ ];
+}
diff --git a/home-manager/wayland/modules/foot.nix b/home-manager/wayland/modules/foot.nix
new file mode 100644
index 0000000..7adaf40
--- /dev/null
+++ b/home-manager/wayland/modules/foot.nix
@@ -0,0 +1,13 @@
+{ ... }: {
+ programs.foot = {
+ enable = true;
+
+ settings = {
+ colors.background = "000000";
+ main = {
+ pad = "10x10";
+ font = "monospace:size=18";
+ };
+ };
+ };
+}
diff --git a/home-manager/wayland/modules/zathura.nix b/home-manager/wayland/modules/zathura.nix
new file mode 100644
index 0000000..f7b7e4d
--- /dev/null
+++ b/home-manager/wayland/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";
+ };
+ };
+}