Skip to content

Commit

Permalink
core: enforce en_US language in cmds
Browse files Browse the repository at this point in the history
ref #9
  • Loading branch information
vaxerski committed Oct 16, 2024
1 parent dc474b0 commit 2104e35
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/SystemInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,13 @@
#include <sys/utsname.h>
#include <hyprutils/string/VarList.hpp>
#include <hyprutils/string/String.hpp>
#include <cstdlib>

using namespace Hyprutils::String;

CSystemInternals::CSystemInternals(QObject* parent) : QObject(parent) {
setenv("LANG", "en_US.UTF-8", true);

// gather data from os-release
if (auto data = readFile("/etc/os-release")) {
CVarList lines(data.value(), 0, '\n');
Expand Down

0 comments on commit 2104e35

Please sign in to comment.