{"id":16940954,"url":"https://github.com/iberianpig/fusuma-plugin-appmatcher","last_synced_at":"2025-05-09T00:29:09.017Z","repository":{"id":43875142,"uuid":"304076386","full_name":"iberianpig/fusuma-plugin-appmatcher","owner":"iberianpig","description":"Fusuma plugin configure app-specific gestures","archived":false,"fork":false,"pushed_at":"2025-02-18T21:38:19.000Z","size":135,"stargazers_count":9,"open_issues_count":5,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-31T19:51:08.245Z","etag":null,"topics":["fusuma","gesture","gnome","gnome-shell","ubuntu","wayland","x11"],"latest_commit_sha":null,"homepage":"","language":"Ruby","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/iberianpig.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","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-10-14T16:40:54.000Z","updated_at":"2025-02-18T21:38:19.000Z","dependencies_parsed_at":"2024-08-08T16:14:45.186Z","dependency_job_id":null,"html_url":"https://github.com/iberianpig/fusuma-plugin-appmatcher","commit_stats":{"total_commits":74,"total_committers":1,"mean_commits":74.0,"dds":0.0,"last_synced_commit":"af3a709ae3d5278ae62c965d6871c9608135d18a"},"previous_names":[],"tags_count":21,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iberianpig%2Ffusuma-plugin-appmatcher","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iberianpig%2Ffusuma-plugin-appmatcher/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iberianpig%2Ffusuma-plugin-appmatcher/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/iberianpig%2Ffusuma-plugin-appmatcher/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/iberianpig","download_url":"https://codeload.github.com/iberianpig/fusuma-plugin-appmatcher/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253170078,"owners_count":21865182,"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":["fusuma","gesture","gnome","gnome-shell","ubuntu","wayland","x11"],"created_at":"2024-10-13T21:08:20.521Z","updated_at":"2025-05-09T00:29:08.995Z","avatar_url":"https://github.com/iberianpig.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Fusuma::Plugin::Appmatcher [![Gem Version](https://badge.fury.io/rb/fusuma-plugin-appmatcher.svg)](https://badge.fury.io/rb/fusuma-plugin-appmatcher) [![Build Status](https://github.com/iberianpig/fusuma-plugin-appmatcher/actions/workflows/main.yml/badge.svg)](https://github.com/iberianpig/fusuma-plugin-appmatcher/actions/workflows/main.yml)\n\n[Fusuma](https://github.com/iberianpig/fusuma) plugin configure app-specific gestures\n\n* Switch gesture mappings by detecting active application.\n* Support X11, Ubuntu-Wayland\n\n\n## Installation\n\nRun the following code in your terminal.\n\n### Install fusuma-plugin-appmatcher\n\n```sh\n$ sudo gem install fusuma-plugin-appmatcher\n```\n\n### Install Appmatcher GNOME Shell Extensions on Wayland\n\nGnome Wayland version 41 and later does not allow to access information about window or application like focused app.\nSo fusuma-plugin-appmatcher solves this problem via Appmatcher gnome-extension.\n\n```sh\n$ fusuma-appmatcher --install-gnome-extension\n```\n\nRestart your session(logout/login), then activate Appmatcher on gnome-extensions-app\n\n## List Running Application names\n\n`$ fusuma-appmatcher -l` prints Running Application names.\n\n```sh\n$ fusuma-appmatcher -l\nSlack\nGoogle-chrome\nAlacritty\n```\n\nYou can use these application name to under `application:` context in config.yml\n\n## Add appmatcher properties and application names to config.yml\n\n1. Add the `---` symbol to separate the context in config.yml.\n\n2. Add `context:` property in `~/.config/fusuma/config.yml`.\n\n3. Under the `context:` property, you can set the `application: APP_NAME` as a value.\n  * In this context, you can configure mappings to application-specific gestures.\n  * For example, you can set `:Google-chrome`, `:Alacritty`, `Org.gnome.Nautilus`, and so on.\n  * You can find property name's hint, with `$ fusuma-appmatcher -l`\n\n**NOTE: The first context separated by `---` is the default context**\n\n### Example\n\nIn the following example of config.yml\n\n* On Google-chrome, the three-finger gesture is mapped to open in tab, close tab, back in history, forward in history.\n* On Gnome-terminal, the three-finger gesture will be mapped to open in tab, close in tab.\n\n```yaml\n# this is default context\nswipe:\n  4:\n    up:\n      sendkey: 'LEFTCTRL+LEFTALT+DOWN'\n      keypress:\n        LEFTSHIFT:\n          sendkey: 'LEFTSHIFT+LEFTCTRL+LEFTALT+DOWN'\n    down:\n      sendkey: 'LEFTCTRL+LEFTALT+UP'\n      LEFTSHIFT:\n        sendkey: 'LEFTSHIFT+LEFTCTRL+LEFTALT+UP'\n---\ncontext:\n  application:  Google-chrome\nswipe:\n  3:\n    left:\n      sendkey: 'LEFTALT+RIGHT'\n    right:\n      sendkey: 'LEFTALT+LEFT'\n    up:\n      sendkey: 'LEFTCTRL+T'\n    down:\n      sendkey: 'LEFTCTRL+W'\n---\ncontext:\n  application:  Gnome-terminal\nswipe:\n  3: \n    up:\n      sendkey: 'LEFTSHIFT+LEFTCTRL+T'\n    down:\n      sendkey: 'LEFTSHIFT+LEFTCTRL+W'\n```\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/iberianpig/fusuma-plugin-appmatcher. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n\n## Code of Conduct\n\nEveryone interacting in the Fusuma::Plugin::Appmatcher project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/iberianpig/fusuma-plugin-appmatcher/blob/master/CODE_OF_CONDUCT.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiberianpig%2Ffusuma-plugin-appmatcher","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fiberianpig%2Ffusuma-plugin-appmatcher","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fiberianpig%2Ffusuma-plugin-appmatcher/lists"}