First working version of NixOS intall
This commit is contained in:
commit
5ab67429b2
47 changed files with 1801 additions and 0 deletions
37
modules/home/desktop/sway/mako.nix
Normal file
37
modules/home/desktop/sway/mako.nix
Normal file
|
@ -0,0 +1,37 @@
|
|||
{ pkgs, ... }:
|
||||
{
|
||||
|
||||
systemd.user.services.mako = {
|
||||
Service = {
|
||||
ExecStart = "${pkgs.mako}/bin/mako";
|
||||
};
|
||||
Install = {
|
||||
After = [ "sway-session.target" ];
|
||||
WantedBy = [ "sway-session.target" ];
|
||||
};
|
||||
};
|
||||
services.mako = {
|
||||
enable = true;
|
||||
font = "Fira Code 10";
|
||||
backgroundColor = "#353535FF";
|
||||
borderColor = "#1CD180";
|
||||
progressColor = "over #5566AAFF";
|
||||
textColor = "#FDFDFD";
|
||||
width = 300;
|
||||
height = 100;
|
||||
borderRadius = 0;
|
||||
borderSize = 2;
|
||||
icons = true;
|
||||
maxIconSize = 64;
|
||||
layer = "overlay";
|
||||
anchor = "top-right";
|
||||
extraConfig = ''
|
||||
[urgency="high"]
|
||||
border-color=#F268b3
|
||||
|
||||
[app-name="cmus"]
|
||||
border-color=#00000000
|
||||
default-timeout=10000
|
||||
'';
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue