Waybar/include/util/prepare_for_sleep.h

10 lines
218 B
C
Raw Permalink Normal View History

#pragma once
#include "SafeSignal.hpp"
namespace waybar::util {
// Get a signal emited with value true when entering sleep, and false when exiting
SafeSignal<bool>& prepare_for_sleep();
} // namespace waybar::util