mirror of
https://gitlab.com/octospacc/Configs.git
synced 2025-06-05 21:59:36 +02:00
New install scripts, consistent folder structure
This commit is contained in:
4
Misc/Home/.bashrc.part
Normal file
4
Misc/Home/.bashrc.part
Normal file
@@ -0,0 +1,4 @@
|
||||
for f in ~/.dotfiles/*
|
||||
do
|
||||
source $f
|
||||
done
|
5
Misc/Home/.config/micro/settings.json
Normal file
5
Misc/Home/.config/micro/settings.json
Normal file
@@ -0,0 +1,5 @@
|
||||
{
|
||||
"colorscheme": "simple",
|
||||
"softwrap": true,
|
||||
"wordwrap": true
|
||||
}
|
11
Misc/Home/.dotfiles/aliasrc
Normal file
11
Misc/Home/.dotfiles/aliasrc
Normal 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"
|
9
Misc/Home/.dotfiles/exportrc
Normal file
9
Misc/Home/.dotfiles/exportrc
Normal 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
|
27
Misc/Home/.dotfiles/functrc
Normal file
27
Misc/Home/.dotfiles/functrc
Normal 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
24
Misc/Home/.tmux.conf
Normal 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'
|
Reference in New Issue
Block a user