8 votes

Saner macOS keybindings with skhd-zig

7 comments

  1. [2]
    ButteredToast
    Link
    If the Tildes poster and post author are one in the same, I offer the following clarification regarding the "App Shortcuts" section of System Settings → Keyboard → Keyboard Shortcuts. It allows...

    If the Tildes poster and post author are one in the same, I offer the following clarification regarding the "App Shortcuts" section of System Settings → Keyboard → Keyboard Shortcuts.

    It allows the user to map or remap the key shortcut to any menu item in any application, even if the app in question is third-party. This is possible because nearly every application hooks the system-owned global menubar, contrasted to Windows and Linux where there are more ways to implement (or in the case of most GTK apps, not implement) a menubar as there are stars in the sky and thus there is no universal hook.

    7 votes
    1. aphoenix
      Link Parent
      Offtopic: the standard form of this idiom is "one and the same" and not "one in the same". I offer this only as a point of interest and not a correction - keep using it however you want - I just...

      Offtopic: the standard form of this idiom is "one and the same" and not "one in the same". I offer this only as a point of interest and not a correction - keep using it however you want - I just find these sorts of things to be of interest.

      4 votes
  2. [3]
    delphi
    Link
    I feel like a lot of the writer's frustrations come with wanting to be macOS less like macOS, and this to me is a fool's errand. Like, they installed Karabiner to remap the option key (which macOS...

    I feel like a lot of the writer's frustrations come with wanting to be macOS less like macOS, and this to me is a fool's errand. Like, they installed Karabiner to remap the option key (which macOS can do by default, by the way), Rectangle to change window behaviour because they didn't get on with spaces and maximisation, Marta because they don't like Finder, Alacritty because they don't like Terminal or iTerm, and you can do all those things, yes, but you're really gonna fight the system every step of the way, as evidenced by the fact that they refused to learn what App Shortcuts means. Shocker, it's Shortcuts in Apps. Remapping keybinds like you can in Photoshop, but for the entire system, although admittedly, I've never really seen anyone actually do that.

    You can choose to live your life that way, it's your computer and you can do what you want with it, but I feel like if you put in this much effort to make macOS less like macOS, you might just... not like macOS, and that's fine. The writer doesn't ever tell us why they are using it in the first place.

    It seems like they have so many frustrations with it that they might genuinely be better served by Asahi Linux for example, which gets you all the benefits of Apple Silicon but none of the particulate matter they keep running into. And for what it's worth, I actually quite like all of these idiosyncrasies and I get on great with macOS. Cmd and Ctrl are swapped to every other computer, I guess, whatever, but it took me maybe 3 days to come to terms with that and I haven't looked back since, even with regularly switching between Mac and Linux.

    5 votes
    1. [2]
      Grzmot
      Link Parent
      Not disagreeing with you, just offering context: they do somewhere at the start. They needed a new laptop and their mother offered them her old macbook air. They're using it do not refuse a gift...

      The writer doesn't ever tell us why they are using it in the first place.

      Not disagreeing with you, just offering context: they do somewhere at the start. They needed a new laptop and their mother offered them her old macbook air. They're using it do not refuse a gift and also I suppose so it doesn't feel wasted, even though they could just sell it.

      I use macOS at work and Linux at home and while there's some stuff I don't like about mac, I'm mostly fine with it. I just swapped CTRL and CMD via the settings and the only other remaining issue is that some of the special characters like brackets are mapped to different keys in macOS for some reason. It's minor.

      2 votes
      1. delphi
        Link Parent
        Fine, then let me rephrase: The writer doesn't ever tell us why they're using macOS, not the Mac itself. You can put Linux on these things and it runs mostly fine.

        Fine, then let me rephrase: The writer doesn't ever tell us why they're using macOS, not the Mac itself. You can put Linux on these things and it runs mostly fine.

        3 votes
  3. chroma
    Link
    I might give this a shot again. I may have done something wrong the first time I tried to bind holding caps to hyper using shkd-zig, esc when tapped. Was also potentially juggling too many balls -...

    I might give this a shot again. I may have done something wrong the first time I tried to bind holding caps to hyper using shkd-zig, esc when tapped.

    Was also potentially juggling too many balls - I was trying to switch from Aerospace to Rift as my WM and so tried to bind certain combinations to Rift CLI commands, since at that time I wanted parity with Niri (okay, Hyprscrollr) on my Linux machine. That didn't really work so I went back to Karabiner Elements and Aerospace. Maybe macOS scrolling WMs are just weird.

    I do use keyd + Hyprland on the Linux machine just fine though, hence the feeling of wanting to switch to skhd.

    1 vote
  4. Narry
    Link
    I used Keychron Launcher through Vivaldi to remap F14 to my caps lock key, then I installed Hyperkey by Ryan Hanson and I’ve bound it to F14. Now I’ve got shortcuts like Hyper + Tab is my...

    I used Keychron Launcher through Vivaldi to remap F14 to my caps lock key, then I installed Hyperkey by Ryan Hanson and I’ve bound it to F14. Now I’ve got shortcuts like Hyper + Tab is my screenshot tool, Hyper + a brings up app searches, Hyper + space for my Spotlight search. I’ve got some others that I want to set up but I’ve been too lazy. I did this specially so that I could free up some painfully common shortcuts that macOS has been hogging.