Merge pull request #3887 from torstehu/fix-typo

Fix typos in function, variable names and in documentation
This commit is contained in:
Alexis Rouillard
2025-06-22 08:39:23 +01:00
committed by GitHub
17 changed files with 31 additions and 31 deletions

View File

@@ -45,7 +45,7 @@ waybar::modules::Temperature::Temperature(const std::string& id, const Json::Val
file_path_ = fmt::format("/sys/class/thermal/thermal_zone{}/temp", zone);
}
// check if file_path_ can be used to retrive the temperature
// check if file_path_ can be used to retrieve the temperature
std::ifstream temp(file_path_);
if (!temp.is_open()) {
throw std::runtime_error("Can't open " + file_path_);