dashboard
Quick-access button with a distro icon; opens the dashboard dropdown.
lys-shell panel dashboard opens or closes it from a compositor bind, on the focused monitor or the one named.
While it holds the keyboard, the arrow keys move between its controls, Home and End go to the first and the last, Return or Space press the focused one, Escape closes it, and on a slider Left and Right change the value while Up and Down leave it.
Add it to your layout with dashboard:
yaml
bar:
layout:
- monitor: "*"
right: [dashboard]General
| Field | Type | Default | Description |
|---|---|---|---|
icon-override | string | "" | Override the auto-detected distro icon. |
border-show | bool | false | Display border around button. |
temp-warning | f32 | 65 | CPU temperature (°C) at which the dashboard temp ring turns warning. |
temp-error | f32 | 85 | CPU temperature (°C) at which the dashboard temp ring turns error. |
user-session | UserSessionConfig | {...} | User session configuration |
Colors
| Field | Type | Default | Description |
|---|---|---|---|
border-color | ColorValue | "yellow" | Border color token. |
icon-color | ColorValue | "auto" | Icon foreground color. Auto selects based on variant for contrast. |
icon-bg-color | ColorValue | "yellow" | Icon container background color token. |
Click actions
| Field | Type | Default | Description |
|---|---|---|---|
right-click | ClickAction | "" | Action on right click. |
middle-click | ClickAction | "" | Action on middle click. |
scroll-up | ClickAction | "" | Action on scroll up. |
scroll-down | ClickAction | "" | Action on scroll down. |
left-click | ClickAction | "dropdown:dashboard" | Action on left click. |
Default configuration
yaml
modules:
dashboard:
icon-override: ""
border-show: false
border-color: yellow
icon-color: auto
icon-bg-color: yellow
right-click: ""
middle-click: ""
scroll-up: ""
scroll-down: ""
left-click: dropdown:dashboard
temp-warning: 65.0
temp-error: 85.0
user-session:
actions:
- lock
- log-out
- suspend
- reboot
- power-off