2016-06-15 05:32:35 +02:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include <memory>
|
|
|
|
#include <string>
|
2017-01-11 03:07:28 +01:00
|
|
|
#include <vector>
|
2017-01-11 05:10:51 +01:00
|
|
|
#include <functional>
|
2016-10-11 03:01:12 +02:00
|
|
|
|
2017-01-28 20:26:27 +01:00
|
|
|
#include "settings.hpp"
|
|
|
|
|
2016-11-19 06:22:44 +01:00
|
|
|
#define POLYBAR_NS \
|
2019-05-17 09:44:35 +02:00
|
|
|
namespace polybar {
|
2016-11-19 06:22:44 +01:00
|
|
|
#define POLYBAR_NS_END \
|
2016-06-15 05:32:35 +02:00
|
|
|
}
|
|
|
|
|
2016-11-20 23:04:31 +01:00
|
|
|
#ifndef PIPE_READ
|
2016-06-15 05:32:35 +02:00
|
|
|
#define PIPE_READ 0
|
2016-11-20 23:04:31 +01:00
|
|
|
#endif
|
|
|
|
#ifndef PIPE_WRITE
|
2016-06-15 05:32:35 +02:00
|
|
|
#define PIPE_WRITE 1
|
2016-11-20 23:04:31 +01:00
|
|
|
#endif
|
|
|
|
|
2016-11-19 06:22:44 +01:00
|
|
|
POLYBAR_NS
|
2016-06-15 05:32:35 +02:00
|
|
|
|
|
|
|
using std::string;
|
|
|
|
using std::size_t;
|
2016-10-25 07:10:03 +02:00
|
|
|
using std::move;
|
2016-06-15 05:32:35 +02:00
|
|
|
using std::forward;
|
2016-10-29 06:48:51 +02:00
|
|
|
using std::pair;
|
2016-06-15 05:32:35 +02:00
|
|
|
using std::function;
|
|
|
|
using std::shared_ptr;
|
|
|
|
using std::unique_ptr;
|
|
|
|
using std::make_unique;
|
|
|
|
using std::make_shared;
|
|
|
|
using std::make_pair;
|
|
|
|
using std::array;
|
|
|
|
using std::vector;
|
|
|
|
using std::to_string;
|
|
|
|
|
2016-12-30 23:32:05 +01:00
|
|
|
using namespace std::string_literals;
|
|
|
|
|
2016-12-21 23:22:02 +01:00
|
|
|
constexpr size_t operator"" _z(unsigned long long n) {
|
|
|
|
return n;
|
|
|
|
}
|
|
|
|
|
2016-11-19 06:22:44 +01:00
|
|
|
POLYBAR_NS_END
|