First of all, you need to have AwesomeWM installed and running.
I'm using awesome-git
, the development release.
I'm not sure whether this would work on the stable release.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// sinloop.c | |
// Compile with '-lm' | |
#include <stdio.h> | |
#include <unistd.h> | |
#include <stdbool.h> | |
#include <math.h> | |
#include <sys/ioctl.h> | |
#define WIDTH wsize.ws_col |