Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashfinal/awesome-hammerspoon
awesome configuration for Hammerspoon.
https://github.com/ashfinal/awesome-hammerspoon
List: awesome-hammerspoon
automation awesome config dotfiles hammerspoon macos productivity
Last synced: 3 months ago
JSON representation
awesome configuration for Hammerspoon.
- Host: GitHub
- URL: https://github.com/ashfinal/awesome-hammerspoon
- Owner: ashfinal
- License: mit
- Created: 2016-03-28T03:44:20.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2023-04-10T20:12:26.000Z (over 1 year ago)
- Last Synced: 2024-05-22T05:00:40.505Z (7 months ago)
- Topics: automation, awesome, config, dotfiles, hammerspoon, macos, productivity
- Language: Lua
- Homepage: http://www.hammerspoon.org
- Size: 364 KB
- Stars: 1,228
- Watchers: 26
- Forks: 177
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-starred-test - ashfinal/awesome-hammerspoon - awesome configuration for Hammerspoon. (Lua)
README
# awesome-hammerspoon configuration
awesome-hammerspoon is my configuration for [Hammerspoon](http://www.hammerspoon.org/). It has highly modal-based, vim-style keybindings, provides some functionality like desktop widgets, window management, application launcher, instant search, aria2 frontend ... etc.
## Get started
1. Install [Hammerspoon](http://www.hammerspoon.org/) first.
2. `git clone https://github.com/ashfinal/awesome-hammerspoon.git ~/.hammerspoon`
3. Reload the configutation.
## Keep update
`cd ~/.hammerspoon && git pull`
## How to use
Just press opt, plus A or C or R… to start. If need help, press tab to toggle the keybindings cheatsheet.
Press opt + ? to toggle the help panel, which will show all opt related keybindings.
### Screenshots
These screenshots demostrate what awesome-hammerspoon is capable of. Learn more about [built-in Spoons](https://github.com/ashfinal/awesome-hammerspoon/wiki/The-built-in-Spoons).
#### Desktop widgets
More details
![widgets](https://github.com/ashfinal/bindata/raw/master/screenshots/awesome-hammerspoon-deskwidgets.png)
#### Window manpulation ⌥ + R
More details
![winresize](https://github.com/ashfinal/bindata/raw/master/screenshots/awesome-hammerspoon-winresize.gif)
#### Search something ⌥ + G
More details
![hsearch](https://github.com/ashfinal/bindata/raw/master/screenshots/awesome-hammerspoon-hsearch.gif)
#### aria2 Frontend ⌥ + D
More details
![hsearch](https://github.com/ashfinal/bindata/raw/master/screenshots/awesome-hammerspoon-aria2.png)
You need to [run aria2 with RPC enabled](https://github.com/ashfinal/awesome-hammerspoon/wiki/Run-aria2-with-rpc-enabled) before using this. Config aria2 host and token in `~/.hammerspoon/private/config.lua`, then you're ready to go.
```lua
hsaria2_host = "http://localhost:6800/jsonrpc" -- default host
hsaria2_secret = "token" -- YOUR OWN SECRET
```## Customization
More details
```shell
cp ~/.hammerspoon/config-example.lua ~/.hammerspoon/private/config.lua
```Then modify the file `~/.hammerspoon/private/config.lua`:
- Add/remove Spoons.
Define `hspoon_list` to decide which Spoons (a distributing format of Hammerspoon module) to be loaded. There are 15 built-in Spoons, learn about them at [here](https://github.com/ashfinal/awesome-hammerspoon/wiki/The-built-in-Spoons).
*There are more Spoons at [official spoon repository](http://www.hammerspoon.org/Spoons/) (you may need a little config before using them).*
- Customize keybindings
Please read `~/.hammerspoon/private/config.lua`for more details.
Finally press `cmd + ctrl + shift + r` to reload the configuration.
## Contribute
More details
- Improve existing Spoons
A "Spoon" is just a directory, right-click on it -> "Show Package Contents".
Feel free to file issues or open PRs.
- Create new Spoons
Some resources you may find helpful:
[Learn Lua in Y minutes](http://learnxinyminutes.com/docs/lua/)
[Getting Started with Hammerspoon](http://www.hammerspoon.org/go/)
[Hammerspoon API Docs](http://www.hammerspoon.org/docs/index.html)
[hammerspoon/SPOONS.md at master · Hammerspoon/hammerspoon](https://github.com/Hammerspoon/hammerspoon/blob/master/SPOONS.md)
## Thanks to
More details
[https://github.com/zzamboni/oh-my-hammerspoon](https://github.com/zzamboni/oh-my-hammerspoon)
[https://github.com/scottcs/dot_hammerspoon](https://github.com/scottcs/dot_hammerspoon)
[https://github.com/dharmapoudel/hammerspoon-config](https://github.com/dharmapoudel/hammerspoon-config)
[http://tracesof.net/uebersicht/](http://tracesof.net/uebersicht/)