17 lines
357 B
TypeScript
17 lines
357 B
TypeScript
import { exec } from "astal";
|
|
import { Gdk } from "astal/gtk4";
|
|
|
|
function Pywal() {
|
|
return (
|
|
<box>
|
|
<button
|
|
cssClasses={["Pywal"]}
|
|
cursor={Gdk.Cursor.new_from_name("pointer", null)}
|
|
label={""}
|
|
onClicked={() => exec("bash -c ~/dotfiles/.scripts/pywal-swww.sh")}
|
|
/>
|
|
</box>
|
|
);
|
|
}
|
|
|
|
export default Pywal;
|