New install scripts, consistent folder structure

This commit is contained in:
2023-03-06 09:40:49 +01:00
parent f955b587e7
commit 33c20614d9
26 changed files with 35 additions and 8 deletions

4
Misc/Home/.bashrc.part Normal file
View File

@@ -0,0 +1,4 @@
for f in ~/.dotfiles/*
do
source $f
done

View File

@@ -0,0 +1,5 @@
{
"colorscheme": "simple",
"softwrap": true,
"wordwrap": true
}

View File

@@ -0,0 +1,11 @@
alias cd..="cd .."
alias miclisten="pactl load-module module-loopback latency_msec=1"
alias micunlisten="pactl unload-module module-loopback"
# alias tcpdumpeth="sudo tcpdump -i enp37s0 -l -Q in"
alias termbin="nc termbin.com 9999"
alias gitclone1="git clone --depth 1"
alias pngcrs="pngcrush -brute"

View File

@@ -0,0 +1,9 @@
export EDITOR=micro
export ANDROID_HOME=$HOME/Android/Sdk
export ANDROID_SDK_ROOT=$HOME/Android/Sdk
export PATH=$PATH:$ANDROID_HOME/tools
export PATH=$PATH:$ANDROID_HOME/platform-tools
export PATH=$PATH:$HOME/.cargo/bin
export PATH=$PATH:$HOME/.local/bin

View File

@@ -0,0 +1,27 @@
function cdexec() {
cd "$( dirname "$( realpath "$@" )" )"
basename "$@"
}
function touchx() {
touch "$@"
chmod +x "$@"
}
function ccr() {
gcc "$@" && ./a.out
}
function cxxr() {
g++ "$@" && ./a.out
}
function gitacp() {
git add .
git commit -m "$1" && git push
}
function gitacpc() {
git add .
git commit && git push
}

24
Misc/Home/.tmux.conf Normal file
View File

@@ -0,0 +1,24 @@
# Enable full Mouse support
set -g mouse on
# Refresh Status Bar every 1 second
set -g status-interval 1
# Reassign Shortcuts
bind | split-window -h
bind - split-window -v
# Status Bar
set -g status-position bottom
set -g status-style 'bg=black fg=pink'
set -g status-left ' #S '
set -g status-right ' %H:%M:%S '
setw -g window-status-current-style 'bg=pink fg=black bold'
setw -g window-status-current-format ' #W '
setw -g window-status-style 'bg=brightblack fg=pink'
setw -g window-status-format ' #W '
# Message Bar
set -g message-style 'bg=pink fg=black bold'