Luigit
repositories / dotfiles

dotfiles

bugabingas dorkfiles

owned by admin

pi/agent/skills/optional/quickshell/examples/02-per-monitor-bar/README.md

Raw
Rendered preview

02: per-monitor bar

Variants is the entry root and creates a Bar for each item in Quickshell.screens. The delegate exposes each screen as modelData and binds it to the panel's screen property.

Bar.qml is a local PascalCase component imported by import "." in shell.qml. Check the installed guide before changing local imports to qs.* module imports.

Static check:

qmllint -I /usr/lib/qt6/qml examples/02-per-monitor-bar/shell.qml

Static checking does not exercise monitor hotplug or confirm one correctly placed surface per display.

# 02: per-monitor bar

`Variants` is the entry root and creates a `Bar` for each item in `Quickshell.screens`.
The delegate exposes each screen as `modelData` and binds it to the panel's `screen` property.

`Bar.qml` is a local PascalCase component imported by `import "."` in `shell.qml`.
Check the installed guide before changing local imports to `qs.*` module imports.

Static check:

```sh
qmllint -I /usr/lib/qt6/qml examples/02-per-monitor-bar/shell.qml
```

Static checking does not exercise monitor hotplug or confirm one correctly placed surface per display.