From b1e5cc66bdb20b002c93479490c3a317552210b3 Mon Sep 17 00:00:00 2001 From: Vaxry <43317083+vaxerski@users.noreply.github.com> Date: Fri, 6 Dec 2024 15:45:02 +0100 Subject: core: Add support for hyprqtutils' update screen (#8651) * Nix: add hyprland-qtutils to PATH * flake.lock: update --------- Co-authored-by: Mihai Fufezan --- src/helpers/MiscFunctions.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/helpers/MiscFunctions.hpp') diff --git a/src/helpers/MiscFunctions.hpp b/src/helpers/MiscFunctions.hpp index bb686df4..018efbed 100644 --- a/src/helpers/MiscFunctions.hpp +++ b/src/helpers/MiscFunctions.hpp @@ -42,6 +42,7 @@ bool envEnabled(const std::string& env); int allocateSHMFile(size_t len); bool allocateSHMFilePair(size_t size, int* rw_fd_ptr, int* ro_fd_ptr); float stringToPercentage(const std::string& VALUE, const float REL); +bool executableExistsInPath(const std::string& exe); template [[deprecated("use std::format instead")]] std::string getFormat(std::format_string fmt, Args&&... args) { -- cgit v1.2.3