summaryrefslogtreecommitdiff
path: root/Makefile
AgeCommit message (Collapse)Author
2018-05-23Add keymap componentMichael Buch
Adding a new keymap component that will indicate the current keyboard layout (language) and variant if any was set. I use the standard X11 XKB APIs to retrieve and parse the xkb_symbols set with setxkbmap.
2018-05-22Add basic backlight percentage supportDavid Demelier
At the moment linux only, but will add support for OpenBSD as well.
2018-05-19Add network speed functionsAaron Marcher
2018-05-01Tweak build system a little bitLaslo Hunhold
Be consistent with brackets and add a comment for OpenBSD to make it clearer what the actual intent of the uncommented line is. In the Makefile, add a dependency of slstatus.o from config.mk.
2018-05-01Revert component-splitLaslo Hunhold
this reverts the commits from 92ab9ef52ebcb097add97d9f78e67ad1c1d6a6ec up to d42870d6ca7fb587b38f8cf6d6821ae33a53a696. After heavy consideration, the component split has more disadvantages than advantages, especially given there will be utility-functions sharing quite a lot of code that would then need to be duplicated, as it does not fit into the util.c due to its speciality. One big advantage of the component-wise build is readability, and without doubt, this was achieved here. This point will be addressed with a different approach that will be visible in the upcoming commits. One big disadvantage of the component build is the fact that it introduces state to the build process which is not necessary. Before its introduction, the only influencing factors where the system-defines __linux__ and __OpenBSD__. With the components, we are also relying on the output of uname(1). Additionally, if the os.mk is not present, make gives the output $ make Makefile:5: os.mk: No such file or directory make: *** No rule to make target 'os.mk'. Stop. This could easily be fixed by providing some sort of meta-rule for this file, however, it indicates the problem we have here, and this entire statefulness will heavily complicate packaging of this tool and makes the build process much more complex than it actually has to be.
2018-04-30Makefile: add distclean targetQuentin Rameau
2018-04-30Makefile: move OS-specific libs to configure scriptQuentin Rameau
2018-04-30Makefile: separate default flags from user flagsQuentin Rameau
2018-04-30wifi: OS splitQuentin Rameau
2018-04-30uptime: OS splitQuentin Rameau
2018-04-30temperature: OS splitQuentin Rameau
2018-04-30swap: OS splitQuentin Rameau
2018-04-30ram: OS splitQuentin Rameau
2018-04-30entropy: OS splitQuentin Rameau
2018-04-30cpu: OS splitQuentin Rameau
2018-04-30battery: OS splitQuentin Rameau
2018-04-30Makefile: detect running OSQuentin Rameau
2017-09-24Move components into dedicated subdirectoryLaslo Hunhold
This brings us a lot more tidiness.
2017-09-18Get rid of HDR variableLaslo Hunhold
The HDR variable is used for general purpose headers, which are not given in this project. arg.h and config.h are only needed for slstatus.c, not every component $(COM:=.c). This also fixes a problem introduced in e04a3853643df1c98a451969d515d8850f138bcc, where config.h is pulled into the tarball.
2017-09-18Simplify MakefileLaslo Hunhold
2017-09-18Fix missing config.h in MakefileQuentin Rameau
2017-09-17Rewrite Makefile to accomodate file splitLaslo Hunhold
2017-08-13Added Makefile target for distribution tarballs.Aaron Marcher
2017-08-10Refactor build systemLaslo Hunhold
2017-01-09Makefile fix and vol_perc fix for muteAaron Marcher
2017-01-09simplified MakefileAaron Marcher
2017-01-09small Makefile tweakAaron Marcher
2017-01-09Makefile: Added back config.h handling in MakefileAaron Marcher
2017-01-09Makefile: Fixes #35Aaron Marcher
2017-01-07saner makefile: cleaner, simpler, sucklessAaron Marcher
2016-12-29why releases for such a small project? useless and overhead!Aaron Marcher
2016-09-17added man pageAaron Marcher
2016-09-14do not overwrite config.h if config.def.h changesAaron Marcher
2016-09-05what kind of weed is that?Ali H. Fardan
2016-09-05added a tool for resetting the status bar && worked around some issues && ↵Ali H. Fardan
removed the makefile (we need a better one)
2016-03-10make config.h target depending on config.def.hDaniel Walter
2016-03-04added config.def.h handling and fixed typoAaron Marcher
2016-03-04initial commitAaron Marcher