Skip to content

Instantly share code, notes, and snippets.

View sovanyio's full-sized avatar

Brian Bolton sovanyio

  • Denver, CO
View GitHub Profile
||twitter.com^
||twttr.com^
||t.co^
||twimg.com^
||instagram.com^
||cdninstagram.com^
||tiktok.com^
||tiktokcdn.com^
||musical.ly^
||snssdk.com^
CloseServiceHandle Function Undefined
ControlService Function Undefined
CreateServiceA Function Undefined
DeleteService Function Undefined
OpenSCManagerA Function Undefined
OpenServiceA Function Undefined
RegCloseKey Function Undefined
RegConnectRegistryW Function Undefined
RegCreateKeyExW Function Undefined
RegDeleteKeyW Function Undefined
@sovanyio
sovanyio / plymouth-mkinitcpio-install
Last active August 16, 2019 23:41
Fix plymouth mkinitcpio hook for themes, starting line 35
build() {
add_dir /dev/pts
add_dir /usr/share/plymouth/themes
add_dir /var/run/plymouth # <- needed?
DATADIR="/usr/share"
PLYMOUTH_LOGO_FILE="${DATADIR}/plymouth/arch-logo.png"
PLYMOUTH_THEME_NAME="$(/usr/bin/plymouth-set-default-theme)"
PLYMOUTH_MODULE_NAME="$(grep "ModuleName *= *" ${DATADIR}/plymouth/themes/${PLYMOUTH_THEME_NAME}/${PLYMOUTH_THEME_NAME}.plymouth | sed 's/ModuleName *= *//')"
PLYMOUTH_PLUGIN_PATH="$(plymouth --get-splash-plugin-path)"