This commit is contained in:
Benjamin Palko 2025-04-06 11:20:10 -04:00
parent 8fdbd1f4ea
commit d1cc5e20ba
2 changed files with 10 additions and 3 deletions

View file

@ -1,4 +1,3 @@
import { bind } from "astal";
import { exec, Variable } from "astal";
import { Gdk } from "astal/gtk4";
@ -38,7 +37,7 @@ const SwayNC = function () {
<button
cursor={Gdk.Cursor.new_from_name("pointer", null)}
onClicked={() => exec("swaync-client -t -sw")}
label={options().as((options) => Icon(options?.alt ?? "none"))}
label={options().as((options) => ` ${Icon(options?.alt ?? "none")} `)}
></button>
);
};