visualizations

Programmatic visualizations
git clone git://git.laack.co/visualizations.git
Log | Files | Refs | README

commit e9c21d3b4d42f9d82738b2fe5f3a15184fe3f4cd
parent fcb39074bd2b127c198ec9044b23ea7a1b343c61
Author: Andrew Laack <andrew@laack.co>
Date:   Tue, 15 Sep 2026 12:05:01 -0500

Cleaning up outputs

Diffstat:
Mbackground/src/main.cpp | 9+++++++++
1 file changed, 9 insertions(+), 0 deletions(-)

diff --git a/background/src/main.cpp b/background/src/main.cpp @@ -2,6 +2,7 @@ #include "../headers/prim.hpp" #include "../headers/background.hpp" #include <cstdlib> +#include <iostream> #include <unistd.h> #include <raylib.h> #include <ctime> @@ -19,6 +20,14 @@ void customTakeScreenshot(char* filePath){ int main() { + int result = std::system("feh --version > /dev/null"); + + if (result != 0 ) { + std::cout << "Feh not found on $PATH, exiting." << std::endl; + return -1; + } + + SetTraceLogLevel(LOG_ERROR); std::filesystem::create_directory("/dev/shm/bg"); srand(clock());