From 6e3e96a12d0ded6afd920805de9666ac00dc9dcf Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Sun, 12 Nov 2023 18:20:26 +0100 Subject: [PATCH] change waybar config --- modules/home/waybar/settings.nix | 10 +++++----- modules/home/waybar/style.nix | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) 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 = '' * {