Skip to content

monitoring widgets #53

@dexterlb

Description

@dexterlb

video device monitoring

Currently we expose the "interesting" video devices as symlinks under /dev/video-<name>. Thus, I can do this:

human@lamya ~ % ls /dev/video-*
/dev/video-audience  /dev/video-closeup  /dev/video-lecturer  /dev/video-overview

Write a widget for waybar that displays which of those exist, polling their existence every second. Maybe display the first 3 letters of each, e.g. something like poll the result of the following command and show it in the bar:

human@lamya ~ % find /dev -maxdepth 1 -name 'video-*' -printf '%f\n' | cut -d - -f 2 | cut -c1-3 | tr '\n' ' '
clo aud lec ove

recording storage monitoring

Recording storage is automounted at /mnt/rec_storage (see #54). We need a widget that displays the free space (in gb) in that dir, or a big red warning if the dir is not mounted to an actual device.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions