{"id":17793858,"url":"https://github.com/psvenk/dmenu-maim","last_synced_at":"2025-04-02T02:19:51.525Z","repository":{"id":143686182,"uuid":"270343452","full_name":"psvenk/dmenu-maim","owner":"psvenk","description":"dmenu wrapper for maim supporting saving to a file and copying to the system clipboard, using the entire screen, a selection, or the currently focused window","archived":false,"fork":false,"pushed_at":"2021-11-20T14:28:42.000Z","size":24,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-07T17:18:27.724Z","etag":null,"topics":["dmenu","maim","screenshot"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/psvenk.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2020-06-07T15:11:27.000Z","updated_at":"2021-11-20T14:28:44.000Z","dependencies_parsed_at":"2024-03-30T18:01:49.671Z","dependency_job_id":null,"html_url":"https://github.com/psvenk/dmenu-maim","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/psvenk%2Fdmenu-maim","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psvenk%2Fdmenu-maim/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psvenk%2Fdmenu-maim/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/psvenk%2Fdmenu-maim/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/psvenk","download_url":"https://codeload.github.com/psvenk/dmenu-maim/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246741133,"owners_count":20826068,"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","maim","screenshot"],"created_at":"2024-10-27T11:13:51.488Z","updated_at":"2025-04-02T02:19:51.503Z","avatar_url":"https://github.com/psvenk.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"==========\ndmenu-maim\n==========\n\ndmenu wrapper for maim (X11) or grim (Wayland), supporting saving to a file\nand copying to the system clipboard, using the entire screen, a selection, or\nthe currently focused window.\n\nDependencies (X11): dmenu_, maim_ (and slop_), xdotool_, xclip_\n\nDependencies (Wayland): dmenu_, grim_, slurp_, wl-clipboard_\n\nOn Wayland, taking a screenshot of the selected window is currently only\nsupported on Sway_, because ``swaymsg`` is used to get the current window (as\nin the example in |the grim README|_).\n\n.. _dmenu: https://tools.suckless.org/dmenu/\n.. _maim: https://github.com/naelstrof/maim\n.. _slop: https://github.com/naelstrof/slop\n.. _xdotool: https://www.semicomplete.com/projects/xdotool/\n.. _xclip: https://github.com/astrand/xclip\n.. _grim: https://wayland.emersion.fr/grim/\n.. _slurp: https://wayland.emersion.fr/slurp/\n.. _wl-clipboard: https://github.com/bugaevc/wl-clipboard\n\n.. _Sway: https://swaywm.org/\n.. |the grim README| replace:: the ``grim`` README\n.. _the grim README:\n   https://github.com/emersion/grim/blob/\n   d570e13d6fa343507ebaafcc390142aa21cf591a/README.md\n\nArch Linux package\n==================\n\nRunning ``makepkg --noextract`` should create an Arch Linux package. This\nworks because ``src/dmenu-maim`` is a symlink to the root of the repository.\n\nConfiguration\n=============\n\nThe command lines used for ``dmenu`` and ``xclip`` / ``wl-copy`` can be\nconfigured in the file ``$XDG_CONFIG_HOME/dmenu-maim/config.ini`` (usually\n``~/.config/dmenu-maim/config.ini``). Here is a sample config file which uses\n``bemenu`` instead of ``dmenu`` on Wayland:\n\n.. code:: dosini\n  [x11]\n  dmenu=dmenu -i -p\n  xclip=xclip -selection clipboard -t image/png\n\n  [wayland]\n  dmenu=bemenu -i -p\n  xclip=wl-copy -t image/png\n\nLicense\n=======\n\nCopyright (c) 2020-21 Pratyush Venkatakrishnan\n\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are met:\n\n1. Redistributions of source code must retain the above copyright notice,\n   this list of conditions and the following disclaimer.\n\n2. Redistributions in binary form must reproduce the above copyright notice,\n   this list of conditions and the following disclaimer in the documentation\n   and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\"\nAND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE\nIMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE\nARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE\nLIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR\nCONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF\nSUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS\nINTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN\nCONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)\nARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE\nPOSSIBILITY OF SUCH DAMAGE.\n\n..\n    vim: tw=77\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsvenk%2Fdmenu-maim","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpsvenk%2Fdmenu-maim","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpsvenk%2Fdmenu-maim/lists"}