Maxime Wack 1ca8aea51a | 6 年之前 | |
---|---|---|
README.md | 6 年之前 | |
busy.png | 6 年之前 | |
conky.lua | 6 年之前 | |
conkyrc | 6 年之前 | |
idle.png | 6 年之前 | |
video.mp4 | 6 年之前 |
I feel finally comfortable enough sharing my conky!
Here is what it looks like :
Your browser does not support the video tag.
It is coded entirely in lua, using cairo bindings.
Everything is displayed using transparency, so you can use it with your
own background. Light, homogeneous backgrounds are preferred.
Conky needs to be compiled with at least lua and cairo enabled, as can
be found in the conky-lua
package in the
AUR
To install, clone in ~/.config/conky/
, or the directory of your
choice.
If you chose another directory, you’ll have to edit the conky.rc
file
and change this line with your custom path:
lua_load = '~/.config/conky/conky.lua',
You can change the startup options of conky in conky.rc
, though be
careful as many of them are used to compose with the actual desktop
background.
The most important value to set is your screen resolution:
minimum_width = 1920,
minimum_height = 1080,
In conky.lua
, you have to set some values specific to your system:
-- SETTINGS
nbCPU = 4
FSs = {"/", "/var", "/home"}
ladapter = "eth0" -- eno1
wadapter = "wlan0"
ntop = 10
-- SETTINGS
You can go further in customization and place the widgets wherever you
want on the screen, set the color used for the bars, the font face and
size, etc.
Note that the font size is (crudely) automatically determined depending
on your screen height and options.
All the functions used to draw bars, history plots, embossed regions or
text are available to play with.
Run with
conky -d -c ~/.config/conky/conkyrc