refactor(ags): use tooltipText prop for workspaces
This commit is contained in:
parent
ed1b9272a1
commit
ecd161ba8b
1 changed files with 1 additions and 3 deletions
|
@ -8,9 +8,7 @@ const Workspace = ({ i } = {}) =>
|
|||
Revealer({
|
||||
transition: "slide_right",
|
||||
child: EventBox({
|
||||
setup: widget => {
|
||||
widget.set_tooltip_text(`${i}`);
|
||||
},
|
||||
tooltipText: `${i}`,
|
||||
onPrimaryClickRelease: () => execAsync(`hyprctl dispatch workspace ${i}`).catch(print),
|
||||
child: Box({
|
||||
className: 'button',
|
||||
|
|
Loading…
Reference in a new issue