refactor(ags): use tooltipText prop for workspaces

This commit is contained in:
matt1432 2023-09-20 16:07:17 -04:00
parent ed1b9272a1
commit ecd161ba8b

View file

@ -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',