diff options
| author | eric.marin <maarin.eric@gmail.com> | 2024-10-10 21:20:25 +0200 |
|---|---|---|
| committer | eric.marin <maarin.eric@gmail.com> | 2024-10-10 21:20:25 +0200 |
| commit | e499df7c3e102c207b96943306950983e09ee1fe (patch) | |
| tree | eddc9bb0d6bce7be3926aede6803dc975397efeb /ags | |
| parent | 218815bae8ef1199004a3bc86608254849409401 (diff) | |
| download | dotfiles-e499df7c3e102c207b96943306950983e09ee1fe.tar.gz dotfiles-e499df7c3e102c207b96943306950983e09ee1fe.zip | |
nvim config changes
deleted nvim-notify
modified noice configuration
Diffstat (limited to 'ags')
| -rw-r--r-- | ags/config.js | 15 | ||||
| -rw-r--r-- | ags/config.ts | 5 | ||||
| -rw-r--r-- | ags/tsconfig.json | 2 |
3 files changed, 16 insertions, 6 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()] }) + 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 +} |
