Hyprland Workspace
Hyprland workspace IPC based on hyprland-rs
.
{
"type": "hyprland-workspace",
"thickness": 15,
"length": "25%",
"frame_rate": 144,
"hover_color": "#ffffff55"
}
type*
const `hyprland-workspace`
thickness
Equivalent to the old width
, thickness of the hyprland workspace bar.
Support relative values(string "xx%").
Type: int | string
Default: 10
length
Equivalent to the old height
, length of the hyprland workspace bar.
Support relative values(string "xx%").
Type: int | string
Default: 200
gap
Gap between each hyprland workspace.
Type: int
Default: 5
active_increase
How much length should one workspace increase when it's active.
Between 0-1
Type: float
Default: 0.5
workspace_transition_duration
Animation time of active_increase
switching between workspaces.
Milliseconds(ms).
Type: int
Default: 300
backlight
Color of the background.
Support: #rgb
/#rrggbb
/#rrrgggbbb
/rgb(r, g, b)
/rgba(r, g, b, a)
...
For full info, check RGBA
Type: null | string
Default: null
deactive_color
Color of the non-active workspace.
Support: #rgb
/#rrggbb
/#rrrgggbbb
/rgb(r, g, b)
/rgba(r, g, b, a)
...
For full info, check RGBA
Type: string
Default: #003049
active_color
Color of the active workspace.
For full info, check RGBA
Type: string
Default: #669bbc
hover_color
Color of the mouse hovering workspace.
For full info, check RGBA
Type: null | string
Default: null
frame_rate
Frame rate per second, won't hurt if over screen refresh rate.
Type: int
Default: 60
transition_duration
Time cost of showing the widget from the edge.
Millisecond.
Type: int
Default: 100
extra_trigger_size
Extra mouse event input region of the widget, if 0
then the widget won't be shown by mouse hover.
Type: int | string
Default: 5