Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/python3
#
# Script to transform the latest NEO2-layout for macos to a similar layout,
# such as KOY. It swaps the keycodes to the corresponding ones and leaves
# the rest of the file as it is. I use it to generate a KOY layout from
# the latest NEO2 upstream at
#
# https://git.neo-layout.org/neo/neo-layout/src/branch/master/mac_osx/neo-layouts.bundle/Contents/Resources/Deutsch%20%28Neo%202%29.keylayout
#
# Other layouts such as bone, mine etc. could be generated as well.
@drm00
drm00 / update_check.sh
Created October 10, 2015 12:06
update installed ports and notify about updates in src/xenocara
#!/bin/sh
#
# update_check.sh
#
# check for new -stable code and update installed packages if nececcary.
# read http://www.openbsd.org/faq/faq15.html#PkgSig to self-sign your
# newly built packages.
# -- config
#!/bin/sh
#
# update_check.sh
#
# check for new -stable code and update installed packages if nececcary.
# read http://www.openbsd.org/faq/faq15.html#PkgSig to self-sign your
# newly built packages.
# -- config
@drm00
drm00 / config-h-inconsolata.patch
Last active December 18, 2015 02:39
Patches to set the 16 solarized colors in st (http://st.suckless.org/)
diff --git a/config.h b/config.h
index 8cb8804..b1be9e2 100644
--- a/config.h
+++ b/config.h
@@ -5,8 +5,8 @@
*
* font: see http://freedesktop.org/software/fontconfig/fontconfig-user.html
*/
-static char font[] = "Liberation Mono:pixelsize=12:antialias=false:autohint=false";
-static int borderpx = 2;