{"id":20572174,"url":"https://github.com/mcaimi/lua-xrdb","last_synced_at":"2025-10-29T19:48:03.740Z","repository":{"id":69446921,"uuid":"169374366","full_name":"mcaimi/lua-xrdb","owner":"mcaimi","description":"Lua library to interact with X11 Xrdb","archived":false,"fork":false,"pushed_at":"2019-02-25T10:01:57.000Z","size":19,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-14T17:02:44.816Z","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/mcaimi.png","metadata":{"files":{"readme":"README.rst","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":"2019-02-06T08:22:05.000Z","updated_at":"2019-02-25T10:09:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"909f2346-c928-4b3c-9423-f5cd90258f1e","html_url":"https://github.com/mcaimi/lua-xrdb","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/mcaimi/lua-xrdb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcaimi%2Flua-xrdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcaimi%2Flua-xrdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcaimi%2Flua-xrdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcaimi%2Flua-xrdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mcaimi","download_url":"https://codeload.github.com/mcaimi/lua-xrdb/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mcaimi%2Flua-xrdb/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259851659,"owners_count":22921626,"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-11-16T05:18:39.393Z","updated_at":"2025-10-29T19:48:03.644Z","avatar_url":"https://github.com/mcaimi.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"=======================\nLUA-XRDB bridge library\n=======================\n\nA little (and mostly incomplete) library for reading and writing entries in the X11 Resource Database\n\nInstallation and usage\n======================\n\nCompile the x11 bridge library\n------------------------------\n\nThe first step is to compile the X11 bridge library, which is a little C glue program.\nThe provided makefile comes with a couple targets (for different versions of the lua interpreter).\n\nCompile the x11 bridge module and install that in the Lua cpath:\n\n.. code:: bash\n\n    # make\n\n    # cp xresources53.so $HOME/.config/lualibs/xresources.so\n\nThe default target is Lua5.3, but additional targets are available for lua5.2 and lua5.1\n\nThe lua library expects to find a file named 'xresources.so' in the CPATH.\nThis file can be installed system-wide or in the user home under ~/.config/lualibs.\n\nHow to use the library\n----------------------\n\nOnce the X11 glue bits are in place, just import the lua library in your script:\n\n.. code:: lua\n\n    require 'xrdb'\n\nThe module has functions to read and write entries in the Default Resource Database.\n\nTODO\n====\n\nMany things, but just to name a few:\n\n- Better error handling\n- Better support for x11 resource bits\n- Support for import/export of resource databases\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcaimi%2Flua-xrdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmcaimi%2Flua-xrdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmcaimi%2Flua-xrdb/lists"}