ags: updates
All checks were successful
flake check / check (push) Successful in 9m17s
fmt check / check (push) Successful in 1m16s
All checks were successful
flake check / check (push) Successful in 9m17s
fmt check / check (push) Successful in 1m16s
This commit is contained in:
parent
c6f1f5ffcd
commit
e192ba705e
7 changed files with 23 additions and 7 deletions
|
@ -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: []
|
||||||
|
|
9
home/ags/config/js/widgets/image.js
Normal file
9
home/ags/config/js/widgets/image.js
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
import { Widget } from '../../import.js';
|
||||||
|
|
||||||
|
const nixosLogo = () => Widget.Icon({
|
||||||
|
icon: '/home/notoh/Pictures/icons/nixos.png'
|
||||||
|
});
|
||||||
|
|
||||||
|
export {
|
||||||
|
nixosLogo
|
||||||
|
}
|
|
@ -11,7 +11,7 @@ const Time = () => Widget.EventBox({
|
||||||
self.label = time
|
self.label = time
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
})
|
});
|
||||||
|
|
||||||
export {
|
export {
|
||||||
Time
|
Time
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
@import 'scss/bar.scss';
|
@import 'scss/bar.scss';
|
||||||
@import 'scss/time.scss';
|
@import 'scss/general.scss';
|
7
home/ags/config/scss/general.scss
Normal file
7
home/ags/config/scss/general.scss
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
.date {
|
||||||
|
color: #ffffff;
|
||||||
|
}
|
||||||
|
|
||||||
|
image {
|
||||||
|
font-size: 24px;
|
||||||
|
}
|
|
@ -1,3 +0,0 @@
|
||||||
.date {
|
|
||||||
color: #ffffff;
|
|
||||||
}
|
|
Loading…
Reference in a new issue