Adapted for Arch Linux