Compare commits

..

No commits in common. "9afe3f0e6737bdda0ee47e85193748043dc639b3" and "513f6a99f5d2f6ac3c327dfcf50405efe4a69542" have entirely different histories.

2 changed files with 3 additions and 4 deletions

View file

@ -1,6 +1,7 @@
# Sybar # Sybar
*Shut your bitch ass (ba)r (very funny name)* 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.
WIP
## Usage ## Usage
``` ```

View file

@ -1,6 +1,5 @@
#include <iostream> #include <iostream>
#include <ctime> #include <ctime>
#include <unistd.h>
int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
while (true) { while (true) {
@ -10,6 +9,5 @@ int main(int argc, char* argv[]) {
char options[128]; char options[128];
strftime(output, 50, argv[1], &datetime); strftime(output, 50, argv[1], &datetime);
std::cout << output << std::endl; std::cout << output << std::endl;
std::sleep(0.1)
} }
} }