Code Monkey home page Code Monkey logo

whapc's Introduction

Note This repository has been archived simply because I lost interest in the project as I don't use linux anymore.

WHAPC - Wireless Headset Audio Profile Controller

Contributors Forks Stargazers Issues MIT License LinkedIn

Report Bug ยท Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contact

About The Project

I had to manage my profiles using the gui tool, had to connect disconnect, and change profiles while listening to song and when i had to call, all of this needed a separate tool to implement and several commands which needed human interaction, that's exactly where this script will come in handy it reduced human interaction to the point of execution of command and put all of those things 'I USED' into one place.

(back to top)

Built With

(back to top)

Getting Started

To install and configure the project on your system locally, use suitable method:

Installation

  1. Clone the repo

    git clone https://github.com/proffapt/whapc.git
  2. Make the scripts executable

    cd whapc 
    chmod +x ./whapc ./setup.sh
  3. Executing the setup script

    ./setup.sh

    Aliter: Install following dependencies according to your package manager, if the install script fails. bluez, libpulse and pulseaudio. Along with installing the above mentioned dependencies, it adds the script path into the PATH env variable (obviously after asking you.. duhh). Currently supported shell types are bash, fish and zsh.

  4. Run the tool for first time using, and learn the usage on the go

    ./whapc -h

    And follow as the screen instructs, i.e. add the name for bluetooth device and mac-address for it (This will be a one time task)

(back to top)

See the open issues for a full list of proposed features (and known issues).

(back to top)

Usage

  1. Connecting/Disconnecting the device:

    whapc connect
    whapc disconnect
  2. Changing audio profiles:

    whapc -p ad2p // music profile
    whapc -p hsp // headset profile
    whapc -p hfp // handsfree profile
    whapc -p off 
  3. Changing the state of smart-switch:

    whapc -s on
    whapc -s off

(back to top)

Contact

๐Ÿ“ซ Arpit Bhardwaj ( aka proffapt ) - proffapt's Twitter proffapt's Telegram proffapt's LinkedIn proffapt's mail proffapt's forum for cybernity

(back to top)

Acknowledgments

(back to top)

Miscelleneous

Do consider looking at other paradigms of this documentation

whapc's People

Contributors

proffapt avatar

Stargazers

 avatar  avatar  avatar  avatar  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.