Add compositing-fast-alt-tab, auto-raise-delay

This commit is contained in:
Aleksey Saprunov 2021-11-12 16:50:37 +04:00
parent 1fd6570ba6
commit cb8cf645df
3 changed files with 115 additions and 0 deletions

View File

@ -2066,5 +2066,78 @@
</elements>
</policy>
<policy name="OrgMateMarcoGeneralCompositingFastAltTabUser" class="User"
displayName="$(string.org-mate-marco-general-compositing-fast-alt-tab)"
explainText="$(string.org-mate-marco-general-compositing-fast-alt-tab_help)"
key="Software\BaseALT\Policies\gsettings"
valueName="org.mate.Marco.general.compositing-fast-alt-tab">
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<enabledValue>
<decimal value="1" />
</enabledValue>
<disabledValue>
<decimal value="0" />
</disabledValue>
</policy>
<policy name="OrgMateMarcoGeneralCompositingFastAltTabMachine" class="Machine"
displayName="$(string.org-mate-marco-general-compositing-fast-alt-tab)"
explainText="$(string.org-mate-marco-general-compositing-fast-alt-tab_help)"
key="Software\BaseALT\Policies\gsettings"
valueName="org.mate.Marco.general.compositing-fast-alt-tab"
presentation="$(presentation.OrgMateMarcoGeneralCompositingFastAltTabMachine-pr)">
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<enabledValue>
<decimal value="1" />
</enabledValue>
<disabledValue>
<decimal value="0" />
</disabledValue>
<elements>
<boolean id="OrgMateMarcoGeneralCompositingFastAltTab_setter_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.mate.Marco.compositing-fast-alt-tab">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>
</elements>
</policy>
<policy name="OrgMateMarcoGeneralAutoRaiseDelayUser" class="User"
displayName="$(string.org-mate-marco-general-auto-raise-delay)"
explainText="$(string.org-mate-marco-general-auto-raise-delay_help)"
key="Software\BaseALT\Policies\gsettings"
presentation="$(presentation.OrgMateMarcoGeneralAutoRaiseDelayUser-pr)">
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<decimal id="OrgMateMarcoGeneralAutoRaiseDelay_setter" valueName="org.mate.Marco.general.auto-raise-delay" minValue="1" />
</elements>
</policy>
<policy name="OrgMateMarcoGeneralAutoRaiseDelayMachine" class="Machine"
displayName="$(string.org-mate-marco-general-auto-raise-delay)"
explainText="$(string.org-mate-marco-general-auto-raise-delay_help)"
key="Software\BaseALT\Policies\gsettings"
presentation="$(presentation.OrgMateMarcoGeneralAutoRaiseDelayMachine-pr)">
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<decimal id="OrgMateMarcoGeneralAutoRaiseDelay_setter" valueName="org.mate.Marco.general.auto-raise-delay" minValue="1" />
<boolean id="OrgMateMarcoGeneralAutoRaiseDelay_setter_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.mate.Marco.general.auto-raise-delay">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>
</elements>
</policy>
</policies>
</policyDefinitions>

View File

@ -184,6 +184,12 @@
<string id="org-mate-marco-general-titlebar-uses-system-font">System font in the titlebar</string>
<string id="org-mate-marco-general-titlebar-uses-system-font_help">When enabled, the system font will be used in the window titlebar.</string>
<string id="org-mate-marco-general-compositing-fast-alt-tab">Thumbnails when switching windows</string>
<string id="org-mate-marco-general-compositing-fast-alt-tab_help">If set to true, no window thumbnails will be displayed in the alt-tab popup window when the compositing manager is enabled. Application icons will be displayed instead.</string>
<string id="org-mate-marco-general-auto-raise-delay">Auto raise delay</string>
<string id="org-mate-marco-general-auto-raise-delay_help">The time delay before raising a window if auto_raise is set to true. The delay is given in milliseconds.</string>
</stringTable>
<presentationTable>
@ -594,6 +600,21 @@ last - repeat last action</text>
<text>Lock changes to this setting. User policies for this setting will be ignored.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralCompositingFastAltTabMachine-pr">
<checkBox refId="OrgMateMarcoGeneralCompositingFastAltTab_setter_blocker">lock</checkBox>
<text>Lock changes to this setting. User policies for this setting will be ignored.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralAutoRaiseDelayUser-pr">
<decimalTextBox refId="OrgMateMarcoGeneralAutoRaiseDelay_setter" defaultValue="500">Milliseconds:</decimalTextBox>
</presentation>
<presentation id="OrgMateMarcoGeneralAutoRaiseDelayMachine-pr">
<decimalTextBox refId="OrgMateMarcoGeneralAutoRaiseDelay_setter" defaultValue="500">Milliseconds:</decimalTextBox>
<checkBox refId="OrgMateMarcoGeneralAutoRaiseDelay_setter_blocker">lock</checkBox>
<text>Lock changes to this setting. User policies for this setting will be ignored.</text>
</presentation>
</presentationTable>
</resources>
</policyDefinitionResources>

View File

@ -185,6 +185,12 @@
<string id="org-mate-marco-general-titlebar-uses-system-font">Системный шрифт в заголовке окон</string>
<string id="org-mate-marco-general-titlebar-uses-system-font_help">При включении в заголовках окон будет использоваться системный шрифт.</string>
<string id="org-mate-marco-general-compositing-fast-alt-tab">Миниатюры при переключении окон</string>
<string id="org-mate-marco-general-compositing-fast-alt-tab_help">Если включено, то вместо миниатюр в окне переключения Alt+Tab будут отображаться иконки приложения.</string>
<string id="org-mate-marco-general-auto-raise-delay">Задержка при восстановлении</string>
<string id="org-mate-marco-general-auto-raise-delay_help">Временной интервал в миллисекундах, по истечении которого окно в фокусе будет поднято поверх остальных.</string>
</stringTable>
<presentationTable>
@ -595,6 +601,21 @@ last - повторить последнее действие</text>
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralCompositingFastAltTabMachine-pr">
<checkBox refId="OrgMateMarcoGeneralCompositingFastAltTab_setter_blocker">блокировать</checkBox>
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralAutoRaiseDelayUser-pr">
<decimalTextBox refId="OrgMateMarcoGeneralAutoRaiseDelay_setter" defaultValue="500">Миллисекунды:</decimalTextBox>
</presentation>
<presentation id="OrgMateMarcoGeneralAutoRaiseDelayMachine-pr">
<decimalTextBox refId="OrgMateMarcoGeneralAutoRaiseDelay_setter" defaultValue="500">Миллисекунды:</decimalTextBox>
<checkBox refId="OrgMateMarcoGeneralAutoRaiseDelay_setter_blocker">блокировать</checkBox>
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
</presentationTable>
</resources>
</policyDefinitionResources>