Files
komorebi/nix/macos/tests/komorebi-bar-example.nix
T
LGUG2Z f01853ceca refactor(repo): move the KDE and macOS nix files under nix/ (pure move)
komorebi-for-kde/nix/ -> nix/linux/
komorebi-for-mac/nix/ -> nix/macos/

The nix expressions of the platforms (modules, option files, VM test suites, kwin effects,
the darwin module) sit next to the existing nix/workspace-src.nix. Renames only (252
files); the flakes that import them are replaced by one root flake later in this stack, so
nix does not evaluate at this revision.
2026-11-05 15:03:27 -08:00

72 lines
1.2 KiB
Nix

# Nix equivalent of docs/komorebi.bar.example.json
# This tests that users can write the exact same config in Nix
{ ... }:
{
komorebi-bar = {
monitor = 0;
font_family = "JetBrainsMono Nerd Font";
height = 30.0;
theme = {
palette = "Base16";
name = "Ashes";
accent = "Base0D";
};
left_widgets = [
{
Komorebi = {
workspaces = {
enable = true;
hide_empty_workspaces = false;
};
layout = {
enable = true;
};
focused_container = {
enable = true;
show_icon = true;
};
};
}
];
right_widgets = [
{
Update = {
enable = true;
};
}
{
Storage = {
enable = true;
};
}
{
Memory = {
enable = true;
};
}
{
Network = {
enable = true;
show_activity = true;
show_total_activity = true;
};
}
{
Date = {
enable = true;
format = "DayDateMonthYear";
};
}
{
Time = {
enable = true;
format = "TwentyFourHour";
};
}
];
};
}