1
0
Fork 0
mirror of https://github.com/LnL7/nix-darwin.git synced 2025-03-31 04:04:45 +00:00

Merge pull request #419 from tboerger/dock-features

modules/system/defaults/dock.nix: add options for hot corners
This commit is contained in:
Daiderd Jordan 2022-01-17 21:57:10 +01:00 committed by GitHub
commit af65e183c3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -162,5 +162,97 @@ in {
'';
};
system.defaults.dock.wvous-tl-corner = mkOption {
type = types.nullOr types.ints.positive;
default = null;
description = ''
Hot corner action for top left corner. Valid values include:
<itemizedlist>
<listitem><para><literal>1</literal>: Disabled</para></listitem>
<listitem><para><literal>2</literal>: Mission Control</para></listitem>
<listitem><para><literal>3</literal>: Application Windows</para></listitem>
<listitem><para><literal>4</literal>: Desktop</para></listitem>
<listitem><para><literal>5</literal>: Start Screen Saver</para></listitem>
<listitem><para><literal>6</literal>: Disable Screen Saver</para></listitem>
<listitem><para><literal>7</literal>: Dashboard</para></listitem>
<listitem><para><literal>10</literal>: Put Display to Sleep</para></listitem>
<listitem><para><literal>11</literal>: Launchpad</para></listitem>
<listitem><para><literal>12</literal>: Notification Center</para></listitem>
<listitem><para><literal>13</literal>: Lock Screen</para></listitem>
<listitem><para><literal>14</literal>: Quick Note</para></listitem>
</itemizedlist>
'';
};
system.defaults.dock.wvous-bl-corner = mkOption {
type = types.nullOr types.ints.positive;
default = null;
description = ''
Hot corner action for bottom left corner. Valid values include:
<itemizedlist>
<listitem><para><literal>1</literal>: Disabled</para></listitem>
<listitem><para><literal>2</literal>: Mission Control</para></listitem>
<listitem><para><literal>3</literal>: Application Windows</para></listitem>
<listitem><para><literal>4</literal>: Desktop</para></listitem>
<listitem><para><literal>5</literal>: Start Screen Saver</para></listitem>
<listitem><para><literal>6</literal>: Disable Screen Saver</para></listitem>
<listitem><para><literal>7</literal>: Dashboard</para></listitem>
<listitem><para><literal>10</literal>: Put Display to Sleep</para></listitem>
<listitem><para><literal>11</literal>: Launchpad</para></listitem>
<listitem><para><literal>12</literal>: Notification Center</para></listitem>
<listitem><para><literal>13</literal>: Lock Screen</para></listitem>
<listitem><para><literal>14</literal>: Quick Note</para></listitem>
</itemizedlist>
'';
};
system.defaults.dock.wvous-tr-corner = mkOption {
type = types.nullOr types.ints.positive;
default = null;
description = ''
Hot corner action for top right corner. Valid values include:
<itemizedlist>
<listitem><para><literal>1</literal>: Disabled</para></listitem>
<listitem><para><literal>2</literal>: Mission Control</para></listitem>
<listitem><para><literal>3</literal>: Application Windows</para></listitem>
<listitem><para><literal>4</literal>: Desktop</para></listitem>
<listitem><para><literal>5</literal>: Start Screen Saver</para></listitem>
<listitem><para><literal>6</literal>: Disable Screen Saver</para></listitem>
<listitem><para><literal>7</literal>: Dashboard</para></listitem>
<listitem><para><literal>10</literal>: Put Display to Sleep</para></listitem>
<listitem><para><literal>11</literal>: Launchpad</para></listitem>
<listitem><para><literal>12</literal>: Notification Center</para></listitem>
<listitem><para><literal>13</literal>: Lock Screen</para></listitem>
<listitem><para><literal>14</literal>: Quick Note</para></listitem>
</itemizedlist>
'';
};
system.defaults.dock.wvous-br-corner = mkOption {
type = types.nullOr types.ints.positive;
default = null;
description = ''
Hot corner action for bottom right corner. Valid values include:
<itemizedlist>
<listitem><para><literal>1</literal>: Disabled</para></listitem>
<listitem><para><literal>2</literal>: Mission Control</para></listitem>
<listitem><para><literal>3</literal>: Application Windows</para></listitem>
<listitem><para><literal>4</literal>: Desktop</para></listitem>
<listitem><para><literal>5</literal>: Start Screen Saver</para></listitem>
<listitem><para><literal>6</literal>: Disable Screen Saver</para></listitem>
<listitem><para><literal>7</literal>: Dashboard</para></listitem>
<listitem><para><literal>10</literal>: Put Display to Sleep</para></listitem>
<listitem><para><literal>11</literal>: Launchpad</para></listitem>
<listitem><para><literal>12</literal>: Notification Center</para></listitem>
<listitem><para><literal>13</literal>: Lock Screen</para></listitem>
<listitem><para><literal>14</literal>: Quick Note</para></listitem>
</itemizedlist>
'';
};
};
}