@@ -23,9 +23,9 @@ windows_workspaces:
23
23
` ` `
24
24
25
25
## Description of Options
26
- - **label_workspace_btn:** The format string for workspace buttons, can be icon or {index }.
27
- - **label_workspace_active_btn:** The format string for the active workspace button, can be icon or {index }.
28
- - **switch_workspace_animation:** The OS animation to use when switching workspaces.
26
+ - **label_workspace_btn:** The format string for workspace buttons, can be icon, {index} or {name }.
27
+ - **label_workspace_active_btn:** The format string for the active workspace button, can be icon, {index} or {name }.
28
+ - **switch_workspace_animation:** The OS animation to use when switching workspaces. (currently unsupported)
29
29
- **animation:** Buttons animation.
30
30
- **container_padding:** Explicitly set padding inside widget container.
31
31
@@ -40,6 +40,17 @@ windows_workspaces:
40
40
.windows-workspaces .ws-btn.button-2 {} /*Style for second button.*/
41
41
.windows-workspaces .ws-btn.active.button-1 {} /*Style for the active first workspace button.*/
42
42
.windows-workspaces .ws-btn.active.button-2 {} /*Style for the active second workspace button.*/
43
+
44
+ .windows-desktops .context-menu {} /*Style for context menu.*/
45
+ .windows-desktops .context-menu:item {} /*Style for context menu items.*/
46
+ .windows-desktops .context-menu::item:selected {} /*Style for selected context menu items.*/
47
+ .windows-desktops .context-menu::separator {} /*Style for context menu separator.*/
48
+
49
+ .windows-desktops .rename-dialog {} /*Style for rename dialog.*/
50
+ .windows-desktops .rename-dialog QPushButton{} /*Style for rename dialog buttons.*/
51
+ .windows-desktops .rename-dialog QPushButton:hover{} /*Style for rename dialog buttons hover.*/
52
+ .windows-desktops .rename-dialog QLabel {} /*Style for rename dialog labels.*/
53
+ .windows-desktops .rename-dialog QLineEdit {} /*Style for rename dialog line edit.*/
43
54
```
44
55
45
56
###Example
@@ -62,6 +73,53 @@ windows_workspaces:
62
73
.windows-desktops .ws-btn.active {
63
74
color :#89b4fa ;
64
75
}
76
+
77
+ .windows-desktops .context-menu {
78
+ background-color :rgba (17 ,17 ,27 ,0.75 );
79
+ border :none ;
80
+ border-radius :2px ;
81
+ padding :8px 0 ;
82
+ }
83
+ .windows-desktops .context-menu :item {
84
+ padding :6px 16px ;
85
+ }
86
+ .windows-desktops .context-menu ::item:selected {
87
+ background-color :rgba (255 ,255 ,255 ,0.05 );
88
+ color :#ffffff ;
89
+ }
90
+ .windows-desktops .context-menu ::separator {
91
+ margin :2px 0px 2px 0px ;
92
+ height :1px ;
93
+ background-color :rgba (255 ,255 ,255 ,0.1 );
94
+ }
95
+
96
+ .windows-desktops .rename-dialog {
97
+ background-color :rgba (17 ,17 ,27 ,0.75 );
98
+ }
99
+ .windows-desktops .rename-dialog QPushButton{
100
+ background-color :rgba (255 ,255 ,255 ,0.1 );
101
+ color :#ffffff ;
102
+ border :none ;
103
+ padding :4px 12px ;
104
+ border-radius :4px ;
105
+ }
106
+ .windows-desktops .rename-dialog QPushButton:hover {
107
+ background-color :#585858 ;
108
+ color :#ffffff ;
109
+ border :none ;
110
+ padding :4px 12px ;
111
+ border-radius :4px ;
112
+ }
113
+
114
+ .windows-desktops .rename-dialog QLabel {
115
+ color :#ffffff ;
116
+ }
117
+ .windows-desktops .rename-dialog QLineEdit {
118
+ background-color :transparent ;
119
+ border :1px solid #89b4fa ;
120
+ padding :4px ;
121
+ color :#ffffff ;
122
+ }
65
123
```
66
124
67
125
> [ !NOTE]