i3: Add microphone management to i3bar

This commit is contained in:
2020-03-31 16:23:42 +02:00
parent d87eca721d
commit 565f898189
2 changed files with 36 additions and 8 deletions

View File

@@ -19,7 +19,8 @@ general {
}
order += volume_status
order += "volume_status output"
order += "volume_status input"
order += spotify
order += "wifi"
order += "external_script presentation_mode"
@@ -73,7 +74,7 @@ online_status {
format = " {icon} "
}
volume_status {
volume_status output {
cache_timeout = 10
format = "  {percentage}% "
format_muted = "  mute "
@@ -81,3 +82,13 @@ volume_status {
command = "pactl"
color_muted = '#FFFFFF'
}
volume_status input {
cache_timeout = 10
format = "  active "
format_muted = "  mute "
thresholds = [(0, 'good'), (1, 'bad')]
command = "pactl"
color_muted = '#FFFFFF'
is_input = True
}