summaryrefslogtreecommitdiff
path: root/bin/efa
diff options
context:
space:
mode:
Diffstat (limited to 'bin/efa')
-rwxr-xr-xbin/efa12
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/efa b/bin/efa
index 5840068..5675d1c 100755
--- a/bin/efa
+++ b/bin/efa
@@ -228,6 +228,18 @@ sub display_connection {
}
}
+ if ( $c->occupancy ) {
+ if ( $c->occupancy == 1 ) {
+ say "# geringe Auslastung";
+ }
+ elsif ( $c->occupancy == 2 ) {
+ say "# hohe Auslastung";
+ }
+ elsif ( $c->occupancy == 3 ) {
+ say "# sehr hohe Auslastung";
+ }
+ }
+
for my $notice ( $c->current_notes ) {
if ( $notice->subtitle ne $notice->subject ) {
printf( "# %s - %s\n", $notice->subtitle, $notice->subject );