From 7520bd4b96fe74c85b6ca1da8e1ddbc298143530 Mon Sep 17 00:00:00 2001 From: Patrick Spek Date: Thu, 13 Feb 2020 14:01:52 +0100 Subject: Include glava --- .config/glava/graph.glsl | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 .config/glava/graph.glsl (limited to '.config/glava/graph.glsl') diff --git a/.config/glava/graph.glsl b/.config/glava/graph.glsl new file mode 100755 index 0000000..cbcce46 --- /dev/null +++ b/.config/glava/graph.glsl @@ -0,0 +1,25 @@ + +/* Vertical scale, larger values will amplify output */ +#define VSCALE 300 +/* Rendering direction, either -1 (outwards) or 1 (inwards). */ +#define DIRECTION 1 + +/* Color gradient scale, (optionally) used in `COLOR` macro */ +#define GRADIENT 75 +/* Color definition. By default this is a gradient formed by mixing two colors. + `pos` represents the pixel position relative to the visualizer baseline. */ +#define COLOR @fg:mix(#802A2A, #4F4F92, clamp(pos / GRADIENT, 0, 1)) +/* 1 to draw outline, 0 to disable */ +#define DRAW_OUTLINE 0 +/* 1 to draw edge highlight, 0 to disable */ +#define DRAW_HIGHLIGHT 1 +/* Whether to anti-alias the border of the graph, creating a smoother curve. + This may have a small impact on performance. + Note: requires `xroot` or `none` opacity to be set */ +#define ANTI_ALIAS 0 +/* outline color */ +#define OUTLINE @bg:#262626 +/* 1 to join the two channels together in the middle, 0 to clamp both down to zero */ +#define JOIN_CHANNELS 0 +/* 1 to invert (vertically), 0 otherwise */ +#define INVERT 0 -- cgit v1.1