From 130a54db4eb4935075c20c8e59b29e869d88ce6a Mon Sep 17 00:00:00 2001 From: RGBCube Date: Thu, 31 Jul 2025 17:09:45 +0300 Subject: [PATCH] maccy: init --- modules/darwin/macccy.nix | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 modules/darwin/macccy.nix diff --git a/modules/darwin/macccy.nix b/modules/darwin/macccy.nix new file mode 100644 index 0000000..8132ef0 --- /dev/null +++ b/modules/darwin/macccy.nix @@ -0,0 +1,30 @@ +{ lib, ... }: let + inherit (lib.strings) toJSON; +in { + homebrew.casks = [ "maccy" ]; + + system.defaults.CustomSystemPreferences."org.p0deje.Maccy" = { + KeyboardShortcuts_delete = 0; + KeyboardShortcuts_pin = 0; + KeyboardShortcuts_popup = toJSON { carbonKeyCode = 9; carbonModifiers = 4352; }; # control+command+v + + SUEnableAutomaticChecks = 0; + + enabledPasteboardTypes = [ + "public.png" + "public.file-url" + "public.utf8-plain-text" + "public.rtf" + "public.tiff" + "public.html" + ]; + + menuIcon = "clipboard"; + popupPosition = "window"; + searchMode = "fuzzy"; + + showFooter = 0; + showSearch = 1; + showTitle = 0; + }; +}