💥 fix(ags): bar/media widget, new appearance to control center
This commit is contained in:
@@ -1,10 +1,13 @@
|
||||
import { Widget } from "astal/gtk3";
|
||||
import { Box, Button } from "astal/gtk3/widget";
|
||||
import AstalHyprland from "gi://AstalHyprland";
|
||||
import { tr } from "../../i18n/intl";
|
||||
|
||||
export function Logo() {
|
||||
return (
|
||||
<Box className={"logo"}>
|
||||
return new Widget.Box({
|
||||
className: "logo",
|
||||
//tooltipText: tr("bar.logo.tooltip"),
|
||||
child:
|
||||
<Button onClick={ () => AstalHyprland.get_default().dispatch("exec", "anyrun") } label={""} />
|
||||
</Box>
|
||||
)
|
||||
} as Widget.BoxProps);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user