Revert readme

This commit is contained in:
Jas Singh
2024-07-15 20:44:00 -07:00
parent 11785d1a5d
commit 3ff7b1fd9b
2 changed files with 22 additions and 15 deletions

View File

@@ -1,15 +1,23 @@
Requirements:
# Starter Config Bun (may require sudo)
```sh
if suggestions don't work, first make sure curl -fsSL https://bun.sh/install | bash && \
you have TypeScript LSP working in your editor ln -s $HOME/.bun/bin/bun /usr/local/bin/bun
if you do not want typechecking only suggestions
```json
// tsconfig.json
"checkJs": false
``` ```
types are symlinked to: ```
/usr/share/com.github.Aylur.ags/types pipewire
bluez
bluez-utils
grimblast
gpu-screen-recorder
hyprpicker
btop
nmcli
networkmanager
dart-sass
brightnessctl
python
python-gpustat
```

View File

@@ -31,7 +31,6 @@ const widget = {
bluetooth: () => WidgetContainer(Bluetooth()), bluetooth: () => WidgetContainer(Bluetooth()),
clock: () => WidgetContainer(Clock()), clock: () => WidgetContainer(Clock()),
systray: () => WidgetContainer(SysTray()), systray: () => WidgetContainer(SysTray()),
// expander: () => Widget.Box({ expand: true }),
}; };
export const Bar = (monitor: number) => { export const Bar = (monitor: number) => {
@@ -51,7 +50,7 @@ export const Bar = (monitor: number) => {
setup: self => { setup: self => {
self.children = start.value.map(w => widget[w](monitor)); self.children = start.value.map(w => widget[w](monitor));
self.hook(start, (self) => { self.hook(start, (self) => {
self.children = start.value.map(w => widget[w](monitor)); self.children = start.value.map(w => widget[w](monitor));
}) })
}, },
}), }),