IPC and log changes, introduce signature

This commit is contained in:
vaxerski
2022-06-03 17:41:57 +02:00
parent 19b17b590c
commit 6f3b004199
8 changed files with 46 additions and 16 deletions

View File

@@ -19,6 +19,10 @@ int main(int argc, char** argv) {
ignoreSudo = true;
}
system("mkdir -p /tmp/hypr");
Debug::init();
if (!ignoreSudo) {
if (Init::isSudo()) {
Debug::log(CRIT, "Hyprland shall not be run as the root user. If you really want to, use the --i-am-really-stupid flag.");