diff --git a/home/ags/config/.gitignore b/home/ags/config/.gitignore index ded35cd..9ec6828 100644 --- a/home/ags/config/.gitignore +++ b/home/ags/config/.gitignore @@ -1,2 +1,2 @@ style.css -style.css.map \ No newline at end of file +style.css.map diff --git a/home/ags/config/js/main.js b/home/ags/config/js/main.js index 074f2a9..b879778 100644 --- a/home/ags/config/js/main.js +++ b/home/ags/config/js/main.js @@ -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: [] diff --git a/home/ags/config/js/widgets/image.js b/home/ags/config/js/widgets/image.js new file mode 100644 index 0000000..23e1dd4 --- /dev/null +++ b/home/ags/config/js/widgets/image.js @@ -0,0 +1,9 @@ +import { Widget } from '../../import.js'; + +const nixosLogo = () => Widget.Icon({ + icon: '/home/notoh/Pictures/icons/nixos.png' +}); + +export { + nixosLogo +} \ No newline at end of file diff --git a/home/ags/config/js/widgets/time.js b/home/ags/config/js/widgets/time.js index 91b3741..0518b83 100644 --- a/home/ags/config/js/widgets/time.js +++ b/home/ags/config/js/widgets/time.js @@ -11,7 +11,7 @@ const Time = () => Widget.EventBox({ self.label = time ), ), -}) +}); export { Time diff --git a/home/ags/config/main.scss b/home/ags/config/main.scss index e2cd945..83a584f 100644 --- a/home/ags/config/main.scss +++ b/home/ags/config/main.scss @@ -1,2 +1,2 @@ @import 'scss/bar.scss'; -@import 'scss/time.scss'; \ No newline at end of file +@import 'scss/general.scss'; \ No newline at end of file diff --git a/home/ags/config/scss/general.scss b/home/ags/config/scss/general.scss new file mode 100644 index 0000000..ec4f763 --- /dev/null +++ b/home/ags/config/scss/general.scss @@ -0,0 +1,7 @@ +.date { + color: #ffffff; +} + +image { + font-size: 24px; +} \ No newline at end of file diff --git a/home/ags/config/scss/time.scss b/home/ags/config/scss/time.scss deleted file mode 100644 index 0593439..0000000 --- a/home/ags/config/scss/time.scss +++ /dev/null @@ -1,3 +0,0 @@ -.date { - color: #ffffff; -} \ No newline at end of file