Puppet Class: osx::global::ui_mode

Defined in:
manifests/global/ui_mode.pp

Overview

Enable dark-mode in the UI

Parameters:

  • mode (Any) (defaults to: 'Dark')


2
3
4
5
6
7
8
9
10
11
12
# File 'manifests/global/ui_mode.pp', line 2

class osx::global::ui_mode (
  $mode = 'Dark'
) {
  boxen::osx_defaults { 'Set UI mode':
    user   => $::boxen_user,
    domain => 'NSGlobalDomain',
    key    => 'AppleInterfaceStyle',
    value  => $mode,
    type   => 'string'
  }
}