Compare commits
2 commits
513f6a99f5
...
9afe3f0e67
Author | SHA1 | Date | |
---|---|---|---|
9afe3f0e67 | |||
a57fb2fc67 |
2 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,6 @@
|
||||||
# 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
|
||||||
```
|
```
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
#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) {
|
||||||
|
@ -9,5 +10,6 @@ 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)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue