#!/bin/bash

if eww active-windows | grep bar; then
  eww close bar
else
  eww open bar
fi
