ags: updates
All checks were successful
flake check / check (push) Successful in 9m17s
fmt check / check (push) Successful in 1m16s

This commit is contained in:
notohh 2024-01-03 14:10:19 -05:00
parent c6f1f5ffcd
commit e192ba705e
Signed by: notohh
GPG key ID: BD47506D475EE86D
7 changed files with 23 additions and 7 deletions

View file

@ -1,9 +1,12 @@
import { Widget } from '../import.js'; import { Widget } from '../import.js';
import { Time } from './widgets/time.js' import { Time } from './widgets/time.js'
import { nixosLogo } from './widgets/image.js';
const Start = () => Widget.Box({ const Start = () => Widget.Box({
hpack: "start", hpack: "start",
children: [] children: [
nixosLogo()
]
}) })
const Center = () => Widget.Box({ const Center = () => Widget.Box({
children: [] children: []

View file

@ -0,0 +1,9 @@
import { Widget } from '../../import.js';
const nixosLogo = () => Widget.Icon({
icon: '/home/notoh/Pictures/icons/nixos.png'
});
export {
nixosLogo
}

View file

@ -11,7 +11,7 @@ const Time = () => Widget.EventBox({
self.label = time self.label = time
), ),
), ),
}) });
export { export {
Time Time

View file

@ -1,2 +1,2 @@
@import 'scss/bar.scss'; @import 'scss/bar.scss';
@import 'scss/time.scss'; @import 'scss/general.scss';

View file

@ -0,0 +1,7 @@
.date {
color: #ffffff;
}
image {
font-size: 24px;
}

View file

@ -1,3 +0,0 @@
.date {
color: #ffffff;
}