mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-14 11:35:46 -07:00
config: Add More Monitor 'Auto' Positions. (#5670)
* Reverse Window Positioning. * Cleanup old comments and logs. * Finish Splitting Left and Right offset. * Forgot to add Auto Left to ConfigManager * Fix problems with auto_left. * Nearly finish up and down. * Finish draft of all four dirs. Testing now. * Change Y value in moveTo for up and down. * Format, comment, and cleanup. * Address Vaxry's feedback. * Add check to see if auto position is first rule. * Run clang-format.
This commit is contained in:
@@ -1258,8 +1258,8 @@ std::unordered_map<std::string, std::string> CWindow::getEnv() {
|
||||
std::unordered_map<std::string, std::string> results;
|
||||
|
||||
//
|
||||
std::string environFile = "/proc/" + std::to_string(PID) + "/environ";
|
||||
std::ifstream ifs(environFile, std::ios::binary);
|
||||
std::string environFile = "/proc/" + std::to_string(PID) + "/environ";
|
||||
std::ifstream ifs(environFile, std::ios::binary);
|
||||
|
||||
if (!ifs.good())
|
||||
return {};
|
||||
|
Reference in New Issue
Block a user