{"id":21072364,"url":"https://github.com/justbuchanan/i3scripts","last_synced_at":"2025-04-08T03:15:28.669Z","repository":{"id":49565205,"uuid":"88250788","full_name":"justbuchanan/i3scripts","owner":"justbuchanan","description":"My scripts for enhancing i3wm","archived":false,"fork":false,"pushed_at":"2024-09-23T19:24:05.000Z","size":69,"stargazers_count":164,"open_issues_count":8,"forks_count":46,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-28T06:07:52.841Z","etag":null,"topics":["i3wm","linux","python","tiling-window-manager"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/justbuchanan.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-04-14T08:49:10.000Z","updated_at":"2025-02-16T20:38:46.000Z","dependencies_parsed_at":"2024-11-19T18:57:04.656Z","dependency_job_id":"30060f2e-ebcd-4773-8c0f-fedda0cc0374","html_url":"https://github.com/justbuchanan/i3scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justbuchanan%2Fi3scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justbuchanan%2Fi3scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justbuchanan%2Fi3scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/justbuchanan%2Fi3scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/justbuchanan","download_url":"https://codeload.github.com/justbuchanan/i3scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247767236,"owners_count":20992548,"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":["i3wm","linux","python","tiling-window-manager"],"created_at":"2024-11-19T18:56:16.374Z","updated_at":"2025-04-08T03:15:28.647Z","avatar_url":"https://github.com/justbuchanan.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# i3 Scripts\n\nThis repo contains a few scripts I've put together for [i3](https://github.com/i3/i3).\nBelow are the highlights, but see the script files themselves for more detailed info and instructions.\nNote that they function independently, so you can try out one in your workflow without committing to using the rest.\n\n## autorename_workspaces.py\n\nThis script dynamically updates the i3 bar to show icons for running programs next to the workspace names.\nIt does this by listening for i3 window events and updating the workspace's \"name\".\n\nIn addition to showing program icons, it also (optionally) renumbers i3 workspaces in ascending order.\nThis makes it easier to navigate.\n\nHere's a [demo](https://gfycat.com/AfraidAmusingCoyote).\n\n## new_workspace.py\n\nOpens a new workspace on the current monitor, using the first available number.\n\n## rename_workspace.py\n\nPresents a small modal window with a text box that allows for renaming the current workspace.\n\n## i3splat.py\n\nThis module provides a compact way to specify layouts for i3wm and launch the corresponding programs.\nCreate a `Workspace` object containing the containers and apps you want, then call `launch()`.\nThe specified layout will be loaded into i3, then the individual apps are launched in their places.\nSee the file itself for more detailed documentation.\n\nHere's an example program:\n\n```python\nfrom i3splat import *\n\nmydir = \"~/src\"\nws = Workspace(\"code\", [\n    (0.5, chrome([\"stackoverflow.com\"])),\n    (0.5, Container(SPLITV, [\n        (0.7, Container(TABBED, [\n            (0.5, urxvt(wdir=mydir, command=\"vim file.txt\")),\n            (0.5, sublime([mydir])),\n        ])),\n        (0.3, urxvt(wdir=mydir)),\n    ])\n)])\nws.launch()\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustbuchanan%2Fi3scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjustbuchanan%2Fi3scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjustbuchanan%2Fi3scripts/lists"}