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
='deletions'>-0/+5 2023-06-06Neovim: add escape keybind for terminalLuca Matei Pintilie1-0/+1 2023-05-30Check if index-color is available before using itLuca Matei Pintilie1-23/+24 2023-05-30Various email fixesLuca Matei Pintilie2-11/+13 2023-05-29Add aerc configLuca Matei Pintilie3-0/+760 2023-05-29Add gpg-agent and xdg configLuca Matei Pintilie4-0/+30 2023-05-29Silence man version check and prioritise global PATH over custom oneLuca Matei Pintilie1-2/+2 2023-05-24profile: Better compatibility with void linux and pnpmLuca Matei Pintilie2-4/+10 2023-05-24nvim: remove some unneeded code and plugins/lsp, and add live_grep keybindLuca Matei Pintilie4-30/+23 2023-05-09Mutt: add trashLuca Matei Pintilie1-0/+1 2023-04-30Fix calendar thing in waybarLuca Matei Pintilie1-45/+55 2023-04-29Add back marks and enable cursorlineLuca Matei Pintilie4-5/+37 2023-04-23Remove marks dependency from neovimLuca Matei Pintilie1-36/+0 2023-04-23Remove save and quit keybindLuca Matei Pintilie1-2/+0 2023-04-23Remove cursorline from neovim configLuca Matei Pintilie1-1/+15 2023-04-10Bump neovim config to 0.9 and add undotree and test related commandsLuca Matei Pintilie4-26/+47 2023-04-07Fix neovim spelllangLuca Matei Pintilie1-3/+1 2023-04-07Hyprland fixesLuca Matei Pintilie1-23/+25 2023-04-07Add mutt/neomutt configLuca Matei Pintilie5-0/+206 2023-04-07Neovim improvementsLuca Matei Pintilie5-27/+14 2023-04-05Better hyprland configLuca Matei Pintilie3-10/+42 2023-04-02Remove beacon config and add mini.commentLuca Matei Pintilie1-13/+34