Skip to content

Instantly share code, notes, and snippets.

View fossfreedom's full-sized avatar
👍
I don't use Arch BTW

David Mohammed fossfreedom

👍
I don't use Arch BTW
View GitHub Profile
@fossfreedom
fossfreedom / index.theme
Created March 6, 2017 14:39
moka with revised index.theme
[Icon Theme]
Name=Moka
Comment=A simple and consistent icon set.
Inherits=Faba
# KDE Specifics
DisplayDepth=32
@fossfreedom
fossfreedom / gist:37ee44971e9f4950e561
Created June 1, 2014 19:10
example of obtaining tag data from audio files using gstreamer
#!/usr/bin/env python
import os
import sys
from gi.repository import Gst as gst
from gi.repository import GObject as gobject
class tag_getter:
def __init__(self):
#make a dictionary to hold our tag info
@fossfreedom
fossfreedom / gist:6846458
Last active December 24, 2015 18:59
python reworking of xnoise iconview renderer - intended for rhythmbox coverart-browser #220.
from gi.repository import Gtk, GObject, Gdk, Pango, PangoCairo, GdkPixbuf
from gi.repository.GdkPixbuf import Pixbuf
ICON_LARGE_PIXELSIZE=180
class CellRendererThumb(Gtk.CellRendererPixbuf):
markup=GObject.property(type=str, default="")
extra_info=GObject.property(type=str, default="")
def __init__(self, font_description):