sxhkd VS skhd

Compare sxhkd vs skhd and see what are their differences.

sxhkd

Simple X hotkey daemon (by baskerville)

skhd

Simple hotkey daemon for macOS (by koekeishiya)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
sxhkd skhd
42 64
2,673 5,536
- -
0.0 3.0
8 months ago 22 days ago
C C
BSD 2-clause "Simplified" License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.

sxhkd

Posts with mentions or reviews of sxhkd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-01-21.
  • How handle two speakers in dwm?
    1 project | /r/dwm | 15 Mar 2023
    Hello, firstly I would separate all these non wm related keybindings to a program like sxhkd (https://github.com/baskerville/sxhkd) it's config is easier to modify on the fly and less bloat/unrelated stuff in window managers codebase is always better.
  • whkd: A simple hotkey daemon for Windows
    6 projects | /r/rust | 21 Jan 2023
    After getting frustrated trying to update the library generation code to conform to the AHK2 syntax changes, I decided to run with an idea that I've had for a while now: writing my own simple hotkey daemon for windows based on skhd and sxhkd.
  • How to make a keybinding for dmenu_run in .xinitrc?
    2 projects | /r/suckless | 12 Dec 2022
  • What's the closest equivalent of AHK for LINUX?
    2 projects | /r/AutoHotkey | 2 Oct 2022
    For GUI automation and the like, I would recommend checking out xdotool and maybe sxhkd for keybinds -- though, each DE/WM tends to have some method of handling keybindings in its own way.
  • shod: an acme-like window manager that tile windows inside floating containers
    2 projects | /r/linux | 11 Sep 2022
    You control shod via a remote controller, called shodc. You map shodc calls to keybindings using a third application (a keybinder like sxhkd).
  • Chromebook
    2 projects | /r/AutoHotkey | 13 Aug 2022
    That said, if you enable linux app support, you can use something like sxhkd for hotkey definitions in combination with bash scripting.
  • Volume Control Works on MATE but not BSPWM
    1 project | /r/bspwm | 27 Jul 2022
    Not that I know, at least the general syntax is said to work with KEYSYMs only. However! I've been reading some more about it and you can try this: if you're not using a US layout keyboard, start sxhkd -m 1 as described here https://github.com/baskerville/sxhkd/issues/249. And just out of curiosity, maybe you can check if you have the proper drivers installed (again, sorry I don't know the details) but at least I have xf86-input-libinput installed.
  • Getting keyboard to work....
    1 project | /r/bspwm | 8 Jul 2022
    Because we specify super/ctrl/alt as modifiers x11 doesn't distinguish between left and right. See https://github.com/baskerville/sxhkd/issues/89
  • Best way to insert the ñ character.
    1 project | /r/linux4noobs | 2 Jul 2022
    Now I have an script that copy the char to the clipboard when I press that shortcut. This is archived using [sxhkd](https://github.com/baskerville/sxhkd). Is there a better way?
  • Show HN: A tiling window manager like i3wm written in C#
    11 projects | news.ycombinator.com | 15 Apr 2022
    komorebi dev here. I can't tell you the number of times I've wanted to just write my own take on sxhkd[1] for Windows and use that to manage my own keybindings for komorebi instead of ahk.

    You can just as easily write your own/use another hotkey daemon or PowerShell scripts to handle komorebi's configuration and keybindings, in that sense there is no dependency on ahk at all. However, the inertia around ahk in the Windows ecosystem is undeniable and it's in the interests of making adoption and onboarding easier that the project provides example ahk files and has invested in an ahk code generation library.

    My thoughts on the dominant hotkey daemon in the Windows ecosystem aside, I remain convinced that the famous bspwm socket communication architecture[2] is the best way to handle both configuration and keybindings for a tiling window manager that has been proposed to this today.

    Unfortunately I have to concede that there is a certain configuration burden that comes with komorebi, which is amplified in some cases by having to write/maintain ahk. This configuration burden is largely due to the highly fragmented nature of Windows application development that is discussed often on HN and it is inescapable.

    With this in mind, the next release of komorebi (currently available on master) will invest even more heavily in automatic configuration generation.

    A separate repository of common application-specific configuration tweaks[3] (in YAML!) has been created which I and others from the komorebi Discord server are contributing to, with the goal of having the edge cases for as many applications as possible fully documented so that a comprehensive configuration file can be generated[4] for the user which ensures that every (major) Windows application behaves as expected under a tiling window manager.

    I hope that other Windows tiling window manager developers can use these YAML definitions in the future to handle the same edge cases in their projects so that eventually there will be a tiling window manager of every flavour (bspwm, i3wm etc.) available for Windows users where having to manually accommodate and compensate for the non-standard behaviour of individual applications is a thing of the past.

    [1]: https://github.com/baskerville/sxhkd

    [2]: https://github.com/baskerville/bspwm#description

    [3]: https://github.com/LGUG2Z/komorebi-application-specific-conf...

    [4]: https://github.com/LGUG2Z/komorebi/#generating-common-applic...

skhd

Posts with mentions or reviews of skhd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-02-17.
  • My MacBook setup (the 2024 version)
    6 projects | news.ycombinator.com | 17 Feb 2024
    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?
    4 projects | news.ycombinator.com | 8 Feb 2024
    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
    35 projects | news.ycombinator.com | 30 Nov 2023
    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
    2 projects | /r/macapps | 18 Jun 2023
    Try rcmd or skhd.
  • i3 Linux -> macOS
    7 projects | /r/i3wm | 5 Jun 2023
    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?
    2 projects | news.ycombinator.com | 28 Apr 2023
  • Keyboard tricks from a macOS app dev
    13 projects | news.ycombinator.com | 23 Apr 2023
    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
    1 project | /r/MacOS | 20 Apr 2023
    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 !
    2 projects | /r/macapps | 5 Apr 2023
    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?
    1 project | /r/macapps | 11 Mar 2023
    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?

When comparing sxhkd and skhd you can also consider the following projects:

xcape - Linux utility to configure modifier keys to act as other keys when pressed and released on their own.

hammerspoon - Staggeringly powerful macOS desktop automation with Lua

scripts - *Well documented* scripts exploiting some useful UNIX utilities.

yabai - A tiling window manager for macOS based on binary space partitioning

bspwm - A tiling window manager based on binary space partitioning

awesome-mac - Awesome environment for development with mac os.

releases

Amethyst - Automatic tiling window manager for macOS à la xmonad.

NvChad - Blazing fast Neovim config providing solid defaults and a beautiful UI, enhancing your neovim experience.

alt-tab-macos - Windows alt-tab on macOS

shotkey - A simple and lightweight hotkey daemon for X with configurable custom modes and key chords (in ~200 LOC)

simple-bar - A yabai status bar widget for Übersicht