From a57fb2fc6770110eb77cd7cbebd54d1e87f2c35c Mon Sep 17 00:00:00 2001 From: fzorb Date: Thu, 8 May 2025 20:32:47 +0300 Subject: [PATCH 1/2] edit readme to tell scope of program --- readme.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/readme.md b/readme.md index 257967f..827b69b 100644 --- a/readme.md +++ b/readme.md @@ -1,7 +1,6 @@ # Sybar -Shut your bitch ass (ba)r (very funny name) - -WIP +*Shut your bitch ass (ba)r (very funny name)* +sybar is a CC0-licensed program which outputs the time and date however you want. Mainly made to use with dwm. ## Usage ``` From 9afe3f0e6737bdda0ee47e85193748043dc639b3 Mon Sep 17 00:00:00 2001 From: fzorb Date: Thu, 8 May 2025 20:35:33 +0300 Subject: [PATCH 2/2] add 0.1 delay to output --- src/main.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main.cpp b/src/main.cpp index c4d991a..5022d40 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,5 +1,6 @@ #include #include +#include int main(int argc, char* argv[]) { while (true) { @@ -9,5 +10,6 @@ int main(int argc, char* argv[]) { char options[128]; strftime(output, 50, argv[1], &datetime); std::cout << output << std::endl; + std::sleep(0.1) } }