Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikReider authored May 21, 2023
1 parent afd56f9 commit 42808a8
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,18 +54,23 @@ sway-audio-idle-inhibit --dry-print-sink
A custom waybar module can be used to display an icon when any application is
using your mic or playing any audio.

Add the follow section to your `~/.config/waybar/config` file and add
Add the following section to your `~/.config/waybar/config` file and add
`custom/audio_idle_inhibitor` to either the `modules-left`, `modules-center`
or `modules-right` list.

*Note: The FontAwesome font is used for the icons below*

```
"custom/audio_idle_inhibitor": {
"format": "{icon}",
"exec": "sway-audio-idle-inhibit --dry-print-both-waybar",
"exec-if": "which sway-audio-idle-inhibit",
"return-type": "json",
"format-icons": {
"output": "󰅶",
"none": "󰾪"
"output": "",
"input": "",
"output-input": " ",
"none": ""
}
},
```
Expand Down

0 comments on commit 42808a8

Please sign in to comment.