Skip to content

Instantly share code, notes, and snippets.

View Atreyagaurav's full-sized avatar
💭
I have so much to learn there is no time for studying.

Zero Atreyagaurav

💭
I have so much to learn there is no time for studying.
  • University of Cincinnati
  • Cincinnati, Ohio
View GitHub Profile
@Atreyagaurav
Atreyagaurav / menu.json
Created February 1, 2021 08:00
dmenu based scripts execution
{
"bgcolor": "black",
"scripts": {
"next-chapter": {
"name": "Next Chapter",
"script": "/home/gaurav/scripts/next_episode.py",
"tooltip": "While in firefox, change the address to next chapter or episode"
},
"log-anime": {
"name": "Animes/Series Log",
@Atreyagaurav
Atreyagaurav / picom-oklab-shader.gsgl
Last active April 3, 2023 23:45
Oklab Lightness inversion shader for Picom
#version 430
uniform float opacity;
uniform bool invert_color;
uniform sampler2D tex;
in vec2 texcoord; // texture coordinate of the fragment
const float pow_cbrt = 1./3;
vec3 rgb2oklab(vec3 rgb) {
vec3 srgb = rgb / 12.92;
for (int i = 0; i < 3; i++) {