configure mako
This commit is contained in:
parent
794cf3b7f1
commit
9102c1c7e0
4 changed files with 27 additions and 5 deletions
|
@ -4,6 +4,7 @@
|
|||
./firefox.nix
|
||||
./kitty.nix
|
||||
./gtk.nix
|
||||
./mako.nix
|
||||
];
|
||||
|
||||
home.packages = with pkgs; [
|
||||
|
|
|
@ -1,5 +1,18 @@
|
|||
{ inputs, config, pkgs, ... }: {
|
||||
home.packages = with pkgs; [
|
||||
fira
|
||||
];
|
||||
programs.firefox = {
|
||||
enable = true;
|
||||
|
||||
profiles ={
|
||||
"user" = {
|
||||
userChrome = ''
|
||||
* {
|
||||
font-family: "Fira Sans";
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
@ -1,10 +1,5 @@
|
|||
{ config, pkgs, inputs, lib, ... }: {
|
||||
gtk = {
|
||||
enable = true;
|
||||
font = {
|
||||
name = config.fontProfiles.regular.family;
|
||||
package = config.fontProfiles.regular.package;
|
||||
size = 12;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
13
home/common/desktop/mako.nix
Normal file
13
home/common/desktop/mako.nix
Normal file
|
@ -0,0 +1,13 @@
|
|||
{ config, lib, ... }: {
|
||||
services.mako = {
|
||||
enable = true;
|
||||
font = lib.mkForce "${config.fontProfiles.regular.family} 12";
|
||||
padding = "10,20";
|
||||
anchor = "top-center";
|
||||
width = 400;
|
||||
height = 150;
|
||||
borderSize = 2;
|
||||
defaultTimeout = 12000;
|
||||
layer = "overlay";
|
||||
};
|
||||
}
|
Loading…
Add table
Reference in a new issue