aboutsummaryrefslogtreecommitdiff
path: root/ags/app.ts
diff options
context:
space:
mode:
authoreric.marin <maarin.eric@gmail.com>2025-03-10 18:15:17 +0100
committereric.marin <maarin.eric@gmail.com>2025-03-10 18:16:27 +0100
commit48fc6ff3424acbb41633258bf1512b797a0ad8c1 (patch)
tree856f2b509c7bdb6b3e06b487ae85503ffeab027d /ags/app.ts
parentf4d45b1821ffd69361d0266247535e95c8552f1b (diff)
downloaddotfiles-48fc6ff3424acbb41633258bf1512b797a0ad8c1.tar.gz
dotfiles-48fc6ff3424acbb41633258bf1512b797a0ad8c1.zip
clean up
Diffstat (limited to 'ags/app.ts')
-rw-r--r--ags/app.ts28
1 files changed, 0 insertions, 28 deletions
diff --git a/ags/app.ts b/ags/app.ts
deleted file mode 100644
index b485250..0000000
--- a/ags/app.ts
+++ /dev/null
@@ -1,28 +0,0 @@
-import { App } from "astal/gtk3"
-import { exec } from "astal/process"
-
-import Bar from "./widget/Bar"
-
-function updateStyle() {
- App.reset_css()
- exec(`sass ./style.scss /tmp/style.css`)
- App.apply_css("/tmp/style.css")
-}
-
-App.start({
- requestHandler(request, res) {
- switch (request) {
- case "reload":
- updateStyle()
- res("style reloaded")
- break;
- default:
- res("unknown command")
- break;
- }
- },
- main() {
- updateStyle()
- App.get_monitors().map(Bar)
- },
-})