Skip to content

Instantly share code, notes, and snippets.

View EndlessEden's full-sized avatar

Eden Rose EndlessEden

View GitHub Profile
@EndlessEden
EndlessEden / Makefile.patch
Created December 20, 2017 21:32
vkQauke Arch pkgbuild & Makefile fix #1 (https://github.com/Novum/vkQuake/pull/129)
--- Makefile 2017-12-20 16:00:30.276063742 -0500
+++ Makefile.new 2017-12-20 16:02:13.883431557 -0500
@@ -52,7 +52,7 @@
#CPUFLAGS= -mtune=k8
#CPUFLAGS= -march=atom
CPUFLAGS=
-LDFLAGS = -L$(VULKAN_SDK)/lib
+LDFLAGS += -L$(VULKAN_SDK)/lib
DFLAGS ?=
CFLAGS ?= -Wall -Wno-trigraphs
@EndlessEden
EndlessEden / PKGBUILD
Created March 10, 2018 01:04
wlc-git: PKGBUILD with static and shared libraries. Split-Package
pkgbase=wlc-git
pkgname=('wlc-git' 'wlc-static-git')
pkgver=0.0.7.r22.g12ee978
pkgrel=2
pkgdesc='wayland compositor library'
url='https://github.com/Cloudef/wlc'
arch=('i686' 'x86_64')
license=('MIT')
options=('debug' '!strip')
@EndlessEden
EndlessEden / PKGBUILD
Created April 13, 2018 09:09
pianobar PKGBUILD
# Maintainer: mutantmonkey <aur@mutantmonkey.in>
pkgname=pianobar-git
_gitname=pianobar
pkgver=787.ff4f152
pkgrel=1
pkgdesc="A free/open-source, console-based replacement for Pandora's Flash player"
url="http://6xq.net/projects/pianobar/"
arch=('i686' 'x86_64')
license=('MIT')
depends=('libao' 'ffmpeg' 'readline' 'json-c' 'libgcrypt' 'gnutls')
@EndlessEden
EndlessEden / 0001-fix-option-string.patch
Created April 24, 2018 20:47
htop downstream patch(arch)
From 731acc8bced18c90fbe0e18381c32f007f71e0d9 Mon Sep 17 00:00:00 2001
From: Christian Hesse <mail@eworm.de>
Date: Tue, 10 Apr 2018 16:21:46 +0200
Subject: [PATCH 1/1] fix option string
This broke with commit db05ba61065f64b59d0014518be0786b5439e54c.
Signed-off-by: Christian Hesse <mail@eworm.de>
---
htop.c | 2 +-
@EndlessEden
EndlessEden / hdrprobe
Last active April 19, 2024 00:56
hdrprobe - bash script to probe a file with ffprobe and detect if file is in HDR. (Supports notify-send for toaster notifications)
#!/bin/bash
if [ ! -z $DISPLAY ]; then
if [ $(notify-send -u normal -a hdrprobe -t 3000 -v | sed -e 's| |\n|g' | head -1 | grep -c 'notify-send') -gt 0 ]; then
NOTIFY="1"
else
NOTIFY="0"
fi
else
NOTIFY="0"
fi