Giter VIP home page Giter VIP logo

dmenu-bluetooth's Introduction

Fork Changes Compared to Layerex Version

  • Rewritten for easier use as a status bar element for dwmblocks-async or similar programs.
  • Fixed and made the status functionality default.
  • Status now displays device battery state in addition to the alias.
  • Input arguments are replaced with the environment variable BLOCK_BUTTON to control the script.
  • Code is greatly simplified while maintaining similar functionality.
  • Some effort was put into optimizing the script by reducing unnecessary calls to bluetoothctl.

dmenu-bluetooth

bluetoothctl rofi dmenu

Installation

Manually

Install dependencies: dmenu and bluetoothctl (provided by bluez-utils in Arch)

Usage

  • Run dmenu-bluetooth without anything else to get device status (bluetooth icon + alias and battery percent for each connected device)
  • Run BLOCK_BUTTON=1 dmenu-bluetooth to be prompted with the menu
  • Edit prompt function to change display options or the whole menu program

NOTE: In order to properly display the bluetooth icon, you will need to use an iconic font in your bar, e.g. Nerd Fonts. You can even use nerd fonts as a device alias for more compact status output.

Thanks for the inspiration!

dmenu-bluetooth's People

Contributors

layerex avatar nickclyde avatar dusanlesan avatar firgen avatar indradhanush avatar jaffex avatar jforberg avatar kmarc avatar notmgsk avatar pbogut avatar saghya avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.