{"id":13897283,"url":"https://github.com/deadc0de6/i3smartfocus","last_synced_at":"2026-01-03T10:16:25.795Z","repository":{"id":62570065,"uuid":"300568570","full_name":"deadc0de6/i3smartfocus","owner":"deadc0de6","description":"i3wm smart focus","archived":false,"fork":false,"pushed_at":"2023-03-31T07:45:31.000Z","size":35,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-23T05:13:56.279Z","etag":null,"topics":["i3","i3wm","tiling"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"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/deadc0de6.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-10-02T09:42:23.000Z","updated_at":"2023-03-06T16:43:39.000Z","dependencies_parsed_at":"2024-06-08T23:41:44.581Z","dependency_job_id":null,"html_url":"https://github.com/deadc0de6/i3smartfocus","commit_stats":{"total_commits":23,"total_committers":2,"mean_commits":11.5,"dds":0.04347826086956519,"last_synced_commit":"f1f9fd08c264845b9ff65fbb144d568ead64e823"},"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadc0de6%2Fi3smartfocus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadc0de6%2Fi3smartfocus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadc0de6%2Fi3smartfocus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deadc0de6%2Fi3smartfocus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deadc0de6","download_url":"https://codeload.github.com/deadc0de6/i3smartfocus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243910820,"owners_count":20367545,"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":["i3","i3wm","tiling"],"created_at":"2024-08-06T18:03:29.172Z","updated_at":"2026-01-03T10:16:25.754Z","avatar_url":"https://github.com/deadc0de6.png","language":"Python","funding_links":[],"categories":["Python"],"sub_categories":[],"readme":"[![Build Status](https://github.com/deadc0de6/i3smartfocus/workflows/tests/badge.svg)](https://github.com/deadc0de6/i3smartfocus/actions)\n[![PyPI version](https://badge.fury.io/py/i3smartfocus.svg)](https://badge.fury.io/py/i3smartfocus)\n[![Python](https://img.shields.io/pypi/pyversions/i3smartfocus.svg)](https://pypi.python.org/pypi/i3smartfocus)\n[![License: GPL v3](https://img.shields.io/badge/License-GPL%20v3-blue.svg)](http://www.gnu.org/licenses/gpl-3.0)\n\n# i3smartfocus\n\n`i3smartfocus` can be used in place of the default i3wm focus in order\nto restore a more natural way of moving focus.\n\nThe default focus behavior will focus on the last focused window inside\na container (which might not be the chosen direction) instead of honoring\nthe direction chosen. `i3smartfocus` fixes this.\n\n# Installation\n\n```bash\nsudo pip3 install i3smartfocus\n```\n\nOr simply copy [i3smartfocus.py](https://github.com/deadc0de6/i3smartfocus/blob/main/i3smartfocus/i3smartfocus.py)\nsomewhere in your path.\n\n# Usage\n\nEdit your i3 config `~/.config/i3/config` and replace the default focus tool\n```bash\nbindsym Mod1+Left  exec --no-startup-id \"i3smartfocus left\"\nbindsym Mod1+Down  exec --no-startup-id \"i3smartfocus down\"\nbindsym Mod1+Up    exec --no-startup-id \"i3smartfocus up\"\nbindsym Mod1+Right exec --no-startup-id \"i3smartfocus right\"\n\n#bindsym Mod1+Left focus left\n#bindsym Mod1+Down focus down\n#bindsym Mod1+Up focus up\n#bindsym Mod1+Right focus right\n```\n\n# Contribution\n\nIf you are having trouble installing or using `i3smartfocus`, open an issue.\n\nIf you want to contribute, feel free to do a PR (please follow PEP8).\n\n# License\n\nThis project is licensed under the terms of the GPLv3 license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadc0de6%2Fi3smartfocus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeadc0de6%2Fi3smartfocus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeadc0de6%2Fi3smartfocus/lists"}