From a2f6d4ff961d157910b5fe02be18e80fb4471c95 Mon Sep 17 00:00:00 2001 From: Frost-Phoenix <67cyril6767@gmail.com> Date: Sun, 12 Nov 2023 18:18:28 +0100 Subject: [PATCH] change waybar config --- modules/home/waybar/settings.nix | 12 +++++++++++- modules/home/waybar/style.nix | 18 +++++++++--------- 2 files changed, 20 insertions(+), 10 deletions(-) diff --git a/modules/home/waybar/settings.nix b/modules/home/waybar/settings.nix index d3477be..fd3f69a 100644 --- a/modules/home/waybar/settings.nix +++ b/modules/home/waybar/settings.nix @@ -1,4 +1,14 @@ -{ ... }: +{ + custom ? { + font = "JetBrainsMono Nerd Font"; + fontsize = "12"; + primary_accent = "cba6f7"; + secondary_accent = "89b4fa"; + tertiary_accent = "f5f5f5"; + background = "11111B"; + }, + ... +}: { programs.waybar.settings.mainBar = { position= "top"; diff --git a/modules/home/waybar/style.nix b/modules/home/waybar/style.nix index 97c91c0..c9a93a1 100644 --- a/modules/home/waybar/style.nix +++ b/modules/home/waybar/style.nix @@ -1,13 +1,13 @@ { - custom ? { - font = "JetBrainsMono Nerd Font"; - fontsize = "12"; - primary_accent = "cba6f7"; - secondary_accent = "89b4fa"; - tertiary_accent = "f5f5f5"; - background = "11111B"; - }, - ... + custom ? { + font = "JetBrainsMono Nerd Font"; + fontsize = "12"; + primary_accent = "cba6f7"; + secondary_accent = "89b4fa"; + tertiary_accent = "f5f5f5"; + background = "11111B"; + }, + ... }: { programs.waybar.style = ''