Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs/part-2-quickshell/config-structure-and-imports.md
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ The `import Quickshell` statement is the only one you must write. Everything els
Split the shell from the previous chapter into three files.

<BuildIt>

```qml
// Theme.qml
pragma Singleton
Expand All @@ -85,6 +86,7 @@ QtObject {
Create a panel component file:

<BuildIt>

```qml
// Panel.qml
import QtQuick
Expand All @@ -110,6 +112,7 @@ PanelWindow {
And the root shell file:

<BuildIt>

```qml
// shell.qml
import Quickshell
Expand All @@ -127,6 +130,7 @@ Notice that `Panel.qml` is used as `Panel {}` in `shell.qml` without any import
For components in subdirectories, use relative import paths.

<BuildIt>

```qml
// widgets/Clock.qml
import QtQuick
Expand Down
1 change: 1 addition & 0 deletions docs/part-2-quickshell/shell-qml-and-shellroot.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,7 @@ The `settings` property (a `QuickshellSettings` object, read-only) is inherited
Here is a shell with a theme declared on `ShellRoot` and consumed by two windows.

<BuildIt>

```qml
import Quickshell

Expand Down