- get hammersponn: brew install --cask hammerspoon
- drop the file into yout init.lua dir
- import & bind in your init.lua:
local toggleGoogleMeetMic = require('google-meet-mic')
hs.hotkey.bind({"shift"}, "F16", toggleGoogleMeetMic)brew install --cask hammerspoonlocal toggleGoogleMeetMic = require('google-meet-mic')
hs.hotkey.bind({"shift"}, "F16", toggleGoogleMeetMic)| #!/bin/bash | |
| # Update homebrew | |
| CYAN=$(tput setaf 6) | |
| RESET=$(tput sgr0) | |
| echo "${CYAN}Updating homebrew and local base of available packages and versions...${RESET}" | |
| brew update | 
| .project-cards { | |
| margin: 2em 0; | |
| } | |
| .project-card { | |
| margin: .5em 0; | |
| /* border: 1px solid #444; */ | |
| background: hsla(0, 0%, 0%, .1); | |
| padding: .5em .5em .5em 2em; | |
| position: relative; | 
| @import Darwin; | |
| @import ObjectiveC; | |
| @import CloudKit; | |
| extern bool GEOConfigGetBOOL(int feature, void* something); | |
| // Hooks feature flags in a resigned Maps.app to return true. | |
| // Usage: | |
| // clang -shared -fmodules -o libmaps_inject.dylib maps_inject.m \ | |
| // "$(xcrun | 
| -- This script uses Acorn (tested with version 6.6.4) | |
| -- to add a light border around a window screenshot. | |
| -- | |
| -- Screenshots (without the huge macOS shadows) are made by shift-cmd-4, then space bar, | |
| -- then option-click on window (see https://apple.stackexchange.com/a/120017/17533) | |
| -- | |
| -- Before use, you need to create a Preset Filter for this, once: | |
| -- With an image opened, use from menu: Filter / Stylize / Drop Shadow… | |
| -- Set its options as you prefer (e.g. X/Y offset 0, Blur Radius 2, Opacity 80%), | |
| -- then save it by clicking the gear icon, choose "Save Filter Preset…" and | 
| -- Runs using the open source Mac app https://www.hammerspoon.org | |
| -- Install Hammerspoon, and then copy this Gist into a file at ~/.hammerspoon/init.lua | |
| require("hs.ipc") | |
| hs.ipc.cliInstall() | |
| local math = require("hs.math") | |
| currentSpeech = nil | 
| :root { | |
| --quattro-font: 'Operator Mono', 'Operator Mono', monospace; | |
| --font-monospace: 'Operator Mono', 'Operator Mono', monospace; | |
| --default-font: -apple-system, BlinkMacSystemFont, var(--font-monospace); | |
| } | |
| .theme-light { | |
| --background-code: #edeeee; | |
| --background-code-preview: #f0f0f0; | |
| --background-preview: #fcfcfc; | 
| const apiUrl = "https://pass.telekom.de/api/service/generic/v1/status" | |
| let widget = await createWidget() | |
| widget.backgroundColor = new Color("#777777") | |
| if (!config.runsInWidget) { | |
| await widget.presentSmall() | |
| } | |
| Script.setWidget(widget) | |
| Script.complete() | 
| {:main [{:des "mb3-layer" | |
| :rules [ | |
| ;; set the action for double press first | |
| [{:pkey :button3} [:!Sgrave_accent_and_tilde :slash ] ["mb3-q" 1] ] | |
| ;; set the variable initializer for single press,longpress and allow pass throw on doublepress ? | |
| ;;[{:pkey :button3} [["mb3-layer" 1]["mb3-q" 1]{:pkey :button3}] nil | |
| [{:pkey :button3} [["mb3-layer" 1]["mb3-q" 1]] nil | |
| {:afterup ["mb3-layer" 0] | |
| :alone {:pkey :button3} | |
| :delayed {:invoked ["mb3-q" 0] :canceled ["mb3-q" 0]} |