Merge branch 'main' of https://git.bytebox.duckdns.org/jolzem/config
This commit is contained in:
commit
334c62dfae
152
csgo/autoexec.cfg
Executable file
152
csgo/autoexec.cfg
Executable file
@ -0,0 +1,152 @@
|
||||
// Setup local server tick rate
|
||||
tick 128
|
||||
|
||||
// Set rates according to your internet connection
|
||||
rate 786432
|
||||
|
||||
// All the essential settings
|
||||
con_enable // enable console
|
||||
gameinstructor_enable 0 // disable instructions
|
||||
cl_disablefreezecam 1 // disable death cam
|
||||
cl_forcepreload 0 // force preloading
|
||||
lobby_default_privacy_bits1 2 // lobby privacy: 0: private 1: public 2: clan 4: nearby 6: clan and nearby
|
||||
cl_showloadout 1 // show weapons on bottom left
|
||||
hud_showtargetid 1 // show enemy name on hover
|
||||
cl_hud_bomb_under_radar 1 // show bomb under radar
|
||||
cl_hud_playercount_pos 0 // show scoreboard/playercount on top
|
||||
cl_hud_radar_scale 0.9 // how big radar is in hud
|
||||
cl_cmdrate 128 // max command packets sent each second
|
||||
cl_updaterate 128 // max command packets received each second
|
||||
cl_teammate_colors_show 1 // show player colors
|
||||
cl_radar_scale 0.4 // adjust zoom of radar
|
||||
cl_radar_always_centered 0 // radar not centered on you
|
||||
cl_radar_icon_scale_min 1 // how large character dots are
|
||||
cl_use_opens_buy_menu 0 // dont open buy menu when pressing use
|
||||
cl_interp 0.007813 // interpolation
|
||||
cl_interp_ratio 1 // use cl_interp value
|
||||
cl_predict 1 // predict on client side
|
||||
cl_predictweapons 1 // predict weapon effects on client side
|
||||
fps_max 150 // cap fps at 150
|
||||
mm_dedicated_search_maxping 75 // matchmaking maximum ping 75
|
||||
cl_autowepswitch 0 // don't auto switch weapon
|
||||
joystick 0 // disable joystick
|
||||
|
||||
// Viewmodel
|
||||
viewmodel_offset_x "2"
|
||||
viewmodel_offset_y "2"
|
||||
viewmodel_offset_z "-2"
|
||||
viewmodel_fov "68"
|
||||
viewmodel_presetpos "0" // don't reset after game restart
|
||||
cl_viewmodel_shift_left_amt "0"
|
||||
cl_viewmodel_shift_right_amt "0"
|
||||
cl_bobcycle "0"
|
||||
cl_bobamt_vert "0"
|
||||
cl_bob_lower_amt "0"
|
||||
cl_bobamt_lat "0"
|
||||
cl_righthand 1
|
||||
|
||||
// Enable netgraph stats under scoreboard
|
||||
net_graph 1
|
||||
net_graphpos 2
|
||||
|
||||
// Crosshair
|
||||
cl_crosshair_drawoutline "0"
|
||||
cl_crosshaircolor "1"
|
||||
cl_crosshairdot "0"
|
||||
cl_crosshairgap "-2"
|
||||
cl_crosshairgap_useweaponvalue "0"
|
||||
cl_crosshairsize "2"
|
||||
cl_crosshairstyle "4"
|
||||
cl_crosshairthickness "0.5"
|
||||
cl_crosshairusealpha "1"
|
||||
|
||||
// Switch all music off except 10s round end warning
|
||||
volume 0.3
|
||||
snd_musicvolume 0.3
|
||||
snd_deathcamera_volume 0
|
||||
snd_mapobjective_volume 0
|
||||
snd_menumusic_volume 0
|
||||
snd_roundend_volume 0
|
||||
snd_roundstart_volume 0
|
||||
snd_tensecondwarning_volume 0.2
|
||||
snd_mvp_volume 0.2
|
||||
|
||||
// Stereo Settings
|
||||
snd_mixahead 0.05
|
||||
snd_headphone_pan_exponent 1
|
||||
snd_headphone_pan_radial_weight 0
|
||||
snd_front_headphone_position 90
|
||||
snd_rear_headphone_position 90
|
||||
|
||||
// Voice Chat
|
||||
voice_enable 1
|
||||
voice_loopback 0
|
||||
voice_scale .8
|
||||
|
||||
// Binds
|
||||
unbindall
|
||||
|
||||
// Mouse
|
||||
sensitivity "1.32"
|
||||
|
||||
bind "MOUSE1" "+attack"
|
||||
bind "MOUSE2" "+attack2"
|
||||
|
||||
bind mwheeldown "+jump"
|
||||
|
||||
m_rawinput 1
|
||||
m_customaccel 0
|
||||
m_mousespeed 0
|
||||
|
||||
// Keyboard
|
||||
// Directional
|
||||
bind "w" "+forward"
|
||||
bind "s" "+back"
|
||||
bind "a" "+moveleft"
|
||||
bind "d" "+moveright"
|
||||
bind "ctrl" "+speed"
|
||||
bind "shift" "+duck"
|
||||
|
||||
// interact/select
|
||||
bind "r" "+reload"
|
||||
bind "e" "+use"
|
||||
bind "g" "drop"
|
||||
bind "q" "lastinv" // last used weapon
|
||||
bind "1" "slot1" // SMG/Rifle
|
||||
bind "2" "slot2" // Pistol
|
||||
bind "3" "slot3" // Knife
|
||||
bind "4" "slot4" // Grenades
|
||||
bind "5" "slot5" // Bomb
|
||||
bind "x" "slot12" // healthshot
|
||||
bind "t" "+lookatweapon" // inspect
|
||||
bind "k" "say_team" // team chat
|
||||
bind "h" "say" // global chat
|
||||
bind "y" "+spray_menu" // spray
|
||||
bind "]" "toggleconsole" // console
|
||||
bind "tab" "+score" // scoreboard
|
||||
|
||||
// Buy
|
||||
bind "space" "buymenu"
|
||||
bind "b" "buy vest"
|
||||
bind "v" "buy vesthelm"
|
||||
bind "u" "buy defuser"
|
||||
bind "i" "buy hegrenade"
|
||||
bind "o" "buy molotov"
|
||||
bind "p" "buy flashbang"
|
||||
bind "[" "buy smokegrenade"
|
||||
bind "," "buy ak47"
|
||||
bind "." "buy deagle"
|
||||
bind "/" "buy awp"
|
||||
bind "SEMICOLON" "buy mac10"
|
||||
|
||||
// Alias
|
||||
alias "dm" "ignorerad; ignoremsg; voice_enable 0" // silence
|
||||
alias "undodm" "ignorerad; ignorerad; ignoremsg; ignoremsg; voice_enable 1"
|
||||
alias "dc" "disconnect" // easy disconnect
|
||||
alias "cd" "disconnect"
|
||||
|
||||
alias "+jumpthrow" "+jump;-attack"
|
||||
alias "-jumpthrow" "-jump"
|
||||
bind "c" "+jumpthrow"
|
||||
|
||||
host_writeconfig
|
@ -13,8 +13,8 @@ link() {
|
||||
|
||||
[ $# -eq 0 ] && help
|
||||
|
||||
#command -v git >/dev/null || echo "Install git to run this script" && exit 1
|
||||
#command -v curl >/dev/null || echo "Install curl to run this script" && exit 1
|
||||
command -v git >/dev/null || (echo "Install git to run this script" && exit 1)
|
||||
command -v curl >/dev/null || (echo "Install curl to run this script" && exit 1)
|
||||
|
||||
for option in "$@"; do
|
||||
case $option in
|
||||
@ -25,6 +25,8 @@ for option in "$@"; do
|
||||
zsh)
|
||||
[ ! -d "$HOME/.config/zsh" ] && mkdir -p "$HOME/.config/zsh"
|
||||
link "$PWD/zsh/.zshrc" "$HOME/.config/zsh/.zshrc"
|
||||
link "$PWD/zsh/aliases" "$HOME/.config/zsh/aliases"
|
||||
link "$PWD/zsh/variables" "$HOME/.config/zsh/variables"
|
||||
curl -fLo $HOME/.config/zsh/zsh-autosuggestions.zsh --create-dirs \
|
||||
https://raw.githubusercontent.com/zsh-users/zsh-autosuggestions/master/zsh-autosuggestions.zsh
|
||||
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $HOME/.config/zsh/zsh-syntax-highlighting
|
||||
@ -61,6 +63,9 @@ for option in "$@"; do
|
||||
link "$PWD/waybar/config" "$HOME/.config/waybar/config"
|
||||
link "$PWD/waybar/style.css" "$HOME/.config/waybar/style.css"
|
||||
;;
|
||||
help)
|
||||
help
|
||||
;;
|
||||
*)
|
||||
printf '\033[0;31mno config file found for "%s"\033[0m\n' "$option"
|
||||
help
|
||||
|
@ -40,7 +40,7 @@ call plug#begin("~/.local/share/nvim/site/autoload/plugged")
|
||||
call plug#end()
|
||||
|
||||
let g:vimtex_view_method = 'zathura'
|
||||
let g:vimtex_view_forward_search_on_start = 0
|
||||
" let g:vimtex_view_forward_search_on_start = 0
|
||||
let g:auto_save = 1
|
||||
let mapleader =","
|
||||
let g:airline#extensions#tabline#enabled = 1
|
||||
|
17
zsh/aliases
Normal file
17
zsh/aliases
Normal file
@ -0,0 +1,17 @@
|
||||
alias sudo='/usr/bin/doas '
|
||||
alias ls='ls --color=auto'
|
||||
alias ll='ls -lAh --color=auto'
|
||||
alias la='ls -A --color=auto'
|
||||
alias l='ls -A --color=auto'
|
||||
alias cp='rsync -ah --progress'
|
||||
alias grep='grep --color=auto'
|
||||
alias sc='source /home/johannes/.config/zsh/.zshrc' # reload zsh configuration
|
||||
alias cn='clear && neofetch'
|
||||
alias live-server='live-server --port=1111 --host=127.0.0.1 --no-css-inject'
|
||||
alias pac='doas pacman'
|
||||
alias minecraft-launcher='minecraft-launcher --workDir /home/johannes/.local/share/minecraft'
|
||||
# Typos
|
||||
alias al="exa -lah"
|
||||
alias vnim="nvim"
|
||||
alias daos="doas "
|
||||
alias celar="clear"
|
17
zsh/variables
Normal file
17
zsh/variables
Normal file
@ -0,0 +1,17 @@
|
||||
# XDG Base Directories
|
||||
export XDG_CONFIG_HOME="$HOME/.config"
|
||||
export XDG_DATA_HOME="$HOME/.local/share"
|
||||
export XDG_STATE_HOME="$HOME/.local/state"
|
||||
export XDG_DATA_DIRS="/usr/local/share:/usr/share"
|
||||
export XDG_CONFIG_DIRS="/etc/xdg"
|
||||
# ~/ Cleanup
|
||||
export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
||||
export GNUPGHOME="$XDG_DATA_HOME"/gnupg
|
||||
export ZDOTDIR="$HOME"/.config/zsh
|
||||
export HISTFILE="${XDG_STATE_HOME}"/bash/history
|
||||
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
|
||||
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
||||
export TEXMFVAR="$XDG_CACHE_HOME"/texlive/texmf-var
|
||||
|
||||
export PATH="$PATH:$HOME/.local/bin:/sbin"
|
||||
export DMENU_COLORS="-nf '#b0bec5' -nb '#000' -sb '#0a0a0a' -sf '#b0bec5' -fn 'JetBrainsMono Nerd Font-12'"
|
Loading…
x
Reference in New Issue
Block a user