mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-15 05:12:28 +01:00
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.
30 lines
883 B
Nix
30 lines
883 B
Nix
{
|
|
tier = "fast";
|
|
kind = "session";
|
|
timeoutMinutes = 10;
|
|
# the module writes this as a komorebi.json, checks it against the schema, and the unit starts
|
|
# the daemon with it, as `--config`: two named workspaces, and a padding that moves the tile of
|
|
# the first window away from the edge of the screen. No border: the module installs the effect
|
|
# that draws one, and a border that is drawn takes room around the window, which the test would
|
|
# have to add to the padding (the look suite measures that)
|
|
node.services.komorebi.config = {
|
|
border = false;
|
|
default_workspace_padding = 40;
|
|
default_container_padding = 0;
|
|
monitors = [
|
|
{
|
|
workspaces = [
|
|
{
|
|
name = "web";
|
|
layout = "BSP";
|
|
}
|
|
{
|
|
name = "code";
|
|
layout = "Columns";
|
|
}
|
|
];
|
|
}
|
|
];
|
|
};
|
|
}
|