From 319299325393c645f3f9f9f183f1f1860eadd694 Mon Sep 17 00:00:00 2001 From: Alejandro Angulo Date: Sun, 19 Mar 2023 08:27:28 -0700 Subject: [PATCH] Added mako --- modules/desktop/addons/mako/default.nix | 35 +++++++++++++++++++++++++ modules/desktop/sway/default.nix | 1 + 2 files changed, 36 insertions(+) create mode 100644 modules/desktop/addons/mako/default.nix diff --git a/modules/desktop/addons/mako/default.nix b/modules/desktop/addons/mako/default.nix new file mode 100644 index 0000000..f5ef128 --- /dev/null +++ b/modules/desktop/addons/mako/default.nix @@ -0,0 +1,35 @@ +{ + options, + config, + lib, + pkgs, + ... +}: +with lib; let + cfg = config.aa.desktop.addons.mako; +in { + options.aa.desktop.addons.mako = with types; { + enable = mkEnableOption "mako"; + }; + + config = mkIf cfg.enable { + aa.desktop.addons.fonts.enable = true; + + environment.systemPackages = with pkgs; [mako libnotify]; + + aa.home.extraOptions = { + programs.mako = { + enable = true; + + font = "'Hack Nerd Font' Regular 9"; + + backgroundColor = "#1D2021F0"; + textColor = "#FFFFDF"; + borderColor = "#1C1C1C"; + borderRadius = 10; + + padding = "10"; + }; + }; + }; +} diff --git a/modules/desktop/sway/default.nix b/modules/desktop/sway/default.nix index 50680f3..852c3e8 100644 --- a/modules/desktop/sway/default.nix +++ b/modules/desktop/sway/default.nix @@ -29,6 +29,7 @@ in { fonts.enable = true; rofi.enable = true; waybar.enable = true; + mako.enable = true; # TODO # playerctl