aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-02-02 12:28:00 +0100
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-02-02 12:28:00 +0100
commit3947185069f3e21feeb76ee45d2d5ad4d67e1263 (patch)
treec6d3cfe24aa3a4cfcc740a23f4cefdb68460a1cd
parent64f3ae04858093a2b0a7c066f402f745ec1985ea (diff)
downloaddotfiles-3947185069f3e21feeb76ee45d2d5ad4d67e1263.tar.gz
csgo config
-rw-r--r--autoload.cfg29
-rwxr-xr-xinstall.sh11
2 files changed, 35 insertions, 5 deletions
diff --git a/autoload.cfg b/autoload.cfg
new file mode 100644
index 0000000..207f13a
--- /dev/null
+++ b/autoload.cfg
@@ -0,0 +1,29 @@
+cl_crosshair_drawoutline "0"
+cl_crosshair_dynamic_maxdist_splitratio "0.200000"
+cl_crosshair_dynamic_splitalpha_innermod "1"
+cl_crosshair_dynamic_splitalpha_outermod "0.5"
+cl_crosshair_dynamic_splitdist "7"
+cl_crosshair_friendly_warning "1"
+cl_crosshair_outlinethickness "0.000000"
+cl_crosshair_sniper_show_normal_inaccuracy "0"
+cl_crosshair_sniper_width "1"
+cl_crosshair_t "1"
+cl_crosshairalpha "255.000000"
+cl_crosshaircolor "5"
+cl_crosshaircolor_b "255"
+cl_crosshaircolor_g "0"
+cl_crosshaircolor_r "255"
+cl_crosshairdot "0"
+cl_crosshairgap "-3.000000"
+cl_crosshairgap_useweaponvalue "0"
+cl_crosshairsize "3.000000"
+cl_crosshairstyle "4"
+cl_crosshairthickness "1.000000"
+cl_crosshairusealpha "1"
+cl_fixedcrosshairgap "3"
+
+sensitivity 0.5
+
+safezonex 0.8
+safezoney 1.0
+cl_hud_color 4
diff --git a/install.sh b/install.sh
index 8554980..af49f6c 100755
--- a/install.sh
+++ b/install.sh
@@ -16,6 +16,7 @@ CONFIGS=( ["sway"]=".config"
["sxhkd"]=".config"
["deadd"]=".config"
["rofi"]=".config"
+ ["autoload.cfg"]=".local/share/Steam/steamapps/common/Counter-Strike Global Offensive/csgo/cfg/"
[".vim"]="."
[".xinitrc"]="."
[".bashrc"]="."
@@ -104,12 +105,12 @@ selector() {
#1: source 2: destination
link() {
- if [ -e $2 ]; then
+ if [ -e "$2" ]; then
if yes_no "$(basename $2) exists. Overwrite?"; then
- if [ -d $2 ]; then
- rm -R $2
+ if [ -d "$2" ]; then
+ rm -R "$2"
else
- rm $2
+ rm "$2"
fi
else
return
@@ -120,7 +121,7 @@ link() {
}
choose_target() {
- if [ ! -z ${CONFIGS[$1]} ]; then
+ if [ ! -z "${CONFIGS[$1]}" ]; then
echo "Install $(pwd)/$1 to $HOME/${CONFIGS[$1]}/$1"
link "$(pwd)/$1" "$HOME/${CONFIGS[$1]}/$1"
elif [ ! -z "${SETS[$1]}" ]; then