Skip to content

Commit

Permalink
Bump fonts, fix includes
Browse files Browse the repository at this point in the history
  • Loading branch information
brndnmtthws committed Jun 24, 2023
1 parent 4940070 commit e872623
Show file tree
Hide file tree
Showing 7 changed files with 1,135 additions and 628 deletions.
12 changes: 6 additions & 6 deletions web/documents/compiling.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,27 +9,27 @@ Using CMake to build Conky is pretty easy, and here is how I do it:
1. From the top level source dir, create a build working dir, and cd into it

```shell-session
$ mkdir build
$ cd build
mkdir build
cd build
```

2. Run the cmake configuration process

```shell-session
$ cmake ../ # pass the path to the sources to cmake
cmake ../ # pass the path to the sources to cmake
```

OR

```shell-session
$ ccmake ../ # you can also use the fance curses interface, or try cmake-gui
ccmake ../ # you can also use the fance curses interface, or try cmake-gui
```

3. Compile as usual, and enjoy the out-of-source goodness

```shell-session
$ make
# make install # if you want
make
sudo make install # if you want
```

There are a number of build options for Conky, and the best way to discover
Expand Down
16 changes: 8 additions & 8 deletions web/documents/docker.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,52 +9,52 @@ indexWeight: 0
Build the image with:

```shell-session
$ docker build --tag=conky .
docker build --tag=conky .
```

or if you want the commandline version:

```shell-session
$ docker build --build-arg X11=no --tag=conkycmd .
docker build --build-arg X11=no --tag=conkycmd .
```

## Running the container

After building you can run the graphical version with:

```shell-session
$ docker run --rm -ti --net=host -e DISPLAY -v ~/.Xauthority:/root/.Xauthority conky
docker run --rm -ti --net=host -e DISPLAY -v ~/.Xauthority:/root/.Xauthority conky
```

The commandline version is easier:

```shell-session
$ docker run --rm -ti conkycmd
docker run --rm -ti conkycmd
```

If you want to pass some options to conky you can just add them if you mention
'conky' twice. Once for the image and once for the command. For example:

```shell-session
$ docker run --rm -ti --net=host -e DISPLAY -v ~/.Xauthority:/root/.Xauthority conky conky --version
docker run --rm -ti --net=host -e DISPLAY -v ~/.Xauthority:/root/.Xauthority conky conky --version
```

will show you the version of conky. Since you don't need X for this you could also do:

```shell-session
$ docker run --rm -ti conkycmd conky --version
docker run --rm -ti conkycmd conky --version
```

If you want to fiddle around a bit with the configuration first you could do:

```shell-session
$ docker run --rm -ti --net=host -e DISPLAY -v ~/.Xauthority:/root/.Xauthority conky bash
docker run --rm -ti --net=host -e DISPLAY -v ~/.Xauthority:/root/.Xauthority conky bash
```

_change things is in the configuration_

```shell-session
$ conky -c configurationfile ; exit
conky -c configurationfile ; exit
```

See the docker docs to a lot of other ways to (ab)use this container
Expand Down
Loading

0 comments on commit e872623

Please sign in to comment.