Added allow-top-tiling, focus-new-windows, allow-tiling

This commit is contained in:
Aleksey Saprunov 2021-11-10 17:19:09 +04:00
parent 13682a5d84
commit f6b39ed6c6
3 changed files with 198 additions and 0 deletions

View File

@ -1252,5 +1252,141 @@
</elements>
</policy>
<policy name="OrgMateMarcoGeneralAllowTopTilingUser" class="User"
displayName="$(string.org-mate-marco-general-allow-top-tiling)"
explainText="$(string.org-mate-marco-general-allow-top-tiling_help)"
key="Software\BaseALT\Policies\gsettings"
valueName="org.mate.Marco.general.allow-top-tiling">
<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="OrgMateMarcoGeneralAllowTopTilingMachine" class="Machine"
displayName="$(string.org-mate-marco-general-allow-top-tiling)"
explainText="$(string.org-mate-marco-general-allow-top-tiling_help)"
key="Software\BaseALT\Policies\gsettings"
valueName="org.mate.Marco.general.allow-top-tiling"
presentation="$(presentation.OrgMateMarcoGeneralAllowTopTilingMachine-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="OrgMateMarcoGeneralAllowTopTilingMachine_setter_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.mate.Marco.general.allow-top-tiling">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>
</elements>
</policy>
<policy name="OrgMateMarcoGeneralFocusNewWindowsUser" class="User"
displayName="$(string.org-mate-marco-general-focus-new-windows)"
explainText="$(string.org-mate-marco-general-focus-new-windows_help)"
key="Software\BaseALT\Policies\gsettings"
presentation="$(presentation.OrgMateMarcoGeneralFocusNewWindowsUser-pr)" >
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<enum id="OrgMateMarcoGeneralFocusNewWindows_setter" required="true" valueName="org.mate.Marco.general.focus-new-windows">
<item displayName="$(string.org-mate-Marco-general-focus-new-windows-smart)">
<value>
<string>smart</string>
</value>
</item>
<item displayName="$(string.org-mate-Marco-general-focus-new-windows-strict)">
<value>
<string>strict</string>
</value>
</item>
</enum>
</elements>
</policy>
<policy name="OrgMateMarcoGeneralFocusNewWindowsMachine" class="Machine"
displayName="$(string.org-mate-marco-general-focus-new-windows)"
explainText="$(string.org-mate-marco-general-focus-new-windows_help)"
key="Software\BaseALT\Policies\gsettings"
presentation="$(presentation.OrgMateMarcoGeneralFocusNewWindowsMachine-pr)" >
<parentCategory ref="system:ALT_Windows_Manager_Marco" />
<supportedOn ref="system:SUPPORTED_AltP9" />
<elements>
<enum id="OrgMateMarcoGeneralFocusNewWindows_setter" required="true" valueName="org.mate.Marco.general.focus-new-windows">
<item displayName="$(string.org-mate-Marco-general-focus-new-windows-smart)">
<value>
<string>smart</string>
</value>
</item>
<item displayName="$(string.org-mate-Marco-general-focus-new-windows-strict)">
<value>
<string>strict</string>
</value>
</item>
</enum>
<boolean id="OrgMateMarcoGeneralFocusNewWindows_setter_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.mate.Marco.general.focus-new-windows">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>
</elements>
</policy>
<policy name="OrgMateMarcoGeneralAllowTilingUser" class="User"
displayName="$(string.org-mate-marco-general-allow-tiling)"
explainText="$(string.org-mate-marco-general-allow-tiling_help)"
key="Software\BaseALT\Policies\gsettings"
valueName="org.mate.Marco.general.allow-tiling">
<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="OrgMateMarcoGeneralAllowTilingMachine" class="Machine"
displayName="$(string.org-mate-marco-general-allow-tiling)"
explainText="$(string.org-mate-marco-general-allow-tiling_help)"
key="Software\BaseALT\Policies\gsettings"
valueName="org.mate.Marco.general.allow-tiling"
presentation="$(presentation.OrgMateMarcoGeneralAllowTilingMachine-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="OrgMateMarcoGeneralAllowTiling_setter_blocker" key="Software\BaseALT\Policies\GSettingsLocks" valueName="org.mate.Marco.general.allow-tiling">
<trueValue>
<decimal value="1" />
</trueValue>
<falseValue>
<decimal value="0" />
</falseValue>
</boolean>
</elements>
</policy>
</policies>
</policyDefinitions>

View File

@ -111,6 +111,17 @@
<string id="org-mate-marco-general-show-tab-border">Show window border</string>
<string id="org-mate-marco-general-show-tab-border_help">Set this to false to disable border of preselected window while performing tab switching.</string>
<string id="org-mate-marco-general-allow-top-tiling">Allow top tiling</string>
<string id="org-mate-marco-general-allow-top-tiling_help">If enabled, drag-dropping a window to the top of the screen will maximize it. Only works when allow-tiling is enabled.</string>
<string id="org-mate-marco-general-focus-new-windows">Switch focus to a new window</string>
<string id="org-mate-marco-general-focus-new-windows_help">This option provides additional control over how newly created windows get focus. It has two possible values; "smart" applies the user's normal focus mode, and "strict" results in windows started from a terminal not being given focus.</string>
<string id="org-mate-Marco-general-focus-new-windows-smart">smart</string>
<string id="org-mate-Marco-general-focus-new-windows-strict">strict</string>
<string id="org-mate-marco-general-allow-tiling">Resizing when drag-dropping</string>
<string id="org-mate-marco-general-allow-tiling_help">If enabled, dropping windows on screen edges maximizes them vertically and resizes them horizontally to cover half of the available area. Drag-dropping to the top maximizes the window if allow-top-tiling is enabled.</string>
</stringTable>
<presentationTable>
@ -355,6 +366,26 @@
<text>Lock changes to this setting. User policies for this setting will be ignored.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralAllowTopTilingMachine-pr">
<checkBox refId="OrgMateMarcoGeneralAllowTopTilingMachine_setter_blocker">lock</checkBox>
<text>Lock changes to this setting. User policies for this setting will be ignored.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralFocusNewWindowsUser-pr">
<dropdownList noSort="true" defaultItem="0" refId="OrgMateMarcoGeneralFocusNewWindows_setter">focus transfer:</dropdownList>
</presentation>
<presentation id="OrgMateMarcoGeneralFocusNewWindowsMachine-pr">
<dropdownList noSort="true" defaultItem="0" refId="OrgMateMarcoGeneralFocusNewWindows_setter">focus transfer:</dropdownList>
<checkBox refId="OrgMateMarcoGeneralFocusNewWindows_setter_blocker">lock</checkBox>
<text>Lock changes to this setting. User policies for this setting will be ignored.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralAllowTilingMachine-pr">
<checkBox refId="OrgMateMarcoGeneralAllowTiling_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

@ -111,6 +111,17 @@
<string id="org-mate-marco-general-show-tab-border">Граница окна при переключении</string>
<string id="org-mate-marco-general-show-tab-border_help">Показывать ли границу окна при переключении с помощью Alt+Tab.</string>
<string id="org-mate-marco-general-allow-top-tiling">Разворачивание при перетаскивании</string>
<string id="org-mate-marco-general-allow-top-tiling_help">Включает разворачивание окна во весь экран при его перетаскивании в верхнюю центральную часть экрана.</string>
<string id="org-mate-marco-general-focus-new-windows">Переключение фокуса на новое окно</string>
<string id="org-mate-marco-general-focus-new-windows_help">Устанавливает способ переключения фокуса на новое окно. smart - новое окно получает фокус при создании. strict - при создании нового окна по команде из терминала, новое окно фокус не получает.</string>
<string id="org-mate-Marco-general-focus-new-windows-smart">smart</string>
<string id="org-mate-Marco-general-focus-new-windows-strict">strict</string>
<string id="org-mate-marco-general-allow-tiling">Изменение размеров при перетаскивании</string>
<string id="org-mate-marco-general-allow-tiling_help">Включает изменение размеров окна при перетаскивании его в различные области экрана.</string>
</stringTable>
<presentationTable>
@ -355,6 +366,26 @@
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralAllowTopTilingMachine-pr">
<checkBox refId="OrgMateMarcoGeneralAllowTopTilingMachine_setter_blocker">блокировать</checkBox>
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralFocusNewWindowsUser-pr">
<dropdownList noSort="true" defaultItem="0" refId="OrgMateMarcoGeneralFocusNewWindows_setter">Передача фокуса:</dropdownList>
</presentation>
<presentation id="OrgMateMarcoGeneralFocusNewWindowsMachine-pr">
<dropdownList noSort="true" defaultItem="0" refId="OrgMateMarcoGeneralFocusNewWindows_setter">Передача фокуса:</dropdownList>
<checkBox refId="OrgMateMarcoGeneralFocusNewWindows_setter_blocker">блокировать</checkBox>
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
<presentation id="OrgMateMarcoGeneralAllowTilingMachine-pr">
<checkBox refId="OrgMateMarcoGeneralAllowTiling_setter_blocker">блокировать</checkBox>
<text>Блокировка изменений данной настройки пользователем. Пользовательские политики для этой настройки будут проигнорированы.</text>
</presentation>
</presentationTable>
</resources>
</policyDefinitionResources>