{"id":20709010,"url":"https://github.com/difrex/swaymgr","last_synced_at":"2025-08-28T19:25:22.638Z","repository":{"id":57577565,"uuid":"235750411","full_name":"Difrex/swaymgr","owner":"Difrex","description":"Sway autotiling manager","archived":false,"fork":false,"pushed_at":"2023-03-12T11:36:32.000Z","size":2085,"stargazers_count":21,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-23T02:53:48.535Z","etag":null,"topics":["sway","swaywm","tiling"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Difrex.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}},"created_at":"2020-01-23T08:09:46.000Z","updated_at":"2024-09-11T01:12:08.000Z","dependencies_parsed_at":"2024-06-19T13:33:26.834Z","dependency_job_id":null,"html_url":"https://github.com/Difrex/swaymgr","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/Difrex/swaymgr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Difrex%2Fswaymgr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Difrex%2Fswaymgr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Difrex%2Fswaymgr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Difrex%2Fswaymgr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Difrex","download_url":"https://codeload.github.com/Difrex/swaymgr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Difrex%2Fswaymgr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260896032,"owners_count":23078931,"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":["sway","swaywm","tiling"],"created_at":"2024-11-17T01:34:31.543Z","updated_at":"2025-06-20T06:32:59.967Z","avatar_url":"https://github.com/Difrex.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# swaymgr\n\nThe [Swaywm](https://github.com/swaywm/sway) autotiling manager.\n\nThis project adds a autotiling feature to the SwayWM based on the [gosway](https://github.com/Difrex/gosway) IPC library.\n\n## Install\n\n### Build\n\nYou need a Go installed in your system.\n\n```sh\ngit clone https://github.com/Difrex/swaymgr.git\ncd swaymgr/swaymgr\ngo get -v\ngo build -o ~/.local/bin/swaymgr .\n```\n\n### From AUR\n\n**swaymgr** package is available in the Arch Linux AUR. Install it with the favorite tool.\n\n## Configure\n\n* Autostart swaymgr\n\n  Add this to the config:\n\n  ```\n  exec --no-startup-id swaymgr\n  ```\n\n* Set keybindings for changing layouts setup\n\n```\nbindsym --to-code $mod+Alt+s exec swaymgr -s 'set spiral'\nbindsym --to-code $mod+Alt+l exec swaymgr -s 'set left'\nbindsym --to-code $mod+Alt+m exec swaymgr -s 'set manual'\n```\n\n## Commands\n\nCommands can be sended to the control socket by the `-s` option.\n\n* *get layout* -- returns information about current focused workspace in the JSON format\n  ```\n  swaymgr -s 'get layout' | jq\n  {\n      \"name\": \"2:\",\n      \"layout\": \"spiral\",\n      \"managed\": true\n  }\n  ```\n\n* *set spiral* -- mark workspace as managed and set it to the spiral windows placement\n  ```\n  swaymgr -s 'set spiral'\n  ```\n\n* *set left* -- mark workspace as managed and set it to the left windows placement\n  ```\n  swaymgr -s 'set left'\n  ```\n\n* *set manual* -- mark workspace as unmanaged\n  ```\n  swaymgr -s 'set manual'\n  ```\n\n## Known issues\n\n* Only spiral layout is working fine.\n\n* Left layout is buggy.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdifrex%2Fswaymgr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdifrex%2Fswaymgr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdifrex%2Fswaymgr/lists"}