Coder Social home page Coder Social logo

nilstack / automute Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lorenzo45/automute

0.0 2.0 0.0 136 KB

Mute or unmute your MacBook based on your current wifi network

Home Page: http://lorenzo45.github.io/AutoMute

License: MIT License

Swift 44.60% Objective-C 55.40%

automute's Introduction

AutoMute - 📥Download Version 1.1 Here📥

Have a MacBook that you use both for work and personal use? Constantly forgetting to mute your sound when you get to school or work?

Closing Laptop

AutoMute allows you to tell your computer to mute or unmute your Macbook when you connect to certain wifi networks, eliminating the need to remember to mute and unmute your laptop and giving you the peace of mind that your laptop won't start playing sounds in the middle of class or in the office.

Screenshots

AutoMute Menu

AutoMute Setup

Setup

AutoMute has a super easy one-time setup. When you first launch the app, it shows a list of your most recently used wifi networks and you tell it what you want to happen when you connect to each one. Once everything is set up, you can close the preferences window and AutoMute will work in the background.

As long as you see the AutoMute icon on your status bar, AutoMute is working. This is also where you can change the settings any time you like.

Version History

###1.0 (September 2015) Initial release, core functionality included wifi monitoring and volume muting/unmuting based on user preferences, and a setup screen that shows the wifi networks that have been connected to by the user in reverse chronological order.

###1.1 (December 2015) First update with the following changes:

  • El Capitan support (the toggles on the setup screen broke)
  • Added emojis to setup options for non-english speaking users
  • Added "Not connected to any network" option to the setup menu
  • Added a 10 second timer when wifi drops (to avoid detecting small drops in wifi)
  • Changed setup window to always be on top to avoid losing it behind other windows

Developer Guide

I've decided to make AutoMute open source and I welcome all feedback, issues, and pull requests. This is my first time making something open source, so if I'm doing something wrong or poorly please let me know!

AutoMute was written in Swift 2 using Xcode 7 beta 6. Here are some quick descriptions of the main classes in the app:

  • WifiManager - Monitors the current wifi network and the user's preferences and makes a delegate call when the wifi network changes.
  • AppDelegate - Receives calls from the WifiManager and displays the status item and menu.
  • SetupViewController - Essentially just a tableview that uses the WifiManager as a data source.

Licensing

See the file named "LICENSE".

automute's People

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.