replace programs.mako with services.mako

This commit is contained in:
notgne2 2023-03-13 04:59:30 -07:00
parent 6a7b8b55b7
commit 527a6bc246
No known key found for this signature in database
4 changed files with 13 additions and 12 deletions

View file

@ -269,7 +269,7 @@ in {
xdg.configFile."Element/theme.json".text = builtins.toJSON elementTheme;
# Mako
programs.mako = {
services.mako = {
backgroundColor = "#${cfg.base16.base00}";
textColor = "#${cfg.base16.base07}";
borderColor = "#${cfg.base16.base08}";

View file

@ -491,7 +491,7 @@ in {
'';
};
programs.mako = {
services.mako = {
enable = lib.mkDefault true;
maxVisible = lib.mkDefault 6;
extraConfig = lib.generators.toKeyValue {} {

View file

@ -62,7 +62,7 @@ in {
programs.rofi.font = "${cfg.font.name} ${toString cfg.font.size}";
programs.mako.font = "${cfg.font.name} ${toString cfg.font.size}";
services.mako.font = "${cfg.font.name} ${toString cfg.font.size}";
wayland.windowManager.sway.config.fonts = {
names = [cfg.font.name];