From 3ee04064c08e9504d2ffa4adabe7211f102f8ad7 Mon Sep 17 00:00:00 2001 From: Natalie Date: Sat, 3 May 2025 10:37:41 -0700 Subject: [PATCH] aerospace swipe --- flake.nix | 13 ------------- modules/macos/homebrew.nix | 2 ++ modules/macos/tiling/aerospace.nix | 4 ++++ 3 files changed, 6 insertions(+), 13 deletions(-) diff --git a/flake.nix b/flake.nix index d4c75d6..1dc8696 100644 --- a/flake.nix +++ b/flake.nix @@ -62,19 +62,6 @@ inputs.zig.overlays.default inputs.rust-overlay.overlays.default inputs.nh.overlays.default - #Signal desktop decided to break bc of being outdated on macos :( - ( - final: prev: { - signal-desktop-bin = prev.signal-desktop-bin.overrideAttrs (old: { - version = "7.51.0"; - - src = prev.fetchurl { - url = "https://updates.signal.org/desktop/signal-desktop-mac-universal-7.51.0.dmg"; - hash = "sha256-dUcBvKbGVsEUxOSv8u/jjuvYjHar2+zbv+/ZRS85w1w="; - }; - }); - } - ) ]; # ----- USER SETTINGS ----- # diff --git a/modules/macos/homebrew.nix b/modules/macos/homebrew.nix index 7439039..ac0258f 100644 --- a/modules/macos/homebrew.nix +++ b/modules/macos/homebrew.nix @@ -22,6 +22,8 @@ _: { "zulip" "zen-browser" "supertuxkart" + + "mediosz/tap/swipeaerospace" ]; masApps = { diff --git a/modules/macos/tiling/aerospace.nix b/modules/macos/tiling/aerospace.nix index ff99fbe..0483e7a 100644 --- a/modules/macos/tiling/aerospace.nix +++ b/modules/macos/tiling/aerospace.nix @@ -81,6 +81,9 @@ cmd-shift-8 = "move-node-to-workspace 8"; cmd-shift-9 = "move-node-to-workspace 9"; + cmd-h = []; # Disable "hide application" + cmd-alt-h = []; # Disable "hide others" + # See: https://nikitabobko.github.io/AeroSpace/commands#workspace-back-and-forth alt-tab = "workspace-back-and-forth"; # See: https://nikitabobko.github.io/AeroSpace/commands#move-workspace-to-monitor @@ -107,6 +110,7 @@ up = "volume up"; shift-down = ["volume set 0" "mode main"]; }; + after-startup-command = ["exec-and-forget sketchybar"]; exec-on-workspace-change = [ "/bin/bash" "-c"