aboutsummaryrefslogtreecommitdiffstats
path: root/README.md
blob: e7b1e74f9da8b0442fad802855bb324a39f5d8de (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
dwmclock
========

Show the time and current battery charge in the X root window name

Requirements
------------

- Xlib headers


Installation
------------

Copy `config.def.mk` to `config.mk` and edit it to match your setup.

Compile it:

	make

Install dwmclock (needs to be run as root if installing to `/usr` or `/usr/local`):

	make install

Install dwmclock to `~/bin`:

	make DESTDIR=$HOME PREFIX= install

Install dwmclock to `~/.local/bin`:

	make DESTDIR=$HOME PREFIX=/.local install

Usage
-----

Amp it off in your `~/.xinitrc`:

	dwmclock &