{"id":13407442,"url":"https://github.com/cdown/clipmenu","last_synced_at":"2025-10-05T00:37:37.865Z","repository":{"id":13842787,"uuid":"16539923","full_name":"cdown/clipmenu","owner":"cdown","description":"Clipboard management using dmenu","archived":false,"fork":false,"pushed_at":"2025-04-24T21:09:31.000Z","size":234,"stargazers_count":1179,"open_issues_count":16,"forks_count":89,"subscribers_count":19,"default_branch":"develop","last_synced_at":"2025-04-24T22:28:34.590Z","etag":null,"topics":["c","clipboard","clipboard-buffer","clipboard-management","dmenu","simple","suckless"],"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/cdown.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":"2014-02-05T09:13:13.000Z","updated_at":"2025-04-24T21:09:35.000Z","dependencies_parsed_at":"2024-01-16T03:48:26.192Z","dependency_job_id":"f12cc75b-f4dd-4379-95ff-dea726bc10ba","html_url":"https://github.com/cdown/clipmenu","commit_stats":null,"previous_names":[],"tags_count":28,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdown%2Fclipmenu","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdown%2Fclipmenu/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdown%2Fclipmenu/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdown%2Fclipmenu/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdown","download_url":"https://codeload.github.com/cdown/clipmenu/tar.gz/refs/heads/develop","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254448579,"owners_count":22072764,"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":["c","clipboard","clipboard-buffer","clipboard-management","dmenu","simple","suckless"],"created_at":"2024-07-30T20:00:40.413Z","updated_at":"2025-10-05T00:37:37.860Z","avatar_url":"https://github.com/cdown.png","language":"C","readme":"clipmenu is a simple clipboard manager using [dmenu][], [rofi][] or similar.\n\n# Demo\n\n![Demo](https://cloud.githubusercontent.com/assets/660663/24079784/6f76da94-0c88-11e7-8251-40b1f02ebf3c.gif)\n\n# Usage\n\n## clipmenud\n\nStart `clipmenud`, then run `clipmenu` to select something to put on the\nclipboard. For systemd users, a user service called `clipmenud` is packaged as\npart of the project.\n\nIf you start X via `startx`/`xinit` and use the systemd user service, make sure\n`$DISPLAY` is set so clipmenud knows which X server to use. Most distributions\ninclude scripts in `/etc/X11/xinit/xinitrc.d/` for this, so if they are present\nyou can usually just source them in your `~/.xinitrc`. Alternatively, before\nlaunching the clipmenud service, run:\n\n    systemctl --user import-environment DISPLAY\n\n## clipmenu\n\nYou may wish to bind a shortcut in your window manager to launch `clipmenu`.\n\nAll args passed to clipmenu are transparently dispatched to dmenu. That is, if\nyou usually call dmenu with args to set colours and other properties, you can\ninvoke clipmenu in exactly the same way to get the same effect, like so:\n\n    clipmenu -i -fn Terminus:size=8 -nb '#002b36' -nf '#839496' -sb '#073642' -sf '#93a1a1'\n\nFor a full list of environment variables that clipmenud can take, please see\n`man clipmenud`.\n\nThere is also `clipdel` to delete clips, and `clipctl` to enable or disable\nclipboard monitoring.\n\n# Features\n\nThe behavior of `clipmenud` can be customized through a config file. As some\nexamples of things you can change:\n\n* Customising the maximum number of clips stored (default 1000)\n* Disabling clip collection temporarily with `clipctl disable`, reenabling with\n  `clipctl enable`\n* Not storing clipboard changes from certain applications, like password\n  managers\n* Taking direct ownership of the clipboard\n* ...and much more.\n\nSee `man clipmenu.conf` to view all possible configuration variables and what\nthey do.\n\n# Supported launchers\n\nAny dmenu-compliant application will work, but here are `CM_LAUNCHER`\nconfigurations that are known to work:\n\n- `dmenu` (the default)\n- `fzf`\n- `rofi`\n\n# Installation\n\nSeveral distributions, including Arch and Nix, provide clipmenu as an official\npackage called `clipmenu`.\n\n## Manual installation\n\nIf your distribution doesn't provide a package, you can manually install using\n`make install` (or better yet, create a package for your distribution!).\n\n# How does it work?\n\n## clipmenud\n\n1. clipmenud passively monitors X11 clipboard selections (PRIMARY, CLIPBOARD,\n   and SECONDARY) for changes using XFixes (no polling).\n2. If `clipmenud` detects changes to the clipboard contents, it writes them out\n   to storage and indexes using a hash as the filename.\n\n## clipmenu\n\n1. `clipmenu` reads the index to find all available clips.\n2. `dmenu` (or another configured launcher) is executed to allow the user to\n   select a clip.\n3. After selection, the clip is put onto the PRIMARY and CLIPBOARD X\n   selections.\n\n[dmenu]: http://tools.suckless.org/dmenu/\n[rofi]: https://github.com/DaveDavenport/Rofi\n","funding_links":[],"categories":["Shell","Clipboard","C"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdown%2Fclipmenu","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdown%2Fclipmenu","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdown%2Fclipmenu/lists"}