Add user config and add sources file. #10
2 changed files with 14 additions and 1 deletions
6
aps
6
aps
|
@ -5,7 +5,11 @@
|
|||
# the package manager for Alnux #
|
||||
#################################
|
||||
|
||||
if [ -f "/etc/al/config" ]; then
|
||||
if [ -f "$XDG_CONFIG_HOME/al/config" ]; then
|
||||
|
||||
. $XDG_CONFIG_HOME/al/config
|
||||
elif [ -f "$HOME/.config/al/config"]; then
|
||||
. $HOME/.config/al/config
|
||||
elif [ -f "/etc/al/config" ]; then
|
||||
. /etc/al/config
|
||||
else
|
||||
temp_location="/var/tmp"
|
||||
|
|
9
settings
Normal file
9
settings
Normal file
|
@ -0,0 +1,9 @@
|
|||
UnlockClient=true
|
||||
UnlockStudio=false
|
||||
FPSCapValues=[30.000000, 60.000000, 75.000000, 120.000000, 144.000000, 165.000000, 240.000000, 360.000000]
|
||||
FPSCapSelection=0
|
||||
FPSCap=0.000000
|
||||
CheckForUpdates=true
|
||||
NonBlockingErrors=true
|
||||
SilentErrors=false
|
||||
QuickStart=false
|
||||
hippoz marked this conversation as resolved
Outdated
hippoz
commented
what what
Ohio2
commented
that's grapejuice acting up, not related that's grapejuice acting up, not related
|
Loading…
Reference in a new issue
instead of checking for a bunch of config files, let the user set the path using an enviornment variable. better yet, make the entire script configured by enviornment variables!