Skip to content

Instantly share code, notes, and snippets.

View Lamborge's full-sized avatar
🏠
Working from home

Lamborge Lamborge

🏠
Working from home
View GitHub Profile
@KavenTheriault
KavenTheriault / mkinitcpio_nvidia.md
Created August 7, 2020 21:02
Nvidia driver and mkinitcpio

Nvidia driver and mkinitcpio

First, install nvidia drivers

sudo pacman -S nvidia

Edit the following line of /etc/mkinitcpio.conf

MODULES=(i915? nouveau? vboxvideo? vmwgfx?)
@jacobmischka
jacobmischka / ds4led
Created December 30, 2015 04:20
Changes color for ds4 controller lightbar on linux and gives permissions so games can change it too if they support it.
#!/bin/bash
# This isn't really that safe to blindly run,
# as it uses sudo to change system file permissions.
# Hopefully it shouldn't break anything though.
# Usage: ds4led [r value] [g value] [b value]
# or `ds4led orange` to set it to orange.
DS4="0003:054C:05C4.*"
cd /sys/class/leds