change waybar config

This commit is contained in:
Frost-Phoenix 2023-11-12 18:26:30 +01:00
parent 6e3e96a12d
commit e5e97e4261
3 changed files with 52 additions and 22 deletions

View file

@ -1,5 +1,35 @@
{ ... }:
let
custom = {
font = "RobotoMono Nerd Font";
fontsize = "12";
primary_accent = "cba6f7";
secondary_accent= "89b4fa";
tertiary_accent = "f5f5f5";
background = "11111B";
opacity = "1";
cursor = "Numix-Cursor";
palette = {
primary_accent_hex = "cba6f7";
secondary_accent_hex = "89b4fa";
tertiary_accent_hex = "f5f5f5";
primary_background_hex = "11111B";
secondary_background_hex = "1b1b2b";
tertiary_background_hex = "25253a";
primary_accent_rgba = "rgba(203,166,247,${opacity})";
secondary_accent_rgba = "rgba(137,180,250,${opacity})";
tertiary_accent_rgba = "rgba(245,245,245,${opacity})";
primary_background_rgba = "rgba(17,17,27,${opacity})";
secondary_background_rgba = "rgba(27,27,43,${opacity})";
tertiary_background_rgba = "rgba(37,37,58,${opacity})";
opacity = "1";
};
};
in
{
_module.args = { inherit custom; };
imports = [ (import ./waybar.nix) ]
++ [ (import ./settings.nix) ]
++ [ (import ./style.nix) ];

View file

@ -1,14 +1,14 @@
{ ... }:
let
custom = {
{
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";

View file

@ -1,14 +1,14 @@
{ ... }:
let
custom = {
{
custom ? {
font = "JetBrainsMono Nerd Font";
fontsize = "12";
primary_accent = "cba6f7";
secondary_accent = "89b4fa";
tertiary_accent = "f5f5f5";
background = "11111B";
};
in
},
...
}:
{
programs.waybar.style = ''
* {