parent
208fd2afa5
commit
d3a8ccbeac
2 changed files with 3 additions and 0 deletions
|
@ -72,6 +72,7 @@ struct Options
|
||||||
std::string get_geom()
|
std::string get_geom()
|
||||||
{
|
{
|
||||||
std::stringstream ss;
|
std::stringstream ss;
|
||||||
|
ss.imbue(std::locale::classic());
|
||||||
ss << this->width << "x" << this->height << "+";
|
ss << this->width << "x" << this->height << "+";
|
||||||
ss << this->offset_x << "+" << this->offset_y;
|
ss << this->offset_x << "+" << this->offset_y;
|
||||||
return ss.str();
|
return ss.str();
|
||||||
|
|
|
@ -237,6 +237,8 @@ std::string Bar::get_exec_line()
|
||||||
{
|
{
|
||||||
std::stringstream buffer;
|
std::stringstream buffer;
|
||||||
|
|
||||||
|
buffer.imbue(std::locale::classic());
|
||||||
|
|
||||||
buffer << "lemonbar -p";
|
buffer << "lemonbar -p";
|
||||||
if (!this->opts->wm_name.empty())
|
if (!this->opts->wm_name.empty())
|
||||||
buffer << " -n " << this->opts->wm_name;
|
buffer << " -n " << this->opts->wm_name;
|
||||||
|
|
Loading…
Reference in a new issue