{"id":22870562,"url":"https://github.com/layerex/dmenu-bluetooth","last_synced_at":"2025-05-05T22:14:15.500Z","repository":{"id":41120591,"uuid":"271328813","full_name":"Layerex/dmenu-bluetooth","owner":"Layerex","description":"🔷 A script that generates a dmenu (or other) menu that uses bluetoothctl to connect to bluetooth devices and display status info.","archived":false,"fork":false,"pushed_at":"2023-07-15T19:42:33.000Z","size":52,"stargazers_count":49,"open_issues_count":0,"forks_count":6,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-05-05T22:14:10.100Z","etag":null,"topics":["bluetooth","dmenu"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Layerex.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-10T16:27:51.000Z","updated_at":"2024-09-13T22:07:50.000Z","dependencies_parsed_at":"2023-01-21T10:02:41.250Z","dependency_job_id":null,"html_url":"https://github.com/Layerex/dmenu-bluetooth","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/Layerex%2Fdmenu-bluetooth","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Layerex%2Fdmenu-bluetooth/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Layerex%2Fdmenu-bluetooth/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Layerex%2Fdmenu-bluetooth/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Layerex","download_url":"https://codeload.github.com/Layerex/dmenu-bluetooth/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252584331,"owners_count":21771945,"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":["bluetooth","dmenu"],"created_at":"2024-12-13T13:14:59.884Z","updated_at":"2025-05-05T22:14:15.474Z","avatar_url":"https://github.com/Layerex.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003ch3\u003edmenu-bluetooth\u003c/h3\u003e\n\u003cimg src=\"https://github.com/ClydeDroid/rofi-bluetooth/raw/master/.meta/menu.gif\"\u003e\n\n`bluetoothctl` `rofi` `dmenu`\n\n\u003c/div\u003e\n\n## Installation\n### From AUR\n\n``` sh\nyay -S dmenu-bluetooth\n```\n\n### Manually\n\nInstall dependencies: dmenu and bluetoothctl (provided by `bluez-utils` in Arch)\n\n``` sh\nwget \"https://raw.githubusercontent.com/Layerex/dmenu-bluetooth/master/dmenu-bluetooth\"\ninstall dmenu-bluetooth /usr/local/bin\n```\n\n## Usage\n\n```\nusage: dmenu-bluetooth [--help] [--status] [--connected-icon [ICON]] [PROMPT] DMENU_ARGS...\n\nA script that generates a dmenu menu that uses bluetoothctl to connect to bluetooth devices and display status info.\n\npositional arguments:\n  PROMPT                    dmenu prompt\n  DMENU_ARGS...             arguments passed to dmenu\n\noptions:\n--help                      show this help message and exit\n--status                    print a short string about current bluetooth status and exit\n--connected-icon [ICON]     add icon on device list next to connected devices\n\nenvironment variables:\n  DMENU_BLUETOOTH_PROMPT    dmenu prompt\n  DMENU_BLUETOOTH_LAUNCHER  command to use instead of 'dmenu'\n\nPositional arguments have to be placed after all other arguments.\nA PROMPT positional argument will be interpreted as part of DMENU_ARGS if it starts with '-'. It won't be parsed if the DMENU_BLUETOOTH_PROMPT environment variable is set.\nUse the DMENU_BLUETOOTH_LAUNCHER environment variable to use launchers other than dmenu. Rofi, fuzzel, and any dmenu-compatible launchers are supported.\n```\n\n### Polybar configuration\n\n`NOTE:` In order to properly display the bluetooth icon, you will need to use an iconic font in your bar, e.g. [Nerd Fonts](https://github.com/ryanoasis/nerd-fonts)\n\n```\n[module/bluetooth]\ntype = custom/script\nexec = dmenu-bluetooth --status\ninterval = 1\nclick-left = dmenu-bluetooth \u0026\n```\n\n### i3 keybinding\n\n```\nbindsym $mod+b exec --no-startup-id dmenu-bluetooth\n```\n\n### Thanks for the inspiration!\n\n- [firecat53/networkmanager-dmenu](https://github.com/firecat53/networkmanager-dmenu)\n- [x70b1's bluetoothctl polybar script](https://github.com/polybar/polybar-scripts/tree/master/polybar-scripts/system-bluetooth-bluetoothctl)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flayerex%2Fdmenu-bluetooth","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flayerex%2Fdmenu-bluetooth","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flayerex%2Fdmenu-bluetooth/lists"}