style: change cursor to pointer on hover

This commit is contained in:
tux
2025-06-18 04:42:26 +05:30
parent 7936ece744
commit 3e38dab8b9
4 changed files with 8 additions and 4 deletions

View File

@@ -1,11 +1,13 @@
import { App } from "astal/gtk4";
import { WINDOW_NAME } from "../app-launcher";
import { Gdk } from "astal/gtk4";
export const Launcher = () => {
return (
<button
cssClasses={["pill", "launcher"]}
onClicked={() => App.toggle_window(WINDOW_NAME)}
cursor={Gdk.Cursor.new_from_name("pointer", null)}
>
<image iconName="nix-symbolic" />
</button>