Giter Site home page Giter Site logo

avizo's Introduction

Avizo

Avizo is a simple notification daemon, mainly intended to be used for multimedia keys for example with Sway.

Screenshot of Avizo's volume notification

Configuration

Avizo can be configured using the configuration file and CLI options.

avizo-client looks for configuration file avizo/config.ini in the standard XDG directories XDG_CONFIG_HOME (defaults to ~/.config) and XDG_CONFIG_DIRS (defaults to /etc/xdg), in that order. The first found file is used. Missing configuration file is not an error.

The configuration file must be in INI format and should define keys in section named default. Names of the configuration keys correspond to the CLI options (e.g. block-height).

Any configuration key can be overridden by corresponding CLI option (i.e. CLI options take precedence).

Helper scripts

volumectl

Adjust the sound or mic volume and show Avizo notification.

Requirements:

  • POSIX-sh compatible shell (e.g. Busybox ash, dash, ZSH, bash, …)
  • common *nix userland (BSD, Busybox or GNU)
  • pamixer
  • pactl for the -p option (currently playing sink/source) if pamixer is older than 1.6

lightctl

Adjust (display) brightness and show Avizo notification.

Requirements:

  • POSIX-sh compatible shell (e.g. Busybox ash, dash, ZSH, bash, …)
  • common *nix userland (BSD, Busybox or GNU)
  • brightnessctl or light

Sway config

bindsym XF86AudioRaiseVolume exec volumectl -u up
bindsym XF86AudioLowerVolume exec volumectl -u down
bindsym XF86AudioMute exec volumectl toggle-mute
bindsym XF86AudioMicMute exec volumectl -m toggle-mute

bindsym XF86MonBrightnessUp exec lightctl up
bindsym XF86MonBrightnessDown exec lightctl down

exec "avizo-service"

Install

From package repository

Avizo is available in the following repositories:

Packaging status

Manually

meson build
ninja -C build install

You may want to specify the installation directory (the above default to /usr/local/bin). In such case you may use

meson -Dprefix=<your/installation/path> build
ninja -C build install

In some cases (like if you want to install the results to /usr/bin), the last command needs to be run with root privileges.

Arch User Repository

A package called avizo is also available in the Arch Linux User Repository.

avizo's People

Contributors

misterdanb avatar jirutka avatar sivecano avatar berbiche avatar blallo avatar zsolt-donca avatar baltevl avatar edgararaj avatar erikreider avatar kianmeng avatar arminius-smh avatar properlypurple avatar pinnouse avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.