style: add style for time and tray widget

This commit is contained in:
tux
2025-05-31 18:38:40 +05:30
parent d5a24064e9
commit 9712b9e0ea
2 changed files with 32 additions and 17 deletions

View File

@@ -5,12 +5,11 @@ import { WINDOW_NAME } from "../app-launcher";
export const Launcher = () => {
return (
<Gtk.ScrolledWindow
heightRequest={40}
widthRequest={40}
cssClasses={["launcher"]}
>
<button onClicked={() => App.toggle_window(WINDOW_NAME)}>
<Gtk.ScrolledWindow heightRequest={40} widthRequest={40}>
<button
cssClasses={["launcher"]}
onClicked={() => App.toggle_window(WINDOW_NAME)}
>
<Picture
file={Gio.file_new_for_path("/home/tux/Wallpapers/avatar.png")}
contentFit={Gtk.ContentFit.CONTAIN}