From db62db6d812ccb96ef1f7a68957dd95ec273504c Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 26 Mar 2024 16:09:25 +0530 Subject: home-manager: gui -> wayland --- home-manager/wayland/home.nix | 7 +++++++ home-manager/wayland/modules/foot.nix | 13 +++++++++++++ home-manager/wayland/modules/zathura.nix | 15 +++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 home-manager/wayland/home.nix create mode 100644 home-manager/wayland/modules/foot.nix create mode 100644 home-manager/wayland/modules/zathura.nix (limited to 'home-manager/wayland') 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"; + }; + }; +} -- cgit v1.2.3