Created
September 23, 2016 05:01
-
-
Save vaporic/4b073efb4eb3fbfe8baa0a490f125552 to your computer and use it in GitHub Desktop.
Config Keyboard Devastator
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Script para encender el LED del Scroll Lock | |
on=$(xset -q | grep 'Scroll Lock:' | cut -d ":" -f 7) | |
if [ $on == "off" ]; then | |
xset led named "Scroll Lock"; | |
else | |
xset -led named "Scroll Lock"; | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment