complete rework v3

This commit is contained in:
Nickolaj Jepsen 2025-02-18 20:17:57 +01:00
parent 7409e9ca10
commit 366a0e221a
131 changed files with 20171 additions and 585 deletions

View file

@ -0,0 +1,13 @@
import { Gdk, Gtk } from "astal/gtk4";
export const hasIcon = (name: string): boolean => {
if (!name) {
return false;
}
const display = Gdk.Display.get_default();
if (!display) {
return false;
}
return Gtk.IconTheme.get_for_display(display).has_icon(name);
};