From e499df7c3e102c207b96943306950983e09ee1fe Mon Sep 17 00:00:00 2001 From: "eric.marin" Date: Thu, 10 Oct 2024 21:20:25 +0200 Subject: nvim config changes deleted nvim-notify modified noice configuration --- ags/config.js | 15 +++++++++++++++ ags/config.ts | 5 ----- ags/tsconfig.json | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) create mode 100644 ags/config.js delete mode 100644 ags/config.ts (limited to 'ags') diff --git a/ags/config.js b/ags/config.js new file mode 100644 index 0000000..c31e44d --- /dev/null +++ b/ags/config.js @@ -0,0 +1,15 @@ +const { speaker } = await Service.import("audio") + +const child = Widget.Slider({ + value: speaker.bind("volume"), + onChange: ({ value }) => speaker.volume = value, +}) + +const Bar = () => Widget.Window({ + name: 'bar', + anchor: ['top', 'left', 'right'], + child: child, +}) + +App.config({ windows: [Bar()] }) + diff --git a/ags/config.ts b/ags/config.ts deleted file mode 100644 index e3b989c..0000000 --- a/ags/config.ts +++ /dev/null @@ -1,5 +0,0 @@ -App.config({ - windows: [ - - ] -}) diff --git a/ags/tsconfig.json b/ags/tsconfig.json index f03f2d1..6860767 100644 --- a/ags/tsconfig.json +++ b/ags/tsconfig.json @@ -15,4 +15,4 @@ ], "skipLibCheck": true } -} \ No newline at end of file +} -- cgit v1.2.3