Skip to content

Commit

Permalink
Updated package name
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikReider committed Aug 29, 2021
1 parent 9e63d20 commit 329c442
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 5 deletions.
26 changes: 25 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,25 @@
# audioListener
# SwayAudioIdleInhibit

Prevents swayidle from sleeping while any application is outputting or
receiving audio

This only works for pulseaudio / pipewire-pulse

## Install

<!-- Arch: -->
<!-- The package is available on the [AUR]() -->

Other:

```zsh
meson build
ninja -C build
meson install -C build
```

## Run

```zsh
./build/swayAudioIdleInhibit
```
7 changes: 3 additions & 4 deletions meson.build
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
project(
'AudioListener',
'SwayAudioIdleInhibit',
'c', 'cpp',
default_options: ['warning_level=3'],
default_options: ['warning_level=2'],
)


wayland_protos = dependency('wayland-protocols')
wayland_client = dependency('wayland-client', version: '>=1.14.91')

Expand Down Expand Up @@ -37,7 +36,7 @@ client_protos = declare_dependency(
)

executable(
'audioListener',
'swayAudioIdleInhibit',
[
'./src/main.cpp',
'./src/idle.cpp',
Expand Down

0 comments on commit 329c442

Please sign in to comment.