Skip to content
This repository was archived by the owner on Jul 17, 2025. It is now read-only.

Commit 9ba4658

Browse files
committed
workspace
1 parent 08dc2a2 commit 9ba4658

File tree

2 files changed

+23
-16
lines changed

2 files changed

+23
-16
lines changed

data/doc/4.widgets/3.workspace.md

Lines changed: 16 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ const `workspace`
2929

3030
## `thickness*`
3131

32-
Equivalent to the old `width`, thickness of the hyprland workspace bar.
32+
Equivalent to the old `width`, thickness of the workspace bar.
3333
Support relative values(string "xx%").
3434

3535
_Type: `int | string`_
3636
_Default: `10`_
3737

3838
## `length*`
3939

40-
Equivalent to the old `height`, length of the hyprland workspace bar.
40+
Equivalent to the old `height`, length of the workspace bar.
4141
Support relative values(string "xx%").
4242

4343
_Type: `int | string`_
@@ -54,7 +54,7 @@ Enum:
5454

5555
## `gap`
5656

57-
Gap between each hyprland workspace.
57+
Gap between each workspace.
5858

5959
_Type: `int`_
6060
_Default: `5`_
@@ -75,24 +75,31 @@ Milliseconds(ms).
7575
_Type: `int`_
7676
_Default: `300`_
7777

78-
## `deactive_color`
78+
## `default_color`
7979

8080
Color of the non-active workspace.
8181

8282
Support: `#rgb`/`#rrggbb`/`#rrrgggbbb`/`rgb(r, g, b)`/`rgba(r, g, b, a)`...
8383
For full info, check [RGBA](https://gtk-rs.org/gtk4-rs/stable/latest/docs/src/gdk4/rgba.rs.html#205)
8484

85-
_Type: `string`_
86-
_Default: `#003049`_
85+
_Type: `string`_
86+
87+
## `focus_color`
88+
89+
Color of the focusing workspace.
90+
91+
Support: `#rgb`/`#rrggbb`/`#rrrgggbbb`/`rgb(r, g, b)`/`rgba(r, g, b, a)`...
92+
For full info, check [RGBA](https://gtk-rs.org/gtk4-rs/stable/latest/docs/src/gdk4/rgba.rs.html#205)
93+
94+
_Type: `string`_
8795

8896
## `active_color`
8997

90-
Color of the active workspace.
98+
Color of the active workspace(non-focusing).
9199

92100
For full info, check [RGBA](https://gtk-rs.org/gtk4-rs/stable/latest/docs/src/gdk4/rgba.rs.html#205)
93101

94-
_Type: `string`_
95-
_Default: `#669bbc`_
102+
_Type: `string`_
96103

97104
## `hover_color`
98105

data/doc/4.widgets/index.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@
2323

2424
`<type> - <widget>`
2525

26-
- `btn` - Button
27-
- `slide` - Slide
28-
- `speaker` - Speaker
29-
- `microphone` - Microphone
30-
- `backlight` - Backlight
31-
- `box` - Box
26+
- `btn`
27+
- `slide`
28+
- `speaker`
29+
- `microphone`
30+
- `backlight`
31+
- `box`
3232
- `ring`
3333
- `text`
3434
- `tray`
35-
- `hyprland-workspace` - Hyprland workspace
35+
- `workspace`

0 commit comments

Comments
 (0)