I hereby claim:
- I am vansoest on github.
- I am sophievansoest (https://keybase.io/sophievansoest) on keybase.
- I have a public key ASAR57QtC4UDg4HLpA3AKHXu8z7b6n9RgCb18CIOIDXE7Ao
To claim this, I am signing this object:
SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", SYMLINK+="sensors/ftdi_%s{serial}" | |
SUBSYSTEMS=="usb", KERNEL=="ttyUSB[0-9]*", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6001", ATTRS{serial}=="AH014OJ1", SYMLINK+="arduino/trduino_nano" | |
SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]*", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0042", SYMLINK+="sensors/cdc_%s{serial}" | |
SUBSYSTEMS=="usb", KERNEL=="ttyACM[0-9]*", ATTRS{idVendor}=="2341", ATTRS{idProduct}=="0042", ATTRS{serial}=="741333534373512190A1", SYMLINK+="arduino/arduino_mega2560" |
[Unit] | |
Description=After resume restarts the fancontrol service | |
After=suspend.target | |
[Service] | |
Type=simple | |
ExecStart=/usr/bin/systemctl restart fancontrol | |
[Install] | |
WantedBy=suspend.target |
#!/bin/bash | |
CARD=`aplay -l | grep -i "ALC889 Analog" | cut -d ":" -f 1 | cut -d " " -f 2` | |
AMIXER="amixer --card $CARD" | |
$AMIXER set Master 100% | |
$AMIXER set Master unmute | |
$AMIXER set Headphone 70% | |
$AMIXER set Headphone unmute | |
$AMIXER set PCM 100% |
#/bin/bash | |
export PULSE_SERVER=tank | |
exec pavucontrol & | |
pid=$! | |
sleep 1 | |
xdotool search --all --pid $pid --class "pavucontrol" set_window --name "[tank] pavucontrol" |
{"lastUpload":"2019-07-23T12:10:31.883Z","extensionVersion":"v3.4.1"} |
# Sudo aliases. | |
sudo_aliases=(pacman htop) | |
for c in $sudo_aliases; do; alias $c="sudo $c"; done |
function vim-which() { | |
if [ "$1" != "" ]; then | |
vim $(which $1) | |
fi | |
} |
#!/bin/bash | |
WINDOWMANAGER=i3 | |
if [[ -z "$DBUS_SESSION_BUS_ADDRESS" ]]; then # Looks like we are outside X | |
eval $(tr '\0' '\n' < /proc/$(pgrep $WINDOWMANAGER | head -1 )/environ | sed -e 's/^/export /') #export all environment variables | |
fi | |
$@ |
I hereby claim:
To claim this, I am signing this object:
''' | |
BEGIN GPL LICENSE BLOCK | |
This program is free software; you can redistribute it and/or | |
modify it under the terms of the GNU General Public License | |
as published by the Free Software Foundation; either version 2 | |
of the License, or (at your option) any later version. | |
This program is distributed in the hope that it will be useful, | |
but WITHOUT ANY WARRANTY; without even the implied warranty of |