dashboard
Quick-access button with a distro icon; opens the dashboard dropdown.
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. |
usage-warning | f32 | 60 | CPU/RAM/disk usage percent at which the dashboard rings turn warning. |
usage-error | f32 | 85 | CPU/RAM/disk usage percent at which the dashboard rings turn error. |
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. |
battery-warning | f32 | 30 | Battery percent at or below which the dashboard battery shows warning. |
battery-critical | f32 | 15 | Battery percent at or below which the dashboard battery shows critical. |
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. |
Dropdown
| Field | Type | Default | Description |
|---|---|---|---|
dropdown-lock-command | string | "loginctl lock-session" | Shell command for the lock button in the dashboard dropdown. |
dropdown-logout-command | string | "lys-shell logout" | Shell command for the logout button in the dashboard dropdown. |
dropdown-reboot-command | string | "systemctl reboot" | Shell command for the reboot button in the dashboard dropdown. |
dropdown-poweroff-command | string | "systemctl poweroff" | Shell command for the power-off button in the dashboard dropdown. |
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
dropdown-lock-command: loginctl lock-session
dropdown-logout-command: lys-shell logout
dropdown-reboot-command: systemctl reboot
dropdown-poweroff-command: systemctl poweroff
usage-warning: 60.0
usage-error: 85.0
temp-warning: 65.0
temp-error: 85.0
battery-warning: 30.0
battery-critical: 15.0
user-session:
actions:
- lock
- log-out
- reboot
- power-off