Added things I want to remember for the laptop. Not really scripts yet.

master
Nathan Steel 6 years ago
commit 78df83df79

@ -0,0 +1,4 @@
#!/bin/bash
# Using PulseAudio
pactl set-sink-volume 0 30%

@ -0,0 +1,3 @@
#!/bin/bash
echo 350 > /sys/class/backlight/intel_backlight/brightness

@ -0,0 +1,6 @@
#!/bin/bash
# This can be added into a . file apparently, but for now
# Switch the capslock and escape key around
/usr/bin/setxkbmap -option caps:swapescape

@ -0,0 +1,11 @@
#!/bin/bash
# cat /sys/class/leds/<keyboard>/max_brightness. Remember that
# Was testing uer input, will change to flag or smth
read TEST
# Change the backlight of the keyboard
echo $TEST | sudo tee /sys/class/leds/smc::kbd_backlight/brightness
# Apparently using Dbus is better
# because it doesn't involve modifications to device files
Loading…
Cancel
Save