initial commit

This commit is contained in:
klein panic
2024-09-29 02:33:35 -04:00
commit 681acbf5ce
16 changed files with 179 additions and 0 deletions

11
src/service_control.c Normal file
View File

@@ -0,0 +1,11 @@
#include <stdio.h>
#include <stdlib.h>
#include "service_control.h"
int disable_services() {
return system("nmcli radio wifi off && rfkill block bluetooth");
}
int enable_services() {
return system("nmcli radio wifi on && rfkill unblock bluetooth");
}