1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2024-12-15 17:51:01 +00:00

add screencapture option to defaults-write test

This commit is contained in:
Daiderd Jordan 2018-03-01 21:41:38 +01:00
parent d00893d2fa
commit f4af8cd677
No known key found for this signature in database
GPG key ID: D02435D05B810C96

View file

@ -32,6 +32,7 @@
system.defaults.NSGlobalDomain."com.apple.swipescrolldirection" = true; system.defaults.NSGlobalDomain."com.apple.swipescrolldirection" = true;
system.defaults.dock.autohide-delay = "0.24"; system.defaults.dock.autohide-delay = "0.24";
system.defaults.dock.orientation = "left"; system.defaults.dock.orientation = "left";
system.defaults.screencapture.location = "/tmp";
system.defaults.smb.NetBIOSName = "IMAC-000000"; system.defaults.smb.NetBIOSName = "IMAC-000000";
system.defaults.smb.ServerDescription = ''Darwin\\\\U2019s iMac''; system.defaults.smb.ServerDescription = ''Darwin\\\\U2019s iMac'';
@ -70,7 +71,8 @@
grep "defaults write -g 'com.apple.springing.enabled' -bool YES" ${config.out}/activate-user grep "defaults write -g 'com.apple.springing.enabled' -bool YES" ${config.out}/activate-user
grep "defaults write -g 'com.apple.springing.delay' -float 0.0" ${config.out}/activate-user grep "defaults write -g 'com.apple.springing.delay' -float 0.0" ${config.out}/activate-user
grep "defaults write -g 'com.apple.swipescrolldirection' -bool YES" ${config.out}/activate-user grep "defaults write -g 'com.apple.swipescrolldirection' -bool YES" ${config.out}/activate-user
grep "defaults write com.apple.dock 'orientation' -string 'left'" ${config.out}/activate-user
grep "defaults write com.apple.dock 'autohide-delay' -float 0.24" ${config.out}/activate-user grep "defaults write com.apple.dock 'autohide-delay' -float 0.24" ${config.out}/activate-user
grep "defaults write com.apple.dock 'orientation' -string 'left'" ${config.out}/activate-user
grep "defaults write com.apple.screencapture 'location' -string '/tmp'" ${config.out}/activate-user
''; '';
} }