Skip to content

Usage with i3status rust

Saweet edited this page Dec 17, 2021 · 3 revisions

i3-volume can be used with i3status-rust as a custom block. The following is a sample configuration section for your ~/.config/i3status-rust/config.toml:

[[block]]
block = "custom"
command = "~/i3-volume/volume output \"%i %v %p\n\""
on_click = "~/i3-volume/volume mute"
signal = 10

If using one of the example keybinding configs in the Installation instructions, in your ~/.config/i3/config:

set $statuscmd i3status-rs
set $statussig SIGRTMIN+10

NOTE $statuscmd is the name of the statusbar executable, NOT the path to it. i3-volume uses pkill to send signals to the process using this name.

Clone this wiki locally