{"id":16875860,"url":"https://github.com/lbonn/i3-focus-last","last_synced_at":"2025-10-10T07:13:41.372Z","repository":{"id":44622917,"uuid":"105313186","full_name":"lbonn/i3-focus-last","owner":"lbonn","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-04T09:15:40.000Z","size":90,"stargazers_count":35,"open_issues_count":3,"forks_count":5,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-31T11:04:46.826Z","etag":null,"topics":["i3","rust","sway","tool"],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lbonn.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":"2017-09-29T20:14:50.000Z","updated_at":"2025-02-23T03:18:54.000Z","dependencies_parsed_at":"2024-03-25T17:01:17.937Z","dependency_job_id":"56b57f46-4dca-4d7c-bdf0-b775de181e33","html_url":"https://github.com/lbonn/i3-focus-last","commit_stats":{"total_commits":50,"total_committers":2,"mean_commits":25.0,"dds":0.14,"last_synced_commit":"e551306c422552915f7e5ec0b7d5185d6bcd3dd1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbonn%2Fi3-focus-last","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbonn%2Fi3-focus-last/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbonn%2Fi3-focus-last/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lbonn%2Fi3-focus-last/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lbonn","download_url":"https://codeload.github.com/lbonn/i3-focus-last/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247648977,"owners_count":20972945,"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","rust","sway","tool"],"created_at":"2024-10-13T15:37:16.074Z","updated_at":"2025-10-10T07:13:36.338Z","avatar_url":"https://github.com/lbonn.png","language":"Rust","funding_links":[],"categories":["Rust"],"sub_categories":[],"readme":"i3-focus-last\n=============\n\n[![Crate](https://meritbadge.herokuapp.com/i3-focus-last)](https://crates.io/crates/i3-focus-last)\n\nAnother implementation of this classic (and useful) example of i3 ipc use.\n\nWorks on reasonable versions of i3 and sway \u003e= 1.2.\n\nDone in [rust](https://www.rust-lang.org):\n\n* for fun!\n* it's compiled, so we won't suffer from the overhead of starting a new\n  interpreter for each client (the python version I used was sluggish at\n  times, for this reason)\n\nUsage\n-----\n\nAdd this line to your i3 or Sway configuration:\n\n```\nexec_always i3-focus-last server\n```\n\nThen, add a binding to execute `i3-focus-last`:\n\n```\nbindsym $mod+Tab exec i3-focus-last\n```\n\nMenu mode\n---------\n\ni3-focus-last can be used with [rofi](https://github.com/davatorium/rofi) to display a window switcher menu in which the entries are sorted by focus order.\n\nTo launch it, just run `i3-focus-last menu` when the server is running (or bind it to some key combination).\n\nIt can also shows icons corresponding to the window class or app_id. This mapping can be customized by modifying `~/.config/i3-focus-last/icons.json`. For example:\n\n```\n{\n  \"Alacritty\": \"terminal\",\n  \"firefox\": \"firefox\",\n  \"Chromium\": \"chromium\"\n}\n```\n\nThe values in the dictionary should be names of icons in `/usr/share/icons/**`.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flbonn%2Fi3-focus-last","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flbonn%2Fi3-focus-last","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flbonn%2Fi3-focus-last/lists"}