Skip to content

Instantly share code, notes, and snippets.

View fincham's full-sized avatar

Michael Fincham fincham

View GitHub Profile
#!/usr/bin/env python2
# blackwidow_enable.py
#
# Enables the M1-5 and FN keys to send scancodes on the Razer BlackWidow
# and BlackWidow Ultimate keyboards.
#
# You can use 'xev' and 'xbindkeys' to assign actions to the macro keys.
#
# Requires the PyUSB library.
@fincham
fincham / i3-bar.py
Created October 12, 2017 07:56 — forked from jbg/i3-bar.py
#!/usr/bin/python3
from collections import OrderedDict
from datetime import datetime
from functools import partial
import json
import logging as log
import os
from queue import Queue, Empty
import subprocess
#!/usr/bin/env bash
while true; do
echo "ss23 rly, completely, sux"
sleep 1
done