Skip to content

Mac volume and brightness control with Vim key bindings

Notifications You must be signed in to change notification settings

roeybiran/Knobby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Knobby’s app icon

Knobby

A tiny app to control your Mac’s volume and screen brightness with Vim key bindings.

This app exists because:

  • I wanted a dead–simple “agent” app that could be quickly summoned whenever (stylishly if possible) and allow me to adjust the Mac’s volume and brightness with Vim key bindings.
  • I wanted to play with latest Apple technologies (e.g. Sonoma’s SwiftUI, Observation…).

As of macOS Sonoma and on Apple Silicon machines, the only reliable way to programmatically control the display’s brightness is through the private DisplayServices framework, which necessitates removing the app’s sandbox. This is why this app can’t be distributed through the App Store.

Requires macOS Sonoma.

Demo

video.mp4

Install

  • Download the latest release, mount the DMG and move the app bundle to your applications folder.

Usage

  • To activate this app from anywhere using a global keyboard shortcut, and without taking focus off the current app, use an app like Karabiner–Elements and configure your desired keyboard shortcut to run the following shell script:
open -gja Knobby