whkd
skhd
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
whkd
-
WSL and Vim development setup
in powertoys, find a feature called “keyboard manager”. if you want to go deep into keymapping in windows, checkout autohotkey and whkd
-
Somehow AutoHotKey is kinda good now
It was only when I started writing my own sxhkd-inspired hotkey daemon[1] for Windows that I really started to appreciate just how _good_ AHK is. Even just for hotkey binding, AHK does some incredibly clever stuff very transparently to provide for such an excellent end-user experience. For example, using system hooks automatically when the user tries to bind a hotkey combination that is reserved by the system (usually win+something) is implemented so well. Really excellent software and I miss it when I'm using Linux or macOS.
[1]: https://github.com/LGUG2Z/whkd
-
AutoHotkey v2 Official Release Announcement
I ended up using AHK for komorebi[1] because I was still new to Windows when I start writing it and I didn't wanna have to write a tiling window manager AND a hotkey daemon. I even ended up generating a nice little AHK library to wrap around CLI commands that sent socket messages to the window manager to make it easier to write a configuration.
Ultimately the syntax changes make it impossible to fully reproduce the same library for AHKv2, which is being installed by default on all mainstream package managers now.
I ended up biting the bullet and making my own hotkey daemon[2] for use with komorebi based on skhd[3] and I haven't looked back since. This will be the "blessed" hotkey daemon recommended for use in the next release of komorebi.
I'm still using AHK (v1) for the stuff that it's good at (and there is a lot of stuff that it's good at!), but ultimately I've found that it's not the right tool as a hotkey daemon for a socket-based tiling window manager.
[1]: https://github.com/LGUG2Z/komorebi
[2]: https://github.com/LGUG2Z/whkd
[3]: https://github.com/koekeishiya/skhd
- Show HN: Whkd – A simple hotkey daemon for Windows
- whkd: A simple hotkey daemon for Windows
skhd
-
My MacBook setup (the 2024 version)
It exists! Check out [yabai](https://github.com/koekeishiya/yabai), which is nicely paired with [skhd](https://github.com/koekeishiya/skhd).
-
Ask HN: Best Hacks for a Ultrawide Monitor?
I have a 49 inch CRG9 and the best recommendation for window management is Yabai (https://github.com/koekeishiya/yabai) along with skhd (https://github.com/koekeishiya/skhd). Yabai is a greedy window management solution that tries to fit opened applications in given space and skhd let's you easily jump between those using keyboard shortcuts. This has massively improved my ultrawide experience.
Only disclaimer is, configuring yabai has a slight learning curve.
-
Yabai – A tiling window manager for macOS
I want to echo this as well. I use a 2nd tool to help me add additional i3-like keyboard shortcuts as well (I have the ability to "stack" windows with Alt-S and rotate through them with Alt-J and Alt-K).
It's called skhd https://github.com/koekeishiya/skhd
I forgot where the script for the stacking is. I can look that up separately, but I'm on mobile atm.
-
App Switcher on MAC
Try rcmd or skhd.
-
i3 Linux -> macOS
What I've done is configure yabai and skhd in a way that somewhat mimics my i3 setup (dotfiles in case it helps) with the help of Karabiner-Elements since Apple wouldn't recognize my keyboard layout properly (or at all...).
- Ask HN: I've run Linux for 13 years. Is it time to switch to a Mac?
-
Keyboard tricks from a macOS app dev
I use NixOS+GNOME+pop-shell for tiling windows on Linux, and I love it!
I am quite frequently on MacOS, and I use Yabai[0] and skhd[1], managed with Nix-Darwin for tiling windows and custom keyboard shortcuts. With how I make my Linux and MacOS builds look and feel identical it's pretty easy for me to forget when I'm on one vs the other.
For anyone curious, here's my repository for deploying my configs[3]. It's awesome to have one source of truth for managing NixOS servers and workstations, MacOS workstations, and other Linux workstations with Nix installed.
[0] https://github.com/koekeishiya/yabai
[1] https://github.com/koekeishiya/skhd
[2] http://daiderd.com/nix-darwin/
[3] https://github.com/heywoodlh/nixos-configs
-
How to disable CMD+TAB in Terminal
You can install skhd with brew install skhd, and configure it by writing the following lines inside ~/.skhdrc:
-
Recommendation for an app to execute a workflow with some hotkey !
I personally use skhd for binding hotkeys to multiple terminal commands. BetterTouchTool can also chain multiple commands, but I find it harder to edit than in an UI, depends on what you're comfortable with.
-
Alternatives to Karabiner?
That, combined with skhd (for script hotkeys) and my rcmd app (for app switching) gave me a much better solution than the hard to edit config I had in Karabiner.
What are some alternatives?
AHK_X11 - AutoHotkey for Linux (X11-based systems)
hammerspoon - Staggeringly powerful macOS desktop automation with Lua
autopy - A simple, cross-platform GUI automation module for Python and Rust.
yabai - A tiling window manager for macOS based on binary space partitioning
windows-hotkeys - A lightweight, threadsafe and ergonomic rust crate to handle system-wide hotkeys on windows
awesome-mac - Awesome environment for development with mac os.
komorebi - A tiling window manager for Windows 🍉
Amethyst - Automatic tiling window manager for macOS à la xmonad.
misc_settings - My opinions are correct, you should copy them :)
alt-tab-macos - Windows alt-tab on macOS
NaturalEdgePan - A more natural way of edge-panning in RTS/MOBAs
simple-bar - A yabai status bar widget for Übersicht