From a455d8b9a9df5f273b54a0a43e543746c4a1ca67 Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Wed, 25 Sep 2024 15:08:14 +0700 Subject: [PATCH] 61 papercuts --- CHANGELOG.md | 2 ++ modules/graphical.nix | 7 ++++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1bc0adb..d049230 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,5 @@ +- Removed windowless apps from AltTab on macOS +- Added more apps to quit when windowless on macOS - Use Swift Quit on macOS - Refactored `settings.json` to not generate a hardcoded JSON string - Use AltTab on macOS diff --git a/modules/graphical.nix b/modules/graphical.nix index 218d5b2..39b7e37 100644 --- a/modules/graphical.nix +++ b/modules/graphical.nix @@ -32,6 +32,7 @@ # Took a lot of debugging to figure this out # plutil -type hideSpaceNumberLabels ~/Library/Preferences/com.lwouis.alt-tab-macos.plist hideSpaceNumberLabels = "true"; + hideWindowlessApps = "true"; holdShortcut = "\\u2318"; startAtLogin = "false"; @@ -66,7 +67,11 @@ }; system.defaults.CustomUserPreferences."onebadidea.Swift-Quit" = { - SwiftQuitExcludedApps = [ "/System/Applications/Utilities/Terminal.app" ]; + SwiftQuitExcludedApps = [ + "/System/Applications/Calendar.app" + "/System/Applications/Utilities/Terminal.app" + "${pkgs.vscode}/Applications/Visual Studio Code.app" + ]; SwiftQuitSettings = { excludeBehaviour = "includeApps"; launchAtLogin = false;