Skip to content

Instantly share code, notes, and snippets.

View x-tropy's full-sized avatar
👋
Nice to meet you!

Extropy x-tropy

👋
Nice to meet you!
View GitHub Profile
@james2doyle
james2doyle / clipboard.lua
Created March 22, 2019 16:15
A clipboard plugin for Hammerspoon that uses the chooser to show/select items in the clipboard
--[[
https://github.com/VFS/.hammerspoon
]]--
--[[
This is my attempt to implement a jumpcut replacement in Lua/Hammerspoon.
It monitors the clipboard/pasteboard for changes, and stores the strings you copy to the transfer area.
You can access this history on the menu (Unicode scissors icon).
Clicking on any item will add it to your transfer area.
If you open the menu while pressing option/alt, you will enter the Direct Paste Mode. This means that the selected item will be
@heptal
heptal / amphetamine.md
Last active April 22, 2024 15:12
Hammerspoon replacement for Caffeine

Amphetamine

Simple toggleable menubar replacement for Caffeine in Hammerspoon, utilizing ASCIImage (for vector) to create the amphetamine icons. Motivated by the official Caffeine app's icon looking bad on Retina

Get latest version here: amphetamine.lua

Save as amphetamine.lua in ~/.hammerspoon/ and put amphetamine = require "amphetamine" in your init.lua