ctucx.git: nixfiles

ctucx' nixfiles

commit 4beae76e81aade5a0a4387792ebc148c00889f9e
parent a3a53ff2b7f14185de33d674faa87975a0c5fc04
Author: Leah (ctucx) <leah@ctu.cx>
Date: Thu, 16 Jun 2022 16:46:11 +0200

darwin/appSettings: configure Preview.app
1 file changed, 12 insertions(+), 0 deletions(-)
diff --git a/configurations/darwin/appSettings.nix b/configurations/darwin/appSettings.nix
@@ -4,6 +4,18 @@
 
   system.activationScripts.extraUserActivation.text = ''
     #
+    # Preview.app
+    #
+
+    # Set 'L. Thein' as name for PDF anotations
+    defaults write com.apple.Preview PVGeneralUserName -string 'L. Thein'
+
+    # Don't remember page position in PDF
+    defaults write com.apple.Preview kPVPDFRememberPageOption -int 0
+
+
+
+    #
     # TextEdit
     #