mirror of
https://github.com/rad4day/Waybar.git
synced 2023-12-21 10:22:59 +01:00
10 lines
218 B
C
10 lines
218 B
C
|
#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
|