Clean up mako.nix
This commit is contained in:
parent
760a6d467e
commit
d6f772899b
1 changed files with 6 additions and 8 deletions
|
@ -1,23 +1,21 @@
|
||||||
{pkgs, ...}: {
|
{pkgs, ...}: {
|
||||||
home-manager.users.buffet = {
|
home-manager.users.buffet = {
|
||||||
home.packages = [pkgs.libnotify]; # TODO: is this required?
|
|
||||||
|
|
||||||
programs.mako = let
|
programs.mako = let
|
||||||
colors = import ../theme.nix;
|
theme = import ../theme.nix;
|
||||||
in {
|
in {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
anchor = "top-right";
|
anchor = "top-right";
|
||||||
|
|
||||||
backgroundColor = colors.primary.background;
|
backgroundColor = theme.primary.background;
|
||||||
borderColor = colors.wm.focused.border;
|
borderColor = theme.wm.focused.border;
|
||||||
progressColor = colors.primary.foreground;
|
progressColor = theme.primary.foreground;
|
||||||
textColor = colors.primary.foreground;
|
textColor = theme.primary.foreground;
|
||||||
borderSize = 1;
|
borderSize = 1;
|
||||||
|
|
||||||
defaultTimeout = 4000;
|
defaultTimeout = 4000;
|
||||||
|
|
||||||
font = with import ../theme.nix; "${font.family} ${toString font.size}";
|
font = with theme; "${font.family} ${toString font.size}";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue