{"id":13606666,"url":"https://github.com/quite/i3gopher","last_synced_at":"2026-02-11T19:36:43.456Z","repository":{"id":55065681,"uuid":"169244312","full_name":"quite/i3gopher","owner":"quite","description":"i3wm / Sway helper rodent -- focus the last focused window (per workspace)!","archived":false,"fork":false,"pushed_at":"2025-10-06T09:01:22.000Z","size":143,"stargazers_count":9,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-06T11:14:27.807Z","etag":null,"topics":["focus","helper","i3","i3status","sway","swaywm"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/quite.png","metadata":{"files":{"readme":"README.md","changelog":"history/history.go","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":"2019-02-05T13:19:03.000Z","updated_at":"2025-10-06T09:01:26.000Z","dependencies_parsed_at":"2023-11-23T09:30:55.871Z","dependency_job_id":"1e631145-6982-4c42-bf8c-4ebdbd591f3d","html_url":"https://github.com/quite/i3gopher","commit_stats":{"total_commits":36,"total_committers":1,"mean_commits":36.0,"dds":0.0,"last_synced_commit":"56a4bbb91933c442670c3b3162f9bf25f0cbc1fc"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/quite/i3gopher","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quite%2Fi3gopher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quite%2Fi3gopher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quite%2Fi3gopher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quite%2Fi3gopher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/quite","download_url":"https://codeload.github.com/quite/i3gopher/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/quite%2Fi3gopher/sbom","scorecard":{"id":756126,"data":{"date":"2025-08-11","repo":{"name":"github.com/quite/i3gopher","commit":"4572561f6269bef56220b00a695a816fb9196147"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: BSD 2-Clause \"Simplified\" License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":-1,"reason":"internal error: error during branchesHandler.setup: internal error: githubv4.Query: Resource not accessible by integration","details":null,"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-22T21:43:25.620Z","repository_id":55065681,"created_at":"2025-08-22T21:43:25.620Z","updated_at":"2025-08-22T21:43:25.620Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29342172,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-11T18:58:20.535Z","status":"ssl_error","status_checked_at":"2026-02-11T18:56:44.814Z","response_time":97,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["focus","helper","i3","i3status","sway","swaywm"],"created_at":"2024-08-01T19:01:11.326Z","updated_at":"2026-02-11T19:36:43.439Z","avatar_url":"https://github.com/quite.png","language":"Go","funding_links":[],"categories":["Go"],"sub_categories":[],"readme":"# i3gopher\n\n`i3gopher` is a helper rodent for i3 and Sway (the i3-compatible Wayland\ncompositor). It may take on various chores.\n\n## Running\n\nYou probably want to run it from your `.i3/config`. Like:\n\n    exec --no-startup-id i3gopher\n\n## Using\n\n### Focus the last focused container\n\nThe rodent subscribes to i3 events and tracks the history of focused containers\n*per* *workspace*. It tries to be clever and ignores containers that disappear\n(are closed, or moved to another workspace).\n\nRunning `i3gopher --focus-last` will tell an already running i3gopher to focus\nthe last focused container in the currently focused workspace.\n\n    bindsym Mod1+Tab exec --no-startup-id i3gopher --focus-last\n\n### Execute command on window event\n\nIf you are, like me, fixing to get the title of the currently focused window\ninto the statusbar (maybe using `xtitle`), you might have a need for triggering\n`i3status` to refresh itself at suitable times. Since this rodent is already\nsubscribing to window events, it has the feature to execute a command upon\nreceiving such. You can thus start `i3gopher` like so:\n\n    exec --no-startup-id i3gopher --exec \"killall -USR1 i3status\"\n\n### Exclude windows from history\n\nThe optional `--exclude` option can be used to make i3gopher exclude certain\nwindows from ever being added to the history. It takes a regular expression\nthat is matched against the window's instance name (under i3). So, if you run\n`i3gopher --exclude excludei3gopher`, it will exclude an Alacritty that was\nstarted as `alacritty --class excludei3gopher`. Under Sway, Alacritty's\n`--class` sets the Wayland App ID, which the exclude argument is matched\nagainst (supported by i3wm go bindings since [this\ncommit](https://github.com/i3/go-i3/commit/4e3c3810804c9b631c15644c9e885c90aa1a65d7)).\n\n## Upgrading\n\nSince version 1.0, POSIX/GNU style flags are used:\n\n```diff\n-     -exec string    cmd to exec\n-     -focus-last     focus last\n+     --exec string   cmd to exec\n+ -l, --focus-last    focus last\n```\n\n## TODO\n\n- Consider floating containers. Should they be ignored? Or kept in a separate\n  history? Since i3 has `focus mode_toggle` which focused the last floating or\n  tiling container.\n\n- How deep does the stack need to be?\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquite%2Fi3gopher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fquite%2Fi3gopher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fquite%2Fi3gopher/lists"}