diff --git a/style.scss b/style.scss index 8785068..d060a90 100644 --- a/style.scss +++ b/style.scss @@ -13,8 +13,8 @@ $font-size: 1rem; // bar @import "./widgets/bar/style.scss"; -// app-launcher -@import "./widgets/app-launcher/style.scss"; +// launcher +@import "./widgets/launcher/style.scss"; // notifications @import "./widgets/notifications/style.scss"; diff --git a/widgets/bar/launcher.tsx b/widgets/bar/launcher.tsx index 8c13722..3829ecc 100644 --- a/widgets/bar/launcher.tsx +++ b/widgets/bar/launcher.tsx @@ -1,6 +1,6 @@ import { Gdk } from "ags/gtk4"; import app from "ags/gtk4/app"; -import { WINDOW_NAME } from "../app-launcher"; +import { WINDOW_NAME } from "../launcher"; export const Launcher = () => { return ( diff --git a/widgets/app-launcher/index.tsx b/widgets/launcher/index.tsx similarity index 94% rename from widgets/app-launcher/index.tsx rename to widgets/launcher/index.tsx index 643bc2d..14ea305 100644 --- a/widgets/app-launcher/index.tsx +++ b/widgets/launcher/index.tsx @@ -3,7 +3,7 @@ import { Astal, Gdk, Gtk } from "ags/gtk4"; import app from "ags/gtk4/app"; import AstalApps from "gi://AstalApps"; -export const WINDOW_NAME = "app-launcher"; +export const WINDOW_NAME = "launcher"; let searchEntry: Gtk.Entry; const apps = new AstalApps.Apps(); @@ -59,11 +59,11 @@ const AppSearch = () => { ); }; -export const AppLauncher = (gdkmonitor: Gdk.Monitor) => { +export const Launcher = (gdkmonitor: Gdk.Monitor) => { return (