Changed i3 util structure
This commit is contained in:
19
i3wm/util/Authenticator.sh
Executable file
19
i3wm/util/Authenticator.sh
Executable file
@@ -0,0 +1,19 @@
|
||||
#!/bin/bash
|
||||
|
||||
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