{"id":13437275,"url":"https://github.com/salman-abedin/devour","last_synced_at":"2025-04-06T00:10:44.310Z","repository":{"id":41957884,"uuid":"273273048","full_name":"salman-abedin/devour","owner":"salman-abedin","description":"X11 window swallower","archived":false,"fork":false,"pushed_at":"2023-01-04T15:52:07.000Z","size":11862,"stargazers_count":425,"open_issues_count":21,"forks_count":30,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-29T23:11:07.775Z","etag":null,"topics":["c","terminal-emulators","x11"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/salman-abedin.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}},"created_at":"2020-06-18T15:22:25.000Z","updated_at":"2025-03-08T06:14:57.000Z","dependencies_parsed_at":"2023-02-02T17:47:44.172Z","dependency_job_id":null,"html_url":"https://github.com/salman-abedin/devour","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salman-abedin%2Fdevour","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salman-abedin%2Fdevour/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salman-abedin%2Fdevour/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/salman-abedin%2Fdevour/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/salman-abedin","download_url":"https://codeload.github.com/salman-abedin/devour/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247415973,"owners_count":20935387,"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","terminal-emulators","x11"],"created_at":"2024-07-31T03:00:55.619Z","updated_at":"2025-04-06T00:10:44.287Z","avatar_url":"https://github.com/salman-abedin.png","language":"C","funding_links":[],"categories":["C"],"sub_categories":[],"readme":"# Devour: X11 Window Swallower\n\nDevour hides your current window before launching an external program and unhides it after quitting.  \nDevour was inspired by\n[sw](https://github.com/ronniedroid/.dotfiles/blob/master/Scripts/sw)\nand is a successor to\n[devour.sh](https://github.com/salman-abedin/devour.sh)\n\n![](https://gitlab.com/salman-abedin/assets/-/raw/master/devour.gif)\n\n# Demonstration done by [DistroTube](https://www.youtube.com/channel/UCVls1GmFKf6WlTraIb_IaJg)\n\n[![](https://gitlab.com/salman-abedin/assets/-/raw/master/devour-dt.png)](https://www.youtube.com/watch?v=mBNLzHcUtTo\u0026t=5m22s)\n\n## Dependencies\n\n- Xlib (client-side header files)\n\n## Installation\n\n#### AUR\n\n```sh\nyay -S --noconfirm devour\n# or\nyay -S --noconfirm devour-git # Nightly\n```\n\n#### Git\n\n```sh\ngit clone https://github.com/salman-abedin/devour.git \u0026\u0026 cd devour \u0026\u0026 sudo make install\n```\n\n## Usage\n\n```sh\ndevour CMD ...\n```\n\n## Patches\n\n- **Shell aliases**. (ex. `devour z FILE` instead of `devour zathura FILE`)\n\n```sh\ncd devour\npatch -s \u003c devour-shellalias-10.0.diff    # Add the feature\npatch -s -R \u003c devour-shellalias-10.0.diff # Remove the feature\nsudo make install                      # Reinstall\n```\n\n## Pro Tip\n\n**Devour from your file explorer instead of the shell.**  \nWatch my demo and notice how seamless it is compared to devouring from the shell.\n\n**Hint:** If you are one of those unfortunate souls who uses **xdg-open** instead of\n[a custom launch script](https://gist.github.com/salman-abedin/6f52c52e465d89d489f9ea8d891c7332),\nthen go to your **~/.local/share/applications** directory and modify the applications you launch from your file explorer like below and enjoy the true devouring experience.\n\n```\n[Desktop Entry]\nType=Application\nName=PDF Reader\nExec=/usr/local/bin/devour /usr/bin/zathura %U\n```\n\n## Update\n\n```sh\ncd devour\ngit pull --no-rebase \u0026\u0026 sudo make install\n```\n\n## Uninstallation\n\n```sh\ncd devour\nsudo make uninstall\n```\n\n## Logs\n\n- **21/06/20**:- Added support for names with spaces\n\n- **07/07/20**:- Added support for shell aliases\n\n- **03/08/20**:- Rewrote the shellscript in C\n\n- **23/08/20**:- Made additional features optional using patching\n\n- **08/11/20**:- Added support for all unsafe characters\n\n## Contributors\n\n- keni7385 (AUR package submitter/maintainer)\n\n- [agnipau](https://github.com/agnipau)\n\n- [HawaiinPizza](https://github.com/HawaiinPizza)\n\n- [sbuller](https://github.com/sbuller)\n\n- [AriaMoradi](https://github.com/AriaMoradi)\n\n- [durcor](https://github.com/durcor)\n\n## TO-DOs\n\n- Authentic swallowing\n\n---\n\n## Shameful Plug\n\n| Name                                                    | Description                        |\n| ------------------------------------------------------- | ---------------------------------- |\n| [faint](https://github.com/salman-abedin/faint)         | Extensible TUI fuzzy file explorer |\n| [bolt](https://github.com/salman-abedin/bolt)           | The launcher wrapper               |\n| [uniblocks](https://github.com/salman-abedin/uniblocks) | The status bar wrapper             |\n| [tide](https://github.com/salman-abedin/tide)           | Minimal Transmission CLI client    |\n| [puri](https://github.com/salman-abedin/puri)           | Minimal URL launcher               |\n| [Magpie](https://github.com/salman-abedin/magpie)       | The dotfiles                       |\n| [Alfred](https://github.com/salman-abedin/alfred)       | The scripts                        |\n\n## Contact\n\nSalmanAbedin@disroot.org\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalman-abedin%2Fdevour","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsalman-abedin%2Fdevour","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsalman-abedin%2Fdevour/lists"}