From 329c442663e7f377e8d479b5666d455f87b96128 Mon Sep 17 00:00:00 2001 From: Erik Reider Date: Sun, 29 Aug 2021 22:43:03 +0200 Subject: [PATCH] Updated package name --- README.md | 26 +++++++++++++++++++++++++- meson.build | 7 +++---- 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 81d29f8..72154a7 100644 --- a/README.md +++ b/README.md @@ -1 +1,25 @@ -# audioListener \ No newline at end of file +# SwayAudioIdleInhibit + +Prevents swayidle from sleeping while any application is outputting or +receiving audio + +This only works for pulseaudio / pipewire-pulse + +## Install + + + + +Other: + +```zsh +meson build +ninja -C build +meson install -C build +``` + +## Run + +```zsh +./build/swayAudioIdleInhibit +``` diff --git a/meson.build b/meson.build index cc08453..1530a98 100644 --- a/meson.build +++ b/meson.build @@ -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') @@ -37,7 +36,7 @@ client_protos = declare_dependency( ) executable( - 'audioListener', + 'swayAudioIdleInhibit', [ './src/main.cpp', './src/idle.cpp',