more styling!!!
This commit is contained in:
parent
d1cc5e20ba
commit
0ba4396ab6
4 changed files with 49 additions and 16 deletions
|
|
@ -12,7 +12,7 @@ function Calendar() {
|
|||
label={time().as((t) => ` ${t}`)}
|
||||
tooltip_text={date().as((d) => ` ${d}`)}
|
||||
/>
|
||||
<popover>
|
||||
<popover cssClasses={["CalendarMenu"]}>
|
||||
<Gtk.Calendar />
|
||||
</popover>
|
||||
</menubutton>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,10 @@
|
|||
import { GLib } from "astal";
|
||||
import { Gtk } from "astal/gtk4";
|
||||
import { Gdk, Gtk } from "astal/gtk4";
|
||||
|
||||
const OS = function () {
|
||||
return (
|
||||
<button
|
||||
cursor={Gdk.Cursor.new_from_name("pointer", null)}
|
||||
onClicked="echo hello"
|
||||
hexpand
|
||||
halign={Gtk.Align.START}
|
||||
|
|
|
|||
|
|
@ -35,10 +35,11 @@ const SwayNC = function () {
|
|||
|
||||
return (
|
||||
<button
|
||||
cssClasses={["SwayNC"]}
|
||||
cursor={Gdk.Cursor.new_from_name("pointer", null)}
|
||||
onClicked={() => exec("swaync-client -t -sw")}
|
||||
label={options().as((options) => ` ${Icon(options?.alt ?? "none")} `)}
|
||||
></button>
|
||||
label={options().as((options) => `${Icon(options?.alt ?? "none")}`)}
|
||||
/>
|
||||
);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue