Compare commits

...

2 commits

Author SHA1 Message Date
9afe3f0e67 add 0.1 delay to output 2025-05-08 20:35:33 +03:00
a57fb2fc67 edit readme to tell scope of program 2025-05-08 20:32:47 +03:00
2 changed files with 4 additions and 3 deletions

View file

@ -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
```

View file

@ -1,5 +1,6 @@
#include <iostream>
#include <ctime>
#include <unistd.h>
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)
}
}