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 ``` 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) } }