Skip to content

Instantly share code, notes, and snippets.

#version 120
// PUBLIC DOMAIN CRT STYLED SCAN-LINE SHADER
//
// by Timothy Lottes
//
// This is more along the style of a really good CGA arcade monitor.
// With RGB inputs instead of NTSC.
// The shadow mask example has the mask rotated 90 degrees for less chromatic aberration.
//
@AaronBPaden
AaronBPaden / 0001-Support-_NET_WM_BYPASS_COMPOSITOR.patch
Created January 14, 2018 18:53
Ask the desktop to bypass the compositor when in windowed fullscreen mode.
From ea01627e138dae91a5401f735aa283376a2077f0 Mon Sep 17 00:00:00 2001
From: Aaron Paden <[email protected]>
Date: Sun, 31 Dec 2017 10:30:31 -0600
Subject: [PATCH] Support _NET_WM_BYPASS_COMPOSITOR
---
gfx/common/x11_common.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/gfx/common/x11_common.c b/gfx/common/x11_common.c
@AaronBPaden
AaronBPaden / nvim-command
Last active August 29, 2015 14:24
Run a command in the running neovim session.
#!/usr/bin/python2
from __future__ import print_function
from docopt import docopt
from neovim import attach
from neovim.api import NvimError
import os
import sys
__doc__ = """nvim-command - Run a command in the running neovim session.
Usage:
nvim-command <command>..."""