mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-09-11 12:49:18 +03:00
Merge pull request #671 from sxyazi/pr-e0f2168d
Add `mouseDriverCursorSize` option
This commit is contained in:
commit
ed275afbba
@ -5,6 +5,16 @@ with lib;
|
|||||||
{
|
{
|
||||||
options = {
|
options = {
|
||||||
|
|
||||||
|
system.defaults.universalaccess.mouseDriverCursorSize = mkOption {
|
||||||
|
type = types.nullOr types.float;
|
||||||
|
default = null;
|
||||||
|
example = 1.5;
|
||||||
|
description = ''
|
||||||
|
Set the size of cursor. 1 for normal, 4 for maximum.
|
||||||
|
The default is 1.
|
||||||
|
'';
|
||||||
|
};
|
||||||
|
|
||||||
system.defaults.universalaccess.reduceTransparency = mkOption {
|
system.defaults.universalaccess.reduceTransparency = mkOption {
|
||||||
type = types.nullOr types.bool;
|
type = types.nullOr types.bool;
|
||||||
default = null;
|
default = null;
|
||||||
|
@ -50,6 +50,7 @@
|
|||||||
system.defaults.screensaver.askForPasswordDelay = 5;
|
system.defaults.screensaver.askForPasswordDelay = 5;
|
||||||
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'';
|
||||||
|
system.defaults.universalaccess.mouseDriverCursorSize = 1.5;
|
||||||
system.defaults.universalaccess.reduceTransparency = true;
|
system.defaults.universalaccess.reduceTransparency = true;
|
||||||
system.defaults.universalaccess.closeViewScrollWheelToggle = true;
|
system.defaults.universalaccess.closeViewScrollWheelToggle = true;
|
||||||
system.defaults.universalaccess.closeViewZoomFollowsFocus = true;
|
system.defaults.universalaccess.closeViewZoomFollowsFocus = true;
|
||||||
@ -118,6 +119,7 @@
|
|||||||
grep "defaults write com.apple.screencapture 'location' -string '/tmp'" ${config.out}/activate-user
|
grep "defaults write com.apple.screencapture 'location' -string '/tmp'" ${config.out}/activate-user
|
||||||
grep "defaults write com.apple.screensaver 'askForPassword' -bool YES" ${config.out}/activate-user
|
grep "defaults write com.apple.screensaver 'askForPassword' -bool YES" ${config.out}/activate-user
|
||||||
grep "defaults write com.apple.screensaver 'askForPasswordDelay' -int 5" ${config.out}/activate-user
|
grep "defaults write com.apple.screensaver 'askForPasswordDelay' -int 5" ${config.out}/activate-user
|
||||||
|
grep "defaults write com.apple.universalaccess 'mouseDriverCursorSize' -float 1.5" ${config.out}/activate-user
|
||||||
grep "defaults write com.apple.universalaccess 'reduceTransparency' -bool YES" ${config.out}/activate-user
|
grep "defaults write com.apple.universalaccess 'reduceTransparency' -bool YES" ${config.out}/activate-user
|
||||||
grep "defaults write com.apple.universalaccess 'closeViewScrollWheelToggle' -bool YES" ${config.out}/activate-user
|
grep "defaults write com.apple.universalaccess 'closeViewScrollWheelToggle' -bool YES" ${config.out}/activate-user
|
||||||
grep "defaults write com.apple.universalaccess 'closeViewZoomFollowsFocus' -bool YES" ${config.out}/activate-user
|
grep "defaults write com.apple.universalaccess 'closeViewZoomFollowsFocus' -bool YES" ${config.out}/activate-user
|
||||||
|
Loading…
Reference in New Issue
Block a user