Module i3status_rs::blocks::privacy

source ·
Expand description

Privacy Monitor

§Configuration

KeyValuesDefault
driverThe configuration of a driver (see below).Required
formatFormat string."{ $icon_audio |}{ $icon_audio_sink |}{ $icon_video |}{ $icon_webcam |}{ $icon_unknown |}"
format_altFormat string."{ $icon_audio $info_audio |}{ $icon_audio_sink $info_audio_sink |}{ $icon_video $info_video |}{ $icon_webcam $info_webcam |}{ $icon_unknown $info_unknown |}"

§pipewire Options (requires the pipewire feature to be enabled)

KeyValuesRequiredDefault
namepipewireYesNone
exclude_outputAn output node to ignore, example: ["HD Pro Webcam C920"]No[]
exclude_inputAn input node to ignore, example: ["openrgb"]No[]
displayWhich node field should be used as a display name, options: name, description, nicknameNoname

§vl4 Options

KeyValuesRequiredDefault
namevl4YesNone
exclude_deviceA device to ignore, example: ["/dev/video5"]No[]
exclude_consumerProcesses to ignoreNo["pipewire", "wireplumber"]

§Available Format Keys

PlaceholderValueTypeUnit
icon_{audio,audio_sink,video,webcam,unknown}A static iconIcon-
info_{audio,audio_sink,video,webcam,unknown}The mapping of which source are being consumedText-

You can use the suffixes noted above to get the following:

SuffixDescription
audioCaptured audio (ex. Mic)
audio_sinkAudio captured from a sink (ex. openrgb)
videoVideo capture (ex. screen capture)
webcamWebcam capture
unknownAnything else

§Available Actions

ActionDescriptionDefault button
toggle_formatToggles between format and format_altLeft

§Example

[[block]]
block = "privacy"
[[block.driver]]
name = "v4l"
[[block.driver]]
name = "pipewire"
exclude_input = ["openrgb"]
display = "nickname"

§Icons Used

  • microphone
  • volume
  • xrandr
  • webcam
  • unknown

Structs§

Enums§

Functions§