aboutsummaryrefslogtreecommitdiff
path: root/ags/config.js
diff options
context:
space:
mode:
authormirenn <me@mirenn.dev>2024-10-10 21:20:25 +0200
committermirenn <me@mirenn.dev>2024-10-10 21:20:25 +0200
commitc32b64da7ca19c26d328974a8a024948ae58b0a5 (patch)
treeeddc9bb0d6bce7be3926aede6803dc975397efeb /ags/config.js
parent6bc9381fda044a8177d2b4fe527edb02f0df947f (diff)
downloaddotfiles-c32b64da7ca19c26d328974a8a024948ae58b0a5.tar.gz
dotfiles-c32b64da7ca19c26d328974a8a024948ae58b0a5.zip
nvim config changes
deleted nvim-notify modified noice configuration
Diffstat (limited to 'ags/config.js')
-rw-r--r--ags/config.js15
1 files changed, 15 insertions, 0 deletions
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()] })
+