diff --git a/assets/icons/hicolor/scalable/devices/fa-ghost-symbolic.svg b/assets/icons/hicolor/scalable/devices/fa-ghost-symbolic.svg
new file mode 100644
index 0000000..78347b4
--- /dev/null
+++ b/assets/icons/hicolor/scalable/devices/fa-ghost-symbolic.svg
@@ -0,0 +1 @@
+
diff --git a/style/_bar.scss b/style/_bar.scss
index 9c66894..f2e10f7 100644
--- a/style/_bar.scss
+++ b/style/_bar.scss
@@ -10,8 +10,16 @@ window.Bar {
border-radius: $rounded;
.launcher {
+ color: $fg-color;
+ border-radius: calc($rounded / 1.5);
+ padding: 8px;
+
+ image {
+ -gtk-icon-size: 1.5rem;
+ }
+
&:hover {
- background-color: $bg-color;
+ background-color: $inactive-color;
}
}
diff --git a/widgets/bar/index.tsx b/widgets/bar/index.tsx
index cb280e7..cacfd11 100644
--- a/widgets/bar/index.tsx
+++ b/widgets/bar/index.tsx
@@ -29,7 +29,7 @@ export const Bar = (gdkmonitor: Gdk.Monitor) => {
>
-
+
@@ -47,6 +47,7 @@ export const Bar = (gdkmonitor: Gdk.Monitor) => {
+
diff --git a/widgets/bar/launcher.tsx b/widgets/bar/launcher.tsx
index 3829ecc..c6a7042 100644
--- a/widgets/bar/launcher.tsx
+++ b/widgets/bar/launcher.tsx
@@ -1,15 +1,23 @@
import { Gdk } from "ags/gtk4";
import app from "ags/gtk4/app";
-import { WINDOW_NAME } from "../launcher";
+import { WINDOW_NAME as APP_LAUNCHER_WINDOW_NAME } from "../launcher";
+import { WINDOW_NAME as CONTROL_CENTER_WINDOW_NAME } from "../control-center";
-export const Launcher = () => {
+type Props = {
+ icon: string;
+ windowName:
+ | typeof APP_LAUNCHER_WINDOW_NAME
+ | typeof CONTROL_CENTER_WINDOW_NAME;
+};
+
+export const Launcher = ({ icon, windowName }: Props) => {
return (
);
};