{"id":13579692,"url":"https://github.com/cornerman/i3-easyfocus","last_synced_at":"2025-08-20T10:31:34.793Z","repository":{"id":2985786,"uuid":"36553395","full_name":"cornerman/i3-easyfocus","owner":"cornerman","description":"Focus and select windows in i3","archived":false,"fork":false,"pushed_at":"2023-05-07T16:03:55.000Z","size":71,"stargazers_count":172,"open_issues_count":8,"forks_count":12,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-12-09T18:22:14.209Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","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/cornerman.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}},"created_at":"2015-05-30T10:19:29.000Z","updated_at":"2024-10-02T16:28:52.000Z","dependencies_parsed_at":"2024-01-14T09:23:29.273Z","dependency_job_id":null,"html_url":"https://github.com/cornerman/i3-easyfocus","commit_stats":{"total_commits":52,"total_committers":4,"mean_commits":13.0,"dds":"0.13461538461538458","last_synced_commit":"77441e8e92b8c8e0077dda2d35a335115835676d"},"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornerman%2Fi3-easyfocus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornerman%2Fi3-easyfocus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornerman%2Fi3-easyfocus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cornerman%2Fi3-easyfocus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cornerman","download_url":"https://codeload.github.com/cornerman/i3-easyfocus/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230415317,"owners_count":18222158,"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":[],"created_at":"2024-08-01T15:01:42.037Z","updated_at":"2024-12-19T10:08:58.601Z","avatar_url":"https://github.com/cornerman.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# i3-easyfocus\n\nFocus and select windows in [i3](https://github.com/i3/i3).\n\nDraws a small label ('a'-'z') on top of each visible container, which can be selected by pressing the corresponding key on the keyboard (cancel with ESC). By default, only windows on the current workspace are labelled.\n\n## Usage\n\nFocus the selected window:\n\n```shell\n./i3-easyfocus\n```\n\nIt also possible to only print out the con_id of the selected window and, for example, move it to workspace 3:\n\n```shell\n./i3-easyfocus -i | xargs -I {} i3-msg [con_id={}] move workspace 3\n```\n\nOr to print the window id and use it with other commands, like xkill:\n```shell\n./i3-easyfocus -w | xargs xkill -id\n```\n\n## Configuration\n\n```\nUsage: i3-easyfocus \u003coptions\u003e\n -h --help              show this message\n -i --con-id            print con id, does not change focus\n -w --window-id         print window id, does not change focus\n -a --all               label visible windows on all outputs\n -c --current           label visible windows within current container\n -r --rapid             rapid mode, keep on running until Escape is pressed\n -m --modifier \u003cmod\u003e    listen to keycombo \u003cmod\u003e+\u003clabel\u003e instead of only \u003clabel\u003e\n                            - ctrl, shift, mod1, mod2, mod3, mod4, mod5\n                            - or combine with, e.g., mod1+shift\n -s --sort-by \u003cmethod\u003e  how to sort the workspaces' labels when using --all:\n                            - \u003clocation\u003e based on their location (default)\n                            - \u003cnum\u003e using the workspaces' numbers\n -f --font \u003cfont-name\u003e  set font name, see `xlsfonts` for available fonts\n -k --keys \u003cmode\u003e       set the labeling keys to use:\n                            - \u003cavy\u003e prefers home row for qwerty (default)\n                            - \u003ccolemak\u003e prefers home row for colemak\n                            - \u003calpha\u003e orders alphabetically\n --color-urgent-bg \u003crgb\u003e    set label background color of urgent windows, e.g., FF00FF\n --color-focused-bg \u003crgb\u003e   set label background color of focused windows, e.g., FF00FF\n --color-unfocused-bg \u003crgb\u003e set label background color of unfocused windows, e.g., FF00FF\n --color-urgent-fg \u003crgb\u003e    set label foreground color of urgent windows, e.g., FF00FF\n --color-focused-fg \u003crgb\u003e   set label foreground color of focused windows, e.g., FF00FF\n --color-unfocused-fg \u003crgb\u003e set label foreground color of unfocused windows, e.g., FF00FF\n```\n\nYou can change the keybindings and the font in ```src/config.h```.\n\n## Screenshot\n\n![Screenshot](screenshot.png)\n\n## Dependencies\n\n* [i3ipc-glib](https://github.com/acrisci/i3ipc-glib) (\u003e= 0.6.0)\n* xcb and xcb-keysyms\n\n## Problems/Debugging\n\nIf there is a problem or you have an idea, please feel free to open a new issue.\n\nIn order to get more details about a problem you can build in debug mode, which will produce more log messages:\n```\nmake clean debug\n./i3-easyfocus\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcornerman%2Fi3-easyfocus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcornerman%2Fi3-easyfocus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcornerman%2Fi3-easyfocus/lists"}