dashboard
Quick-access button with a distro icon; opens the dashboard dropdown.
Add it to your layout with dashboard:
toml
[[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. |
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 | "loginctl terminate-session $XDG_SESSION_ID" | 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
toml
[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 = "loginctl terminate-session $XDG_SESSION_ID"
dropdown-reboot-command = "systemctl reboot"
dropdown-poweroff-command = "systemctl poweroff"