Puppet Class: osx::dock::icon_size

Defined in:
manifests/dock/icon_size.pp

Overview

Public: Sets the icons’s size

Parameters:

  • size (Any) (defaults to: 36)


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

class osx::dock::icon_size($size = 36) {
  include osx::dock

  boxen::osx_defaults { 'icon size':
    domain => 'com.apple.dock',
    key    => 'tilesize',
    type   => 'int',
    value  => $size,
    user   => $::boxen_user,
    notify => Exec['killall Dock'];
  }
}