Files
komorebi/nix/linux/tests/komorebi-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

60 lines
1.4 KiB
Nix

# Nix equivalent of docs/komorebi.example.json
# This tests that users can write the exact same config in Nix
{ ... }:
{
komorebi = {
app_specific_configuration_path = "$HOME/.config/komorebi/applications.json";
cross_monitor_move_behaviour = "Insert";
default_workspace_padding = 15;
default_container_padding = 15;
border = true;
border_width = 6;
border_offset = 5;
floating_window_aspect_ratio = "Widescreen";
floating_layer_behaviour = "Float";
resize_delta = 100;
ignore_rules = [ ];
floating_applications = [ ];
manage_rules = [ ];
monitors = [
{
workspaces = [
{
name = "I";
layout = "BSP";
initial_workspace_rules = [ ];
}
{
name = "II";
layout = "VerticalStack";
}
{
name = "III";
layout = "HorizontalStack";
}
{
name = "IV";
layout = "UltrawideVerticalStack";
}
{
name = "V";
layout = "Rows";
}
{
name = "VI";
layout = "Grid";
}
{
name = "VII";
layout = "RightMainVerticalStack";
}
{
name = "VIII";
layout = "Scrolling";
}
];
}
];
};
}