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({
|
Revealer({
|
||||||
transition: "slide_right",
|
transition: "slide_right",
|
||||||
child: EventBox({
|
child: EventBox({
|
||||||
setup: widget => {
|
tooltipText: `${i}`,
|
||||||
widget.set_tooltip_text(`${i}`);
|
|
||||||
},
|
|
||||||
onPrimaryClickRelease: () => execAsync(`hyprctl dispatch workspace ${i}`).catch(print),
|
onPrimaryClickRelease: () => execAsync(`hyprctl dispatch workspace ${i}`).catch(print),
|
||||||
child: Box({
|
child: Box({
|
||||||
className: 'button',
|
className: 'button',
|
||||||
|
|
Loading…
Reference in a new issue