{"id":18564848,"url":"https://github.com/marcoplaitano/dmenu","last_synced_at":"2025-05-15T18:34:53.710Z","repository":{"id":177293402,"uuid":"568737024","full_name":"marcoplaitano/dmenu","owner":"marcoplaitano","description":"My custom dmenu implementation with patches already applied.","archived":false,"fork":false,"pushed_at":"2024-01-05T15:20:41.000Z","size":146,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-26T12:09:45.791Z","etag":null,"topics":["dmenu","dmenu-scripts"],"latest_commit_sha":null,"homepage":"","language":"C","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/marcoplaitano.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":"2022-11-21T09:57:30.000Z","updated_at":"2024-01-05T15:21:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"ca828ec5-0e5a-4443-a56d-0e662527f408","html_url":"https://github.com/marcoplaitano/dmenu","commit_stats":null,"previous_names":["marcoplaitano/dmenu"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoplaitano%2Fdmenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoplaitano%2Fdmenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoplaitano%2Fdmenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/marcoplaitano%2Fdmenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/marcoplaitano","download_url":"https://codeload.github.com/marcoplaitano/dmenu/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239293948,"owners_count":19615043,"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":["dmenu","dmenu-scripts"],"created_at":"2024-11-06T22:16:31.735Z","updated_at":"2025-02-17T13:14:32.346Z","avatar_url":"https://github.com/marcoplaitano.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DMENU\n\nThis is my fork of [dmenu] (version **5.2**), with several patches **already**\n**applied**.\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n# Installation\n\nTake a look at the [dependencies] listed below.\n\nDownload, compile and install the program:\n\n```sh\ngit clone https://github.com/marcoplaitano/dmenu\ncd dmenu\nsudo make install\n```\n\nUninstall with:\n\n```sh\nsudo make uninstall\n```\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n# Usage\n\n## dmenu\n\nThis script needs a custom list of options (strings separated by `\\n`) to choose\nfrom:\n\n```sh\nprintf \"YES\\nNO\\nMAYBE\" | dmenu\n```\n\nIt then prompts you to write/select one of the available options. The selection\nis printed to `stdout`.\n\n### Options\n\nRead the `man` page to learn about the command-line options that can modify\n**dmenu**'s behaviour.\n\n## dmenu_run\n\nThis wrapper script uses **dmenu** to choose and execute any program/script\navailable in `$PATH`.\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n# Patches applied\n\nThese are all the patches I manually added to the source code. Some of these\nI have customized to further improve control over the program's behaviour and\nappearance.  \nA list of all the available patches can be found on dmenu's [website].\n\n## Alpha\n\nAdds the `-a` option to make the window semi-transparent, while keeping the text\nin it opaque.\nThe alpha mask (amount of transparency) is defined in the **config.h** file.  \nThe default value is `0xCC` (80% of transparency).\n\n## Center\n\nAdds the `-c` option to center the window on the screen (like rofi).\n\n## Border Width\n\nAdds the `-bw W` option to specify a border width of `W` pixels. The colour of\nthe border is the same of the selected match's background (`-sb #RRGGBB`).  \nBy default the border will not be drawn.\n\n## Line Height\n\nAdds the `-h H` option to adjust the height of the window, in pixels.\n\n## Fuzzy Match\n\nAdds the `-F` option to enable fuzzy-matching.\n\n## Fuzzy highlight\n\nAdds options to change the colours of the highlighted fuzzy matches.\n\n+ `-nhb #RRGGBB`  \n    normal fuzzy highlight background.\n+ `-nhf #RRGGBB`  \n    normal fuzzy highlight foreground.\n+ `-shb #RRGGBB`  \n    selected fuzzy highlight background.\n+ `-shf #RRGGBB`  \n    selected fuzzy highlight foreground.\n\n- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -\n\n# Dependencies\n\nThese are the utilities and libraries needed to compile the program:\n\n+ gcc\n+ make\n+ build-essential\n+ libx11-dev\n+ libxinerama-dev\n+ libxft-dev\n\n\u003c!-- LINKS --\u003e\n\n[dmenu]:\nhttps://tools.suckless.org/dmenu/\n\"dmenu's website\"\n\n[dependencies]:\n#dependencies\n\"Anchor to header\"\n\n[website]:\nhttps://tools.suckless.org/dmenu/patches/\n\"dmenu's patches\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoplaitano%2Fdmenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmarcoplaitano%2Fdmenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmarcoplaitano%2Fdmenu/lists"}