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, ...}: {
|
||||
home-manager.users.buffet = {
|
||||
home.packages = [pkgs.libnotify]; # TODO: is this required?
|
||||
|
||||
programs.mako = let
|
||||
colors = import ../theme.nix;
|
||||
theme = import ../theme.nix;
|
||||
in {
|
||||
enable = true;
|
||||
|
||||
anchor = "top-right";
|
||||
|
||||
backgroundColor = colors.primary.background;
|
||||
borderColor = colors.wm.focused.border;
|
||||
progressColor = colors.primary.foreground;
|
||||
textColor = colors.primary.foreground;
|
||||
backgroundColor = theme.primary.background;
|
||||
borderColor = theme.wm.focused.border;
|
||||
progressColor = theme.primary.foreground;
|
||||
textColor = theme.primary.foreground;
|
||||
borderSize = 1;
|
||||
|
||||
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