diff --git a/modules/home-manager/ags/.gitignore b/modules/home-manager/ags/.gitignore
deleted file mode 100644
index 298eb4d..0000000
--- a/modules/home-manager/ags/.gitignore
+++ /dev/null
@@ -1,2 +0,0 @@
-node_modules/
-@girs/
diff --git a/modules/home-manager/ags/app.ts b/modules/home-manager/ags/app.ts
deleted file mode 100644
index 4b7ea48..0000000
--- a/modules/home-manager/ags/app.ts
+++ /dev/null
@@ -1,13 +0,0 @@
-import { App } from "astal/gtk3"
-import style from "./style.scss"
-import Bar from "./widget/Bar"
-
-App.start({
- css: style,
- instanceName: "js",
- requestHandler(request, res) {
- print(request)
- res("ok")
- },
- main: () => App.get_monitors().map(Bar),
-})
diff --git a/modules/home-manager/ags/env.d.ts b/modules/home-manager/ags/env.d.ts
deleted file mode 100644
index 467c0a4..0000000
--- a/modules/home-manager/ags/env.d.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-declare const SRC: string
-
-declare module "inline:*" {
- const content: string
- export default content
-}
-
-declare module "*.scss" {
- const content: string
- export default content
-}
-
-declare module "*.blp" {
- const content: string
- export default content
-}
-
-declare module "*.css" {
- const content: string
- export default content
-}
diff --git a/modules/home-manager/ags/package.json b/modules/home-manager/ags/package.json
deleted file mode 100644
index 1ef7136..0000000
--- a/modules/home-manager/ags/package.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
- "name": "astal-shell",
- "dependencies": {
- "astal": "/home/crony/.local/share/ags"
- }
-}
diff --git a/modules/home-manager/ags/style.scss b/modules/home-manager/ags/style.scss
deleted file mode 100644
index cae33ca..0000000
--- a/modules/home-manager/ags/style.scss
+++ /dev/null
@@ -1,98 +0,0 @@
-@use "sass:color";
-
-$bg: #282828;
-$fg: #ebdbb2;
-$accent: #83a598;
-$radius: 7px;
-
-window.Bar {
- border: none;
- box-shadow: none;
- background-color: $bg;
- color: $fg;
- font-size: 1em;
- font-weight: bold;
-
- label {
- margin: 0 8px;
- }
-
- .Workspaces {
- button {
- all: unset;
- background-color: transparent;
-
- &:hover label {
- background-color: color.adjust($fg, $alpha: -0.84);
- border-color: color.adjust($accent, $alpha: -0.8);
- }
-
- &:active label {
- background-color: color.adjust($fg, $alpha: -0.8)
- }
- }
-
- label {
- transition: 200ms;
- padding: 0 8px;
- margin: 2px;
- border-radius: $radius;
- border: 1pt solid transparent;
- }
-
- .focused label {
- color: $accent;
- border-bottom: 2px solid;
- }
- }
-
- .SysTray {
- margin-right: 8px;
-
- button {
- padding: 0 4px;
- }
- }
-
- .FocusedClient {
- color: $accent;
- }
-
- .Battery label {
- padding-left: 0;
- margin-left: 0;
- }
-
- .AudioSlider {
- * {
- all: unset;
- }
-
- icon {
- margin-right: .6em;
- }
-
- & {
- margin: 0 1em;
- }
-
- trough {
- background-color: color.adjust($fg, $alpha: -0.8);
- border-radius: $radius;
- }
-
- highlight {
- background-color: $accent;
- min-height: .8em;
- border-radius: $radius;
- }
-
- slider {
- background-color: $fg;
- border-radius: $radius;
- min-height: 1em;
- min-width: 1em;
- margin: -.2em;
- }
- }
-}
diff --git a/modules/home-manager/ags/tsconfig.json b/modules/home-manager/ags/tsconfig.json
deleted file mode 100644
index 9471e35..0000000
--- a/modules/home-manager/ags/tsconfig.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://json.schemastore.org/tsconfig",
- "compilerOptions": {
- "experimentalDecorators": true,
- "strict": true,
- "target": "ES2022",
- "module": "ES2022",
- "moduleResolution": "Bundler",
- // "checkJs": true,
- // "allowJs": true,
- "jsx": "react-jsx",
- "jsxImportSource": "astal/gtk3",
- }
-}
diff --git a/modules/home-manager/ags/widget/Bar.tsx b/modules/home-manager/ags/widget/Bar.tsx
deleted file mode 100644
index 9bc098a..0000000
--- a/modules/home-manager/ags/widget/Bar.tsx
+++ /dev/null
@@ -1,133 +0,0 @@
-import { App } from "astal/gtk3"
-import { Variable, GLib, bind } from "astal"
-import { Astal, Gtk, Gdk } from "astal/gtk3"
-import Hyprland from "gi://AstalHyprland"
-import Battery from "gi://AstalBattery"
-import Wp from "gi://AstalWp"
-import Network from "gi://AstalNetwork"
-import Tray from "gi://AstalTray"
-
-function SysTray() {
- const tray = Tray.get_default()
-
- return
- {bind(tray, "items").as(items => items.map(item => (
- ["dbusmenu", ag])}
- menuModel={bind(item, "menuModel")}>
-
-
- )))}
-
-}
-
-function Wifi() {
- const network = Network.get_default()
- const wifi = bind(network, "wifi")
-
- return
- {wifi.as(wifi => wifi && (
-
- ))}
-
-
-}
-
-function AudioSlider() {
- const speaker = Wp.get_default()?.audio.defaultSpeaker!
-
- return
-
- speaker.volume = value}
- value={bind(speaker, "volume")}
- />
-
-}
-
-function BatteryLevel() {
- const bat = Battery.get_default()
-
- return
-
-
-}
-
-function Workspaces() {
- const hypr = Hyprland.get_default()
-
- return
- {bind(hypr, "workspaces").as(wss => wss
- .filter(ws => !(ws.id >= -99 && ws.id <= -2)) // filter out special workspaces
- .sort((a, b) => a.id - b.id)
- .map(ws => (
-
- ))
- )}
-
-}
-
-function FocusedClient() {
- const hypr = Hyprland.get_default()
- const focused = bind(hypr, "focusedClient")
-
- return
- {focused.as(client => (
- client &&
- ))}
-
-}
-
-function Time({ format = "%d.%m %H:%M" }) {
- const time = Variable("").poll(1000, () =>
- GLib.DateTime.new_now_local().format(format)!)
-
- return