fix: provide an "enable tiling" option

This commit is contained in:
Mikhail Zolotukhin 2021-11-10 18:21:56 +03:00
parent ae0a594bb8
commit c2854466cc
3 changed files with 20 additions and 2 deletions

View File

@ -10,5 +10,5 @@ echo "📦 Installing Bismuth..."
sudo cmake --install "build"
echo "🎉 Installation finished."
echo "💡 You can configure Bismuth in the System Settings > Window Management > Window Tiling."
echo "🦾 Enjoy your tiling!"
echo "💡 You can enable and configure window tiling in the System Settings > Window Management > Window Tiling."
echo "🦾 Don't forget to enable window tiling. We hope you will enjoy it!"

View File

@ -180,5 +180,13 @@
<default>false</default>
</entry>
</group>
<group name="Plugins">
<entry name="bismuthEnabled" type="Bool">
<label>Enable Bismuth KWin Script component</label>
<!-- This is KWin default, we could not change that -->
<default>false</default>
</entry>
</group>
</kcfg>

View File

@ -12,6 +12,16 @@ import org.kde.kirigami 2.7 as Kirigami
Kirigami.FormLayout {
id: behaviorTab
Item {
Kirigami.FormData.isSection: true
Kirigami.FormData.label: i18n("General")
}
BIC.ConfigCheckBox {
settingName: "bismuthEnabled"
text: i18n("Enable window tiling")
}
Item {
Kirigami.FormData.isSection: true
Kirigami.FormData.label: i18n("Layouts")