hyprpm: move to system directories for storing plugins (#10211)

This commit is contained in:
Vaxry
2025-05-01 18:00:26 +02:00
committed by GitHub
parent b5ef049ea1
commit 858c0e26d1
11 changed files with 278 additions and 74 deletions

View File

@@ -0,0 +1,12 @@
#pragma once
#include <string>
namespace NSys {
bool isSuperuser();
int getUID();
int getEUID();
std::string runAsSuperuser(const std::string& cmd);
void cacheSudo();
void dropSudo();
};