{"id":19080677,"url":"https://github.com/tomcur/tarn","last_synced_at":"2025-07-03T14:04:17.211Z","repository":{"id":237477883,"uuid":"794503276","full_name":"tomcur/tarn","owner":"tomcur","description":"[mirror] River layout generators","archived":false,"fork":false,"pushed_at":"2024-12-29T10:52:51.000Z","size":92,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-05-29T15:11:53.260Z","etag":null,"topics":["riverwm","wayland","wayland-compositor","zig"],"latest_commit_sha":null,"homepage":"https://codeberg.org/tomcur/tarn","language":"Zig","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tomcur.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-05-01T10:23:14.000Z","updated_at":"2024-12-29T10:52:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"59b0b3aa-b8c1-4a1c-8e11-5a985f28a163","html_url":"https://github.com/tomcur/tarn","commit_stats":null,"previous_names":["tomcur/tarn"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/tomcur/tarn","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcur%2Ftarn","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcur%2Ftarn/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcur%2Ftarn/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcur%2Ftarn/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tomcur","download_url":"https://codeload.github.com/tomcur/tarn/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tomcur%2Ftarn/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263339823,"owners_count":23451512,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["riverwm","wayland","wayland-compositor","zig"],"created_at":"2024-11-09T02:25:05.587Z","updated_at":"2025-07-03T14:04:17.165Z","avatar_url":"https://github.com/tomcur.png","language":"Zig","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tarn\n\nTarn is a collection of [River](https://codeberg.org/river/river) layout\ngenerators (currently N=1).\n\n## Included layouts\n\n- tarn-dwindle: a dwindling layout with horizontal and vertical dwindle ratios\n  specifiably separately\n\n## Usage\n\nTarn provides separate binaries for each layout.\n\n```bash\n$ tarn-dwindle -h\n```\n\n### tarn-dwindle\n\nYou can send layout commands to update the Dwindle layout ratios, for example:\n\n```bash\nriverctl map normal Super+Control H send-layout-cmd tarn-dwindle \"horizontal-ratio -0.05\"\nriverctl map normal Super+Control J send-layout-cmd tarn-dwindle \"vertical-ratio +0.05\"\nriverctl map normal Super+Control K send-layout-cmd tarn-dwindle \"vertical-ratio -0.05\"\nriverctl map normal Super+Control L send-layout-cmd tarn-dwindle \"horizontal-ratio +0.05\"\n```\n\n## Installing\n\nUsing Nix\n\n```bash\n$ nix build git+https://codeberg.org/tomcur/tarn.git\n```\n\nYou can use the provided flake to install Tarn in a flake-based NixOS configuration. For example:\n\n```nix\n{\n  description = \"Your system config\";\n  inputs = {\n    # ..\n    tarn = {\n      url = \"git+https://codeberg.org/tomcur/tarn.git\";\n      inputs.nixpkgs.follows = \"nixpkgs\";\n    };\n  };\n  outputs = { nixpkgs, tarn, ... }: {\n    nixosConfigurations = {\n      yourSystem =\n        let\n          system = \"x86_64-linux\";\n          modules = [\n            {\n              nixpkgs.overlays = [\n                (self: super: {\n                  tarn = tarn.packages.${system}.default;\n                })\n              ]\n            }\n          ];\n        in\n        nixpkgs.lib.nixosSystem {\n          inherit system modules;\n        };\n    };\n  };\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomcur%2Ftarn","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftomcur%2Ftarn","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftomcur%2Ftarn/lists"}