Compare commits
3 commits
631ece05f4
...
e192ba705e
Author | SHA1 | Date | |
---|---|---|---|
e192ba705e | |||
c6f1f5ffcd | |||
3f3c9e481c |
9 changed files with 25 additions and 9 deletions
|
@ -1,9 +1,12 @@
|
|||
import { Widget } from '../import.js';
|
||||
import { Time } from './widgets/time.js'
|
||||
import { nixosLogo } from './widgets/image.js';
|
||||
|
||||
const Start = () => Widget.Box({
|
||||
hpack: "start",
|
||||
children: []
|
||||
children: [
|
||||
nixosLogo()
|
||||
]
|
||||
})
|
||||
const Center = () => Widget.Box({
|
||||
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
|
||||
),
|
||||
),
|
||||
})
|
||||
});
|
||||
|
||||
export {
|
||||
Time
|
||||
|
|
|
@ -1,2 +1,2 @@
|
|||
@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;
|
||||
}
|
|
@ -15,7 +15,7 @@
|
|||
};
|
||||
in {
|
||||
imports = [
|
||||
../../../modules/greetd.nix
|
||||
../../modules/greetd.nix
|
||||
];
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
|
@ -10,7 +10,7 @@
|
|||
./hardware.nix
|
||||
./services
|
||||
./networking.nix
|
||||
../../home/wayland/hyprland/wayland.nix
|
||||
../../home/wayland
|
||||
../../modules
|
||||
../../modules/fonts.nix
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue