Hypr/src/utilities/Util.hpp

14 lines
385 B
C++
Raw Normal View History

2021-11-21 13:11:51 +01:00
#pragma once
#include "../defines.hpp"
2021-11-21 18:34:20 +01:00
#include <fstream>
2021-11-21 13:11:51 +01:00
std::string exec(const char* cmd);
2021-11-21 18:34:20 +01:00
void clearLogs();
void emptyEvent(xcb_drawable_t window = 0);
void wakeUpEvent(xcb_drawable_t window);
bool xcbContainsAtom(xcb_get_property_reply_t* PROP, xcb_atom_t ATOM);
2021-11-27 19:07:33 +01:00
double parabolic(double from, double to, double incline);
std::vector<std::string> splitString(std::string, char);