aboutsummaryrefslogblamecommitdiff
path: root/.config/glava/graph.glsl
blob: 546d8d43a69f284705f0aeac69f468f9e600329e (plain) (tree)






























                                                                                     
/* 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
mp;follow=1'>Fix tmux colours and add gitsigns to neovimLuca Matei Pintilie4-9/+88 2022-11-08Foot use tmux by defaultLuca Matei Pintilie1-1/+1 2022-11-08Neovim omnisharp plugin and tmux color fix on foot and inputrc emacsLuca Matei Pintilie5-7/+13 2022-10-25Update neovim, inputrc and bootstrap.shLuca Matei Pintilie4-9/+18 2022-10-24Remove weather from tmux configLuca Matei Pintilie1-1/+1