#include "color.h"
#include "config.h"
#include <algorithm>
#include <cctype>
#include <cerrno>
#include <cstring>
#include <filesystem>
#include <fstream>
#include <functional>
#include <iostream>
#include <map>
#include <mutex>
#include <ostream>
#include <sstream>
#include <stdexcept>
#include <string.h>
#include <string>
#include <sys/errno.h>
#include <sys/wait.h>
#include <thread>
#include <unistd.h>
#include <vector>
Go to the source code of this file.
|
enum class | Mode { NORMAL
, SHOW_VERSION
} |
|
◆ CpuTempCheck()
- Returns
- checks for CPUtemp file
◆ getCPU()
string getCPU |
( |
string |
path | ) |
|
- Returns
- gets CPU info
- Parameters
-
◆ getCPUtemp()
int getCPUtemp |
( |
string |
path | ) |
|
- Returns
- gets CPU temp
- Parameters
-
◆ getDE()
- Returns
- gets the Desktop Environment
◆ getGPU()
vector<string> getGPU |
( |
| ) |
|
- Returns
- gets vendor of Internal and External GPU
◆ getHardwarePlatform()
string getHardwarePlatform |
( |
| ) |
|
- Returns
- gets HardWare Platform
◆ getHost()
string getHost |
( |
string |
path | ) |
|
- Returns
- gets Host
- Parameters
-
◆ gethostname()
string gethostname |
( |
string |
path | ) |
|
- Returns
- gets the hostname
- Parameters
-
◆ getIcons()
- Returns
- gets current Icon info
◆ getKernel()
string getKernel |
( |
string |
path | ) |
|
- Returns
- gets kernel
- Parameters
-
◆ getOS()
string getOS |
( |
string |
path | ) |
|
- Returns
- gets name of Operating System
- Parameters
-
◆ getPackages()
- Returns
- gets count of all packages installed
◆ getRAM()
string getRAM |
( |
string |
path | ) |
|
- Returns
- gets RAM usage details
- Parameters
-
◆ getRES()
string getRES |
( |
string |
path | ) |
|
- Returns
- gets current Screen Resolution
- Parameters
-
◆ getSHELL()
string getSHELL |
( |
string |
path | ) |
|
- Returns
- gets type of shell
- Parameters
-
◆ getTheme()
- Returns
- gets current Theme info
◆ getUpTime()
string getUpTime |
( |
string |
path | ) |
|
- Returns
- get Uptime
- Parameters
-
◆ getuser()
- Returns
- gets the username
- Exceptions
-
runtime_error | failed to get username |
◆ print()
void print |
( |
string |
color_name, |
|
|
string |
distro_name |
|
) |
| |
Utility to print ascii art of Distro
- Parameters
-
◆ printBattery()
void printBattery |
( |
string |
path | ) |
|
- Returns
- prints battery percentage bar
- Parameters
-
◆ resCheck()
- Returns
- checks for Resolution file