{"id":17700608,"url":"https://github.com/cdown/xinput-toggle","last_synced_at":"2026-03-09T02:32:18.304Z","repository":{"id":54842438,"uuid":"71516706","full_name":"cdown/xinput-toggle","owner":"cdown","description":"A simple xinput toggler for X11 systems","archived":false,"fork":false,"pushed_at":"2024-06-04T15:27:04.000Z","size":10,"stargazers_count":17,"open_issues_count":0,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-05T21:50:41.764Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","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":"2016-10-21T00:57:53.000Z","updated_at":"2025-01-28T19:31:49.000Z","dependencies_parsed_at":"2024-10-24T21:24:11.410Z","dependency_job_id":"115adb79-817c-4f42-a77b-f815ab80b51e","html_url":"https://github.com/cdown/xinput-toggle","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/cdown/xinput-toggle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdown%2Fxinput-toggle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdown%2Fxinput-toggle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdown%2Fxinput-toggle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdown%2Fxinput-toggle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cdown","download_url":"https://codeload.github.com/cdown/xinput-toggle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cdown%2Fxinput-toggle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30280855,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T02:23:26.802Z","status":"ssl_error","status_checked_at":"2026-03-09T02:22:46.175Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":[],"created_at":"2024-10-24T17:42:38.736Z","updated_at":"2026-03-09T02:32:18.285Z","avatar_url":"https://github.com/cdown.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"xinput-toggle is a simple script to toggle devices on and off for X11 systems.\nIt was created to toggle Yubikey state, but it can deal with any X input\ndevice.\n\n## Usage\n\n`xinput-toggle -h` contains detailed usage information.\n\nI suggest you bind xinput-toggle to a keybinding in your window manager if you\nwill use it a lot.\n\nFor these examples I will show this being used to enable/disable a Yubikey\n(`-r` is a case-insensitive regex used to identify devices by names, as shown\nby `xinput list`).\n\n```\n# Toggle device status (on -\u003e off, off -\u003e on)\nxinput-toggle -r yubikey\n\n# Show notification indicating actions performed\nxinput-toggle -r yubikey -n\n\n# Disable xinput (no toggle)\nxinput-toggle -r yubikey -d\n\n# Enable xinput (no toggle)\nxinput-toggle -r yubikey -e\n\n# Enable for 5 seconds, then disable again\nxinput-toggle -r yubikey -e -t 5\n```\n\n## Requirements\n\n- xinput\n- bash 4+\n- notify-send (optional, for `-n`, provided with libnotify)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdown%2Fxinput-toggle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcdown%2Fxinput-toggle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcdown%2Fxinput-toggle/lists"}