Coder Social home page Coder Social logo

headphones-on's Introduction

headphones-on

Live checking if you are in focus-mode-on and letting your team know that.

Warning. This script is Mac Only.

...but offcourse you can make it work in any OS you want in like 5min. :-)

Requirements.

python3, bash, bluetooth headphones

How it works?

  • checking if you are @ work by ip.rz1.pl (you may use some other tool)
  • gathering hardware info from system_profiler
  • parsing this with your config & sending notifications.

Install Me

  1. git clone it to your scripts folder
  2. edit config.ini and com.deregowski.net.headphones-on.plist with your work IP, local dirs, headphones names and some other stuff
  3. ./run.sh

[extra-install-stuff]

  1. copy com.deregowski.net.headphones-on.plist to ~/Library/LaunchAgents/ [to make it permanent]
  2. launchctl load com.deregowski.net.headphones-on.plist [to make it autostart]

headphones-on's People

Contributors

venomen avatar

Watchers

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