mirror of
https://github.com/scorpion-26/gBar.git
synced 2024-10-06 12:36:48 +00:00
20 lines
643 B
C
20 lines
643 B
C
|
#pragma once
|
||
|
#include <string>
|
||
|
#include <vector>
|
||
|
|
||
|
class Config
|
||
|
{
|
||
|
public:
|
||
|
std::string cpuThermalZone = ""; // idk, no standard way of doing this.
|
||
|
std::string suspendCommand = "systemctl suspend";
|
||
|
std::string lockCommand = ""; // idk, no standard way of doing this.
|
||
|
std::string exitCommand = ""; // idk, no standard way of doing this.
|
||
|
std::string batteryFolder = ""; // this can be BAT0, BAT1, etc. Usually in /sys/class/power_supply
|
||
|
std::vector<std::string> workspaceSymbols = std::vector<std::string>(9, "");
|
||
|
std::string defaultWorkspaceSymbol = "";
|
||
|
|
||
|
|
||
|
static void Load();
|
||
|
static const Config& Get();
|
||
|
};
|