Configure Mako

This commit is contained in:
Alexander
2026-04-06 10:36:02 +02:00
parent 658fb46ad8
commit 785c8671ec
5 changed files with 36 additions and 3 deletions
+1
View File
@@ -9,5 +9,6 @@
./browser ./browser
./terminal ./terminal
./development ./development
./notification
]; ];
} }
+7
View File
@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
imports = [
./mako
];
}
+25
View File
@@ -0,0 +1,25 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.dov.notification.mako;
colors = config.lib.stylix.colors;
in {
options.dov.notification.mako.enable = mkEnableOption "mako option";
config = mkIf cfg.enable {
services.mako = {
enable = true;
settings = {
background-color = mkForce "#${colors.base01}";
border-color = mkForce "#${colors.base00}";
border-radius = 10;
text-color = mkForce "#${colors.base0A}";
default-timeout = 5000;
};
};
};
}
+2
View File
@@ -65,6 +65,8 @@
vscode.enable = true; vscode.enable = true;
jetbrains.toolbox.enable = true; jetbrains.toolbox.enable = true;
}; };
notification.mako.enable = true;
}; };
programs = { programs = {
+1 -3
View File
@@ -45,7 +45,6 @@ in {
home-manager.users.fujin.config = { home-manager.users.fujin.config = {
home.packages = with pkgs; [ home.packages = with pkgs; [
swww swww
mako
pipewire pipewire
wireplumber wireplumber
libnotify libnotify
@@ -87,7 +86,6 @@ in {
]; ];
exec-once = [ exec-once = [
"mako"
"polkit-kde-agent" "polkit-kde-agent"
"emacs --fg-daemon" "emacs --fg-daemon"
"hypridle" "hypridle"
@@ -97,7 +95,7 @@ in {
#"element-desktop" #"element-desktop"
"keepassxc" "keepassxc"
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP" "dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
] ++ lib.optionals hm-cfg.bar.waybar.enable [ "waybar" ]; ] ++ lib.optionals hm-cfg.bar.waybar.enable [ "waybar" "mako" ];
"$mainMod" = "SUPER"; "$mainMod" = "SUPER";