Documentation++ & fixed small mistake
This commit is contained in:
37
i3wm/util/authenticator.sh
Executable file
37
i3wm/util/authenticator.sh
Executable file
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
|
||||
###############################
|
||||
# _ _ _ #
|
||||
# (_) | | | | #
|
||||
# _ __ _ _ _| |_| |__ #
|
||||
# | |/ _` | | | | __| '_ \ #
|
||||
# | | (_| | |_| | |_| | | | #
|
||||
# | |\__,_|\__,_|\__|_| |_| #
|
||||
# _/ | #
|
||||
# |__/ #
|
||||
# #
|
||||
###############################
|
||||
|
||||
# This script needs jauth-git to work
|
||||
# jauth can be installed from the arch aur
|
||||
#
|
||||
# yaourt -S jauth-git
|
||||
#
|
||||
|
||||
SECRET_GOOGLE="asdf"
|
||||
SECRET_FACEBOOK="asdf"
|
||||
SECRET_DROPBOX="asdf"
|
||||
|
||||
ARG="${1}"
|
||||
|
||||
case ${ARG} in
|
||||
"google")
|
||||
jauth -secret=${SECRET_GOOGLE}
|
||||
;;
|
||||
"facebook")
|
||||
jauth -secret=${SECRET_FACEBOOK}
|
||||
;;
|
||||
"dropbox")
|
||||
jauth -secret=${SECRET_DROPBOX}
|
||||
;;
|
||||
esac
|
||||
Reference in New Issue
Block a user