volumectl/README.md

41 lines
1.3 KiB
Markdown
Raw Normal View History

2020-10-28 14:34:48 +01:00
# Volumectl
2021-09-19 15:10:39 +02:00
A small script that bundles volume control and dunst notification. Intended to be used either on command line or for keyboard shortcuts.
## Installation
### Dependencies
#### Dunst
2021-09-19 15:11:28 +02:00
Before installing and using this script, you will need to install the official
[dunst](https://wiki.archlinux.org/title/Dunst) package.
2021-09-19 15:10:39 +02:00
Make sure you have the `dunstify` command available, that's what is needed to
have a nice looking percentage bar.
#### Bash Ini Reader
In order to use a custom config file (which is optional, the script works
2021-09-19 15:35:26 +02:00
without it but it's useful if you want to customise it), you need to install
2021-09-19 15:11:28 +02:00
the [read_ini.sh](https://raw.githubusercontent.com/rudimeier/bash_ini_parser/master/read_ini.sh) script.
2021-09-19 15:10:39 +02:00
2021-09-19 15:35:26 +02:00
You can do it in two different ways downloading the script directly or cloning
the git repo (the script won't care which one you choose, it knows how to handle
both situations).
2021-09-19 15:10:39 +02:00
2021-09-19 15:35:26 +02:00
##### Cloning the git repo
```bash
git clone https://github.com/rudimeier/bash_ini_parser $HOME/.local/lib/bash_ini_parser
```
##### Downloading the script directly
2021-09-19 15:10:39 +02:00
```bash
mkdir -p $HOME/.local/lib
wget -O $HOME/.local/lib/read_ini.sh https://raw.githubusercontent.com/rudimeier/bash_ini_parser/master/read_ini.sh
chmod +x $HOME/.local/lib/read_ini.sh
```
2021-09-19 15:35:26 +02:00
### Installing volumectl
2020-10-28 14:34:48 +01:00