diff --git a/README.md b/README.md
new file mode 100644
index 0000000..2f2df22
--- /dev/null
+++ b/README.md
@@ -0,0 +1,6 @@
+# Hypr!Lazer
+
+An AGSv2 config that aims to replicate the design language of osu!lazer.
+
+### Power
+![assets/screensohts/power.png]
diff --git a/app.ts b/app.ts
index 4daffe8..864a99d 100644
--- a/app.ts
+++ b/app.ts
@@ -2,13 +2,27 @@ import { App } from "astal/gtk3"
import style from "./style.scss"
import Bar from "./widget/Bar"
import Hyprland from "gi://AstalHyprland"
+import launcher from "./widget/launcher"
const hyprland = Hyprland.get_default()
App.start({
css: style,
- icons: "/home/protoshark/.config/ags/assets/",
- main() {
- hyprland.monitors.map((monitor) => Bar(monitor))
+ icons: "/home/spingus/.config/ags/assets/",
+ requestHandler: (request: string, res: (response: any) => void) => {
+ if (request === "launch") {
+ if (launcher()) {
+ res("Opening launcher")
+ } else {
+ res("Closing launcher")
+ }
+ return
+ }
+ res("Unknown command")
+ },
+ main: () => {
+ hyprland.monitors.map((mon) => {
+ Bar(mon)
+ })
},
})
diff --git a/assets/archlinux.png b/assets/archlinux.png
new file mode 100644
index 0000000..3c5fb38
Binary files /dev/null and b/assets/archlinux.png differ
diff --git a/assets/archlinux.svg b/assets/archlinux.svg
new file mode 100644
index 0000000..db54283
--- /dev/null
+++ b/assets/archlinux.svg
@@ -0,0 +1,9 @@
+
diff --git a/assets/lock-symbolic.svg b/assets/lock-symbolic.svg
deleted file mode 100644
index b0a2853..0000000
--- a/assets/lock-symbolic.svg
+++ /dev/null
@@ -1,7 +0,0 @@
-
-
-
\ No newline at end of file
diff --git a/assets/screenshots/battery.png b/assets/screenshots/battery.png
new file mode 100644
index 0000000..25fdcda
Binary files /dev/null and b/assets/screenshots/battery.png differ
diff --git a/assets/screenshots/bluetooth.png b/assets/screenshots/bluetooth.png
new file mode 100644
index 0000000..9a4b63a
Binary files /dev/null and b/assets/screenshots/bluetooth.png differ
diff --git a/assets/screenshots/brightness.png b/assets/screenshots/brightness.png
new file mode 100644
index 0000000..6b91274
Binary files /dev/null and b/assets/screenshots/brightness.png differ
diff --git a/assets/screenshots/media.png b/assets/screenshots/media.png
new file mode 100644
index 0000000..53761a4
Binary files /dev/null and b/assets/screenshots/media.png differ
diff --git a/assets/screenshots/notification.png b/assets/screenshots/notification.png
new file mode 100644
index 0000000..6eb6fdb
Binary files /dev/null and b/assets/screenshots/notification.png differ
diff --git a/assets/screenshots/notifications.png b/assets/screenshots/notifications.png
new file mode 100644
index 0000000..15ef75e
Binary files /dev/null and b/assets/screenshots/notifications.png differ
diff --git a/assets/screenshots/power.png b/assets/screenshots/power.png
new file mode 100644
index 0000000..7263cf8
Binary files /dev/null and b/assets/screenshots/power.png differ
diff --git a/assets/screenshots/volume.png b/assets/screenshots/volume.png
new file mode 100644
index 0000000..843cb59
Binary files /dev/null and b/assets/screenshots/volume.png differ
diff --git a/assets/screenshots/workspaces.png b/assets/screenshots/workspaces.png
new file mode 100644
index 0000000..331f408
Binary files /dev/null and b/assets/screenshots/workspaces.png differ
diff --git a/style.scss b/style.scss
index 4e85348..e03689b 100644
--- a/style.scss
+++ b/style.scss
@@ -327,9 +327,9 @@ button {
background: $background-3;
border-radius: 10px;
padding: 8px;
- box-shadow: 0 0 16px 4px black;
+ box-shadow: 0 0 10px 4px black;
min-width: 300px;
- margin: 12px 12px 40px 40px;
+ margin: 20px 20px 20px 40px;
}
.notifIcon {
diff --git a/widget/Bar.tsx b/widget/Bar.tsx
index 8d72052..771c44d 100644
--- a/widget/Bar.tsx
+++ b/widget/Bar.tsx
@@ -37,7 +37,6 @@ export default function Bar(monitor: Hyprland.Monitor) {
{workspaces(monitor)}
{player()}
- {client()}