Skip to content

Commit

Permalink
fix: provide an "enable tiling" option
Browse files Browse the repository at this point in the history
  • Loading branch information
Mikhail Zolotukhin committed Nov 10, 2021
1 parent ae0a594 commit c285446
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/install.sh
Expand Up @@ -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!"
8 changes: 8 additions & 0 deletions src/kcm/bismuth_config.kcfg
Expand Up @@ -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>

10 changes: 10 additions & 0 deletions src/kcm/package/contents/ui/Behaviour.qml
Expand Up @@ -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")
Expand Down

0 comments on commit c285446

Please sign in to comment.