All Projects → dtinth → FocusHighlight.spoon

dtinth / FocusHighlight.spoon

Licence: other
A hammerspoon script that briefly highlights the active window when focused.

Programming Languages

lua
6591 projects

Projects that are alternatives of or similar to FocusHighlight.spoon

dotfiles
💻dotfiles for: tmux, neovim, git, zsh, osx
Stars: ✭ 49 (+157.89%)
Mutual labels:  hammerspoon
hammerspoon.github.io
Website
Stars: ✭ 80 (+321.05%)
Mutual labels:  hammerspoon
dotfiles
💎 My vim/neovim, fish, git, and tmux configuration files
Stars: ✭ 49 (+157.89%)
Mutual labels:  hammerspoon
dotfiles
mac OS, Arch Linux, and Debian/Ubuntu
Stars: ✭ 286 (+1405.26%)
Mutual labels:  hammerspoon
hs-weather
Weather menubar app for hammerspoon
Stars: ✭ 17 (-10.53%)
Mutual labels:  hammerspoon
dotfiles
Configuration files for my development environment.
Stars: ✭ 14 (-26.32%)
Mutual labels:  hammerspoon
dotfiles
The config that makes me a productivity whiz 🧙‍♂️
Stars: ✭ 36 (+89.47%)
Mutual labels:  hammerspoon
hammerspoon-vimouse
Control the mouse with Hammerspoon in a Vim-ish way
Stars: ✭ 19 (+0%)
Mutual labels:  hammerspoon
hammerspoon-kuranado
Hammerspoon config(Support custom shortcut keys, emoji search, application shortcut switching, real-time network speed, key echo, etc.)
Stars: ✭ 121 (+536.84%)
Mutual labels:  hammerspoon
dotfiles
🏡 There's no place like ~/
Stars: ✭ 59 (+210.53%)
Mutual labels:  hammerspoon
CommandPost
Workflow Enhancements for Creatives
Stars: ✭ 267 (+1305.26%)
Mutual labels:  hammerspoon
dotfiles
Dotfiles for Neovim (0.7+), Fish shell, git, Kitty, tmux, and more.
Stars: ✭ 54 (+184.21%)
Mutual labels:  hammerspoon
Anytranslate
💭 Translate words from and to your language, anywhere.
Stars: ✭ 17 (-10.53%)
Mutual labels:  hammerspoon
hammerspoon-config
My Hammerspoon configuration.
Stars: ✭ 33 (+73.68%)
Mutual labels:  hammerspoon
dotfiles
🗿 dotfilery, configuration, environment settings, automation, etc. 🛖
Stars: ✭ 67 (+252.63%)
Mutual labels:  hammerspoon
Keyboard
Master of keyboard is master of automation (Key remapper implementation in Swift)
Stars: ✭ 45 (+136.84%)
Mutual labels:  hammerspoon
.config
How I like things.
Stars: ✭ 51 (+168.42%)
Mutual labels:  hammerspoon
dotfiles
⚡️ Sharpen dat knife.
Stars: ✭ 29 (+52.63%)
Mutual labels:  hammerspoon
dotfiles
CLI, Emacs, Hammerspoon
Stars: ✭ 20 (+5.26%)
Mutual labels:  hammerspoon
hammerspoon
Boosts productivity and adds useful features to OSX.
Stars: ✭ 18 (-5.26%)
Mutual labels:  hammerspoon

FocusHighlight.spoon

A macOS utility that briefly highlights the active window when focused. Useful when switching apps on multiple displays, so you know which monitor ends up being focused.

Example

It is implemented as a Spoon for Hammerspoon. You can customize the color of the highlight.

How to use

  1. Install Hammerspoon

  2. Install FocusHighlight.spoon using Git:

    git clone https://github.com/dtinth/FocusHighlight.spoon.git ~/.hammerspoon/Spoons/FocusHighlight.spoon
  3. Update Hammerspoon configuration file:

    hs.loadSpoon("FocusHighlight")
    spoon.FocusHighlight:start()

Customization

Put these in your configuration file.

spoon.FocusHighlight.color = "#ffffff"
spoon.FocusHighlight.windowFilter = hs.window.filter.default
spoon.FocusHighlight.arrowSize = 256
spoon.FocusHighlight.arrowFadeOutDuration = 1
spoon.FocusHighlight.highlightFadeOutDuration = 1
spoon.FocusHighlight.highlightFillAlpha = 0.1
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].