/GS-ZRAM

Primary LanguageShellGNU General Public License v3.0GPL-3.0

Volume Key Selector - Addon that allows the use of the volume keys to select option in the installer

Instructions:

  • If you only want vol keys to run during install or uninstall, rename the main.sh file to preinstall.sh or uninstall.sh respectively
  • Use $VKSEL variable whenever you want to call the volume key selection function. The function returns true if user selected vol up and false if vol down Ex: if $VKSEL; then echo "true" else echo "false" fi
  • If you want to use the bixby button on samsung galaxy devices, check out this post here and modify the main.sh functions accordingly
  • If a user knows their device isn't compatible, they can skip this completely by adding "novk" to the zipname so make sure you have defaults set in the event this happens (you can use something like [ -z $VKSEL ])

Notes:

  • Each volume key selector method will timeout after 3 seconds in the event of incompatibility or error

Included Binaries/Credits: