diff --git a/modules/home/waybar/settings.nix b/modules/home/waybar/settings.nix index fd3f69a..cb884d6 100644 --- a/modules/home/waybar/settings.nix +++ b/modules/home/waybar/settings.nix @@ -1,14 +1,14 @@ -{ - custom ? { +{ ... }: +let + custom = { font = "JetBrainsMono Nerd Font"; fontsize = "12"; primary_accent = "cba6f7"; secondary_accent = "89b4fa"; tertiary_accent = "f5f5f5"; background = "11111B"; - }, - ... -}: + }; +in { programs.waybar.settings.mainBar = { position= "top"; diff --git a/modules/home/waybar/style.nix b/modules/home/waybar/style.nix index c9a93a1..9b1b970 100644 --- a/modules/home/waybar/style.nix +++ b/modules/home/waybar/style.nix @@ -1,14 +1,14 @@ -{ - custom ? { +{ ... }: +let + custom = { font = "JetBrainsMono Nerd Font"; fontsize = "12"; primary_accent = "cba6f7"; secondary_accent = "89b4fa"; tertiary_accent = "f5f5f5"; background = "11111B"; - }, - ... -}: + }; +in { programs.waybar.style = '' * {