From 3fc51de5171feb362b8373273c3e82de2a70e076 Mon Sep 17 00:00:00 2001 From: sinanmohd Date: Tue, 30 Apr 2024 21:23:53 +0530 Subject: home: home-manager -> home --- home/wayland/home.nix | 8 ++++++++ home/wayland/modules/foot.nix | 13 +++++++++++++ home/wayland/modules/mako.nix | 9 +++++++++ home/wayland/modules/zathura.nix | 15 +++++++++++++++ 4 files changed, 45 insertions(+) create mode 100644 home/wayland/home.nix create mode 100644 home/wayland/modules/foot.nix create mode 100644 home/wayland/modules/mako.nix create mode 100644 home/wayland/modules/zathura.nix (limited to 'home/wayland') diff --git a/home/wayland/home.nix b/home/wayland/home.nix new file mode 100644 index 0000000..9e3f4ad --- /dev/null +++ b/home/wayland/home.nix @@ -0,0 +1,8 @@ +{ ... }: { + imports = [ + ../common/home.nix + ./modules/foot.nix + ./modules/zathura.nix + ./modules/mako.nix + ]; +} diff --git a/home/wayland/modules/foot.nix b/home/wayland/modules/foot.nix new file mode 100644 index 0000000..bf1ddc4 --- /dev/null +++ b/home/wayland/modules/foot.nix @@ -0,0 +1,13 @@ +{ lib, ... }: { + programs.foot = { + enable = true; + + settings = { + colors.background = "000000"; + main = { + pad = "10x10"; + font = lib.mkDefault "monospace:size=18"; + }; + }; + }; +} diff --git a/home/wayland/modules/mako.nix b/home/wayland/modules/mako.nix new file mode 100644 index 0000000..4280fdf --- /dev/null +++ b/home/wayland/modules/mako.nix @@ -0,0 +1,9 @@ +{ ... }: { + services.mako = { + enable = true; + defaultTimeout = 3000; + + borderSize = 2; + backgroundColor = "#000000"; + }; +} diff --git a/home/wayland/modules/zathura.nix b/home/wayland/modules/zathura.nix new file mode 100644 index 0000000..6751f32 --- /dev/null +++ b/home/wayland/modules/zathura.nix @@ -0,0 +1,15 @@ +{ lib, ... }: { + programs.zathura = { + enable = true; + + mappings = { + "f" = "toggle_fullscreen"; + "[fullscreen] f" = "toggle_fullscreen"; + }; + options = { + font = lib.mkDefault "Sans"; + statusbar-basename = true; + selection-clipboard = "clipboard"; + }; + }; +} -- cgit v1.2.3