Last active
April 26, 2016 04:29
-
-
Save LordAmit/6134441 to your computer and use it in GitHub Desktop.
install.sh of Brightness Controller
This file contains 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/sh | |
# Install Brightness Controller script | |
# Download / Save this script. Make it executable. Run it. | |
# It requires having wget installed, if you use another command line interface downloader, change wget to it. | |
wget https://github.com/lordamit/Brightness/archive/master.zip | |
unzip -o master.zip -d ~/.Brightness | |
rm master.zip | |
echo "[Desktop Entry] | |
Encoding=UTF-8 | |
Name=Brightness Controller | |
Exec=$HOME/.Brightness/Brightness-master/src/brightness.py | |
Terminal=false | |
Type=Application | |
Icon=$HOME/.Brightness/Brightness-master/img/brightness.svg | |
Categories=Application;" > ~/Desktop/Brightness.desktop | |
chmod +x ~/Desktop/Brightness.desktop |
👍. You also found the path bug (Brightness-master/
) and I think that all works now.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
👍 or 👎 ?