aboutsummaryrefslogtreecommitdiff
path: root/.config/glava/graph
diff options
context:
space:
mode:
authorLuca Matei Pintilie <lucafulger@gmail.com>2021-12-21 20:26:50 +0000
committerLuca Matei Pintilie <lucafulger@gmail.com>2021-12-21 20:26:50 +0000
commitf8acb4edc93d2570856381eb7fb6f75db3955cf6 (patch)
treed8db466f88799f7d796e0b93d6a2ad8394c599c9 /.config/glava/graph
parent2169a4155362a7f1639e4ad78033abb193f2d565 (diff)
downloaddotfiles-f8acb4edc93d2570856381eb7fb6f75db3955cf6.tar
dotfiles-f8acb4edc93d2570856381eb7fb6f75db3955cf6.tar.gz
dotfiles-f8acb4edc93d2570856381eb7fb6f75db3955cf6.tar.bz2
dotfiles-f8acb4edc93d2570856381eb7fb6f75db3955cf6.tar.lz
dotfiles-f8acb4edc93d2570856381eb7fb6f75db3955cf6.tar.xz
dotfiles-f8acb4edc93d2570856381eb7fb6f75db3955cf6.tar.zst
dotfiles-f8acb4edc93d2570856381eb7fb6f75db3955cf6.zip
Initial commit2
Diffstat (limited to '')
l---------.config/glava/graph1
-rwxr-xr-x.config/glava/graph.glsl31
2 files changed, 32 insertions, 0 deletions
diff --git a/.config/glava/graph b/.config/glava/graph
new file mode 120000
index 0000000..2ad2983
--- /dev/null
+++ b/.config/glava/graph
@@ -0,0 +1 @@
+/etc/xdg/glava//graph \ No newline at end of file
diff --git a/.config/glava/graph.glsl b/.config/glava/graph.glsl
new file mode 100755
index 0000000..546d8d4
--- /dev/null
+++ b/.config/glava/graph.glsl
@@ -0,0 +1,31 @@
+
+/* 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_SCALE 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 mix(#802A2A, #4F4F92, clamp(pos / GRADIENT_SCALE, 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 #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
+
+/* Gravity step, overrude from `smooth_parameters.glsl` */
+#request setgravitystep 2.4
+
+/* Smoothing factor, override from `smooth_parameters.glsl` */
+#request setsmoothfactor 0.015