aboutsummaryrefslogtreecommitdiff
path: root/libLumina/LuminaOS-Linux.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libLumina/LuminaOS-Linux.cpp')
-rw-r--r--libLumina/LuminaOS-Linux.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/libLumina/LuminaOS-Linux.cpp b/libLumina/LuminaOS-Linux.cpp
index b7bb3685..af8c740f 100644
--- a/libLumina/LuminaOS-Linux.cpp
+++ b/libLumina/LuminaOS-Linux.cpp
@@ -114,6 +114,11 @@ void LOS::startMixerUtility(){
QProcess::startDetached("/usr/bin/pavucontrol");
}
+//Check for user system permission (shutdown/restart)
+bool LOS::userHasShutdownAccess(){
+ return true; //not implemented yet
+}
+
//System Shutdown
void LOS::systemShutdown(){ //start poweroff sequence
QProcess::startDetached("shutdown -h now");
bgstack15