💥 fix(ags): bar/media widget, new appearance to control center

This commit is contained in:
retrozinndev
2025-02-05 16:31:23 -03:00
parent 8bd3245dab
commit 0bd0b53589
16 changed files with 278 additions and 282 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ function LogoutButton(): Widget.Button {
return new Widget.Button({
label: "󰗽",
onClick: () => Process.exec_async(
"bash -c 'loginctl terminate-user $USER'",
"bash -c 'wlogout -b 5'",
() => {}
)
} as Widget.ButtonProps);
@@ -1,4 +1,4 @@
import { Binding } from "astal";
import { Binding, Variable } from "astal";
import { Gtk, Widget } from "astal/gtk3";
export interface NormalTileProps {
@@ -14,9 +14,6 @@ export interface NormalTileProps {
export function MoreTile(props: NormalTileProps): Gtk.Widget {
let toggleState: boolean = props?.toggleState !== undefined ?
props.toggleState : false;
const mainEventBox = new Widget.EventBox({
onClick: () => toggleState ? props.onToggledOff() : props.onToggledOn(),
expand: true,