2016-11-02 19:22:45 +00:00
|
|
|
#include "x11/xresources.hpp"
|
|
|
|
|
2023-02-13 20:51:18 +00:00
|
|
|
#include "common.hpp"
|
|
|
|
|
2016-11-19 05:22:44 +00:00
|
|
|
POLYBAR_NS
|
2016-11-02 19:22:45 +00:00
|
|
|
|
2017-01-20 01:25:54 +00:00
|
|
|
template <>
|
|
|
|
string xresource_manager::convert(string&& value) const {
|
|
|
|
return forward<string>(value);
|
2016-11-02 19:22:45 +00:00
|
|
|
}
|
|
|
|
|
2017-01-20 01:25:54 +00:00
|
|
|
template <>
|
|
|
|
double xresource_manager::convert(string&& value) const {
|
|
|
|
return std::strtod(value.c_str(), nullptr);
|
2016-11-02 19:22:45 +00:00
|
|
|
}
|
|
|
|
|
2016-11-19 05:22:44 +00:00
|
|
|
POLYBAR_NS_END
|