Skip to content

Instantly share code, notes, and snippets.

@archisman-panigrahi
Forked from LordAmit/install_zip.sh
Last active April 26, 2016 04:31
Show Gist options
  • Save archisman-panigrahi/3d81bc68ffc87cb5ceaba6ae78206f0a to your computer and use it in GitHub Desktop.
Save archisman-panigrahi/3d81bc68ffc87cb5ceaba6ae78206f0a to your computer and use it in GitHub Desktop.
install.sh of Brightness Controller
#!/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/usr/bin/brightness-controller
Terminal=false
Type=Application
Icon=$HOME/.Brightness/Brightness-master/src/usr/share/icons/hicolor/scalable/apps
Categories=Application;" > ~/Desktop/Brightness.desktop
chmod +x ~/Desktop/Brightness.desktop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment