Skip to content

VincentStark/hammerspoon-m1-display-wakeup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Hammerspoon External Display Buzzing Fix

This Hammerspoon script fixes the buzzing issue on external displays when waking up from sleep. The script saves the current brightness of the external display when the screens go to sleep and restores the brightness after the screens wake up.

Requirements

Installation

  • Install Hammerspoon if you haven't already.

  • Install m1ddc using Homebrew:

brew install --cask m1ddc
  • Clone this repository or copy the external_display_buzzing_fix.lua script to your Hammerspoon configuration directory (usually ~/.hammerspoon/).

  • Edit your Hammerspoon init.lua file (located in the Hammerspoon configuration directory) and add the following line to load the script:

require("external_display_buzzing_fix")
  • Reload your Hammerspoon configuration by clicking the Hammerspoon menu bar icon and selecting "Reload Config".

Usage

The script runs automatically when the screens go to sleep and wake up. No manual intervention is required.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages