🍺 BREW Explorer

← all casks

LidAngleSensor

brew install --cask lidanglesensor v1.1

Display MacBook lid angle and optionally play creaking sounds when opening or closing.

Why you might care

A novelty/fun utility for MacBook owners curious about their laptop's built-in lid angle sensor. Open-source and free. Note: only works on newer MacBooks (2019 16-inch and later, M1/M2 may not be supported).

Categories

180
30-day installs · #970
1.2k
90-day · #544
5.9k
365-day · #437
4.1k
★ GitHub stars · updated 3mo ago

Links

Blurb generated by claude-haiku-4-5 on today.

Raw metadata
{
  "alternatives": [],
  "artifacts": [
    {
      "app": [
        "LidAngleSensor.app"
      ],
      "target": "/Applications/LidAngleSensor.app"
    },
    {
      "zap": [
        {
          "trash": "~/Library/Application Support/com.apple.sharedfilelist/com.apple.LSSharedFileList.ApplicationRecentDocuments/gold.samhenri.lidanglesensor.sfl*"
        }
      ]
    }
  ],
  "auto_updates": null,
  "categories": [
    "system-utility",
    "menubar"
  ],
  "deprecated": 0,
  "deprecation_reason": null,
  "desc": "Utility to display the lid angle and play a creaking sound",
  "disable_reason": null,
  "disabled": 0,
  "display_name": "LidAngleSensor",
  "enrichment_fetched_at": "2026-06-20T22:45:49+00:00",
  "first_seen": "2026-06-20T00:47:34+00:00",
  "full_token": "lidanglesensor",
  "github_default_branch": "main",
  "github_last_commit_at": "2026-03-22T20:05:54Z",
  "github_readme_excerpt": "# Lid Angle Sensor\n\nHi, I\u2019m Sam Gold. Did you know that you have ~rights~ a lid angle sensor in your MacBook? [The ~Constitution~ human interface device utility says you do.](https://youtu.be/wqnHtGgVAUE?t=21)\n\nThis is a little utility that shows the angle from the sensor and, optionally, plays a wooden door creaking sound if you adjust it reeaaaaaal slowly.\n\n## FAQ\n\n**What is a lid angle sensor?**\n\nDespite what the name would have you believe, it is a sensor that detects the angle of the lid.\n\n**Which devices have a lid angle sensor?**\n\nIt was introduced with the 2019 16-inch MacBook Pro. If your laptop is newer, you probably have it. [People have reported](https://github.com/samhenrigold/LidAngleSensor/issues/13) that it **does not work on M1/M2 devices**, I have not yet figured out a fix.\n\n**My laptop should have it, why doesn\u0027t it show up?**\n\nI\u0027ve only tested this on my M4 MacBook Pro and have hard-coded it to look for a specific sensor. If that doesn\u0027t work, try running [this script](https://gist.github.com/samhenrigold/42b5a92d1ee8aaf2b840be34bff28591) and report the output in [an issue](https://github.com/samhenrigold/LidAngleSensor/issues/new/choose).\n\nKnown problematic models:\n\n- M1 MacBook Air (the wedge-shaped one)\n- M1/M2 MacBook Pro with Touch Bar\n\n**Can I use this on my iMac?**\n\n~~Not yet tested. Feel free to slam your computer into your desk and make a PR with your results.~~\n\n[It totally works](https://github.com/samhenrigold/LidAngleSensor/issues/33). If it doesn\u0027t work for you, try slamming your computer harder?\n\n**Why?**\n\n~~A lot of free time. I\u0027m open to full-time work in NYC or remote. I\u0027m a designer/design-engineer.~~ https://samhenri.gold\n\nI am now employed but I\u0027m still doing this for the love of the game.\n\n**No I mean like why does my laptop need to know the exact angle of its lid?**\n\nOh. I don\u0027t know.\n\n**Can I contribute?**\n\nI guess.\n\n**How come the audio feels kind of...weird?**\n\nI\u0027m bad at audio.\n\n**Where did the sound effect come from?**",
  "github_repo": "samhenrigold/LidAngleSensor",
  "github_stars": 4124,
  "github_topics": [],
  "homepage": "https://github.com/samhenrigold/LidAngleSensor",
  "homepage_og_description": null,
  "homepage_og_image": null,
  "homepage_title": null,
  "installs_30d": 180,
  "installs_365d": 5897,
  "installs_90d": 1231,
  "last_seen": "2026-06-20T00:47:34+00:00",
  "llm_generated_at": "2026-06-20T23:06:20+00:00",
  "llm_model": "claude-haiku-4-5",
  "names": [
    "LidAngleSensor"
  ],
  "one_liner": "Display MacBook lid angle and optionally play creaking sounds when opening or closing.",
  "rank_30d": 970,
  "rank_365d": 437,
  "rank_90d": 544,
  "raw_hash": "6a76a43b5d9c4fdf",
  "ruby_source_path": "Casks/l/lidanglesensor.rb",
  "tap": "homebrew/cask",
  "token": "lidanglesensor",
  "version": "1.1",
  "why_use_this": "A novelty/fun utility for MacBook owners curious about their laptop\u0027s built-in lid angle sensor. Open-source and free. Note: only works on newer MacBooks (2019 16-inch and later, M1/M2 may not be supported)."
}