ags(bar,scripts,i18n): added i18n system(wip), changed some bar stuff and started doing control center

This commit is contained in:
retrozinndev
2025-02-04 12:39:25 -03:00
parent 09692bae90
commit b544f4a45b
32 changed files with 980 additions and 141 deletions
+4 -4
View File
@@ -12,15 +12,15 @@ export function Separator(props: SeparatorProps) {
return new Widget.Box({
className: `separator separator-${ props.orientation == Gtk.Orientation.VERTICAL ? "vertical" : "horizontal" } ${ props.class && props.class }`,
css: `.separator {
background: ${ props.cssColor ? props.cssColor : "lightgray" };
opacity: ${ props.alpha ? props.alpha : 1 };
background: ${ props.cssColor || "lightgray" };
opacity: ${ props.alpha || 1 };
}
.separator-horizontal {
padding-right: ${props.size ? props.size : 1 }px;
padding-right: ${props.size || 1 }px;
margin: 7px 4px;
}
.separator-vertical {
padding-bottom: ${props.size ? props.size : 1 }px;
padding-bottom: ${props.size || 1 }px;
margin: 4px 7px;
}`,
} as Widget.BoxProps);