Skip to content

Instantly share code, notes, and snippets.

Always available to talk about a project!

Ryan Ward ryandward

Always available to talk about a project!
View GitHub Profile
ryandward /
Last active Sep 26, 2020 — forked from egelev/
Connect bluetooth headphones on Arch Linux (Gnome settings can't do it)
#!/usr/bin/env bash
function get_headphones_index() {
echo $(pacmd list-cards | grep bluez_card -B1 | grep index | awk '{print $2}')
function get_headphones_mac_address() {
local temp=$(pacmd list-cards | grep bluez_card -C20 | grep 'device.string' | cut -d' ' -f 3)
View Arch Linux step-by-step installation on btrfs
= Arch Linux step-by-step installation =
= =
== Boot the installation CD ==
== Create partition ==
cfdisk /dev/sda
* Create a partition with code 8300 (Linux)