-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit c88b676
Showing
71 changed files
with
10,369 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.Xresources |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,132 @@ | ||
!! kev: | ||
*.font: Monospace:pixelsize=24:dpi:360:antialias:true:autohint:false:hinting:true; | ||
|
||
!! kev: | ||
*dpi: 192 | ||
Xft.dpi: 192 | ||
Xft.antialias: true | ||
Xft.autohint: false | ||
Xft.hinting: true | ||
Xft.hintstyle: hintfull | ||
Xft.rgba: rgb | ||
|
||
!! Transparency (0-1): | ||
!st.alpha: 0.92 | ||
st.alpha: 0.80 | ||
|
||
!! Set a default font and font size as below: | ||
!st.font: Monospace-11; | ||
|
||
! st.termname: st-256color | ||
! st.borderpx: 2 | ||
|
||
/* !! gruvbox: */ | ||
*.color0: #1d2021 | ||
*.color1: #cc241d | ||
*.color2: #98971a | ||
*.color3: #d79921 | ||
*.color4: #458588 | ||
*.color5: #b16286 | ||
*.color6: #689d6a | ||
*.color7: #a89984 | ||
*.color8: #928374 | ||
*.color9: #fb4934 | ||
*.color10: #b8bb26 | ||
*.color11: #fabd2f | ||
*.color12: #83a598 | ||
*.color13: #d3869b | ||
*.color14: #8ec07c | ||
*.color15: #ebdbb2 | ||
|
||
/* !! gruvbox light: */ | ||
/* *.color0: #fbf1c7 */ | ||
/* *.color1: #cc241d */ | ||
/* *.color2: #98971a */ | ||
/* *.color3: #d79921 */ | ||
/* *.color4: #458588 */ | ||
/* *.color5: #b16286 */ | ||
/* *.color6: #689d6a */ | ||
/* *.color7: #7c6f64 */ | ||
/* *.color8: #928374 */ | ||
/* *.color9: #9d0006 */ | ||
/* *.color10: #79740e */ | ||
/* *.color11: #b57614 */ | ||
/* *.color12: #076678 */ | ||
/* *.color13: #8f3f71 */ | ||
/* *.color14: #427b58 */ | ||
/* *.color15: #3c3836 */ | ||
|
||
/* !! brogrammer: */ | ||
/* *.foreground: #d6dbe5 */ | ||
/* *.background: #131313 */ | ||
/* *.color0: #1f1f1f */ | ||
/* *.color8: #d6dbe5 */ | ||
/* *.color1: #f81118 */ | ||
/* *.color9: #de352e */ | ||
/* *.color2: #2dc55e */ | ||
/* *.color10: #1dd361 */ | ||
/* *.color3: #ecba0f */ | ||
/* *.color11: #f3bd09 */ | ||
/* *.color4: #2a84d2 */ | ||
/* *.color12: #1081d6 */ | ||
/* *.color5: #4e5ab7 */ | ||
/* *.color13: #5350b9 */ | ||
/* *.color6: #1081d6 */ | ||
/* *.color14: #0f7ddb */ | ||
/* *.color7: #d6dbe5 */ | ||
/* *.color15: #ffffff */ | ||
/* *.colorBD: #d6dbe5 */ | ||
|
||
/* ! base16 */ | ||
/* *.color0: #181818 */ | ||
/* *.color1: #ab4642 */ | ||
/* *.color2: #a1b56c */ | ||
/* *.color3: #f7ca88 */ | ||
/* *.color4: #7cafc2 */ | ||
/* *.color5: #ba8baf */ | ||
/* *.color6: #86c1b9 */ | ||
/* *.color7: #d8d8d8 */ | ||
/* *.color8: #585858 */ | ||
/* *.color9: #ab4642 */ | ||
/* *.color10: #a1b56c */ | ||
/* *.color11: #f7ca88 */ | ||
/* *.color12: #7cafc2 */ | ||
/* *.color13: #ba8baf */ | ||
/* *.color14: #86c1b9 */ | ||
/* *.color15: #f8f8f8 */ | ||
|
||
/* !! solarized */ | ||
/* *.color0: #073642 */ | ||
/* *.color1: #dc322f */ | ||
/* *.color2: #859900 */ | ||
/* *.color3: #b58900 */ | ||
/* *.color4: #268bd2 */ | ||
/* *.color5: #d33682 */ | ||
/* *.color6: #2aa198 */ | ||
/* *.color7: #eee8d5 */ | ||
/* *.color9: #cb4b16 */ | ||
/* *.color8: #fdf6e3 */ | ||
/* *.color10: #586e75 */ | ||
/* *.color11: #657b83 */ | ||
/* *.color12: #839496 */ | ||
/* *.color13: #6c71c4 */ | ||
/* *.color14: #93a1a1 */ | ||
/* *.color15: #fdf6e3 */ | ||
|
||
/* !! xterm */ | ||
/* *.color0: #000000 */ | ||
/* *.color1: #cd0000 */ | ||
/* *.color2: #00cd00 */ | ||
/* *.color3: #cdcd00 */ | ||
/* *.color4: #0000cd */ | ||
/* *.color5: #cd00cd */ | ||
/* *.color6: #00cdcd */ | ||
/* *.color7: #e5e5e5 */ | ||
/* *.color8: #4d4d4d */ | ||
/* *.color9: #ff0000 */ | ||
/* *.color10: #00ff00 */ | ||
/* *.color11: #ffff00 */ | ||
/* *.color12: #0000ff */ | ||
/* *.color13: #ff00ff */ | ||
/* *.color14: #00ffff */ | ||
/* *.color15: #aabac8 */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# | ||
# ~/.bash_logout | ||
# |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.profile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
#!/bin/bash | ||
# __ __ | ||
# / /_ ____ ______/ /_ | ||
# / __ \/ __ `/ ___/ __ \ | ||
# / /_/ / /_/ (__ ) / / / | ||
# /_.___/\__,_/____/_/ /_/ | ||
# bash runtime config file. | ||
|
||
stty -ixon # Disable ctrl-s and ctrl-q. | ||
shopt -s autocd #Allows you to cd into directory merely by typing the directory name. | ||
HISTSIZE= HISTFILESIZE= # Infinite history. | ||
export PS1="\[$(tput bold)\]\[$(tput setaf 1)\][\[$(tput setaf 3)\]\u\[$(tput setaf 2)\]@\[$(tput setaf 4)\]\h \[$(tput setaf 5)\]\W\[$(tput setaf 1)\]]\[$(tput setaf 7)\]\\$ \[$(tput sgr0)\]" | ||
|
||
[ -f "$HOME/.config/shortcutrc" ] && source "$HOME/.config/shortcutrc" # Load shortcut aliases | ||
[ -f "$HOME/.config/aliasrc" ] && source "$HOME/.config/aliasrc" | ||
[ -f "$HOME/.config/aliasrc_a" ] && source "$HOME/.config/aliasrc_a" # kev, load my own custom aliases | ||
|
||
export PATH="$HOME/.vim/bundle/vim-live-latex-preview/bin:$PATH" # kev, add vim-live-latex-preview bin | ||
export PATH="$JAVA_HOME:$PATH" # kev, add JAVA_HOME to the PATH (make sure JAVA_HOME is set to a path first in /etc/profile/) | ||
|
||
echo 'adding aliases to ignore binutils upgrade from 2.30-5'; | ||
pacman() { if [[ "${1:0:2}" == "-S" ]] ; then command pacman "$1" --ignore=binutils "${@:2}"; else command pacman "$@"; fi; } | ||
yay() { if [[ "${1:0:2}" == "-S" ]] ; then command yay "$1" --ignore=binutils "${@:2}"; else command yay "$@"; fi; } | ||
# downgrade: sudo pacman -U https://archive.archlinux.org/packages/b/binutils/binutils-2.30-5-x86_64.pkg.tar.xz | ||
|
||
# >>> conda initialize >>> | ||
# !! Contents within this block are managed by 'conda init' !! | ||
__conda_setup="$('/home/kev/miniconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)" | ||
if [ $? -eq 0 ]; then | ||
eval "$__conda_setup" | ||
else | ||
if [ -f "/home/kev/miniconda3/etc/profile.d/conda.sh" ]; then | ||
. "/home/kev/miniconda3/etc/profile.d/conda.sh" | ||
else | ||
export PATH="/home/kev/miniconda3/bin:$PATH" | ||
fi | ||
fi | ||
unset __conda_setup | ||
conda deactivate; | ||
# <<< conda initialize <<< | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Ignore All: | ||
* | ||
|
||
# Traverse Directories | ||
!*/ | ||
|
||
# Whitelist: | ||
!/compton/** | ||
!/dunst/** | ||
!/fontconfig/** | ||
!/htop/** | ||
!/i3/** | ||
!/ncmpcpp/** | ||
!/neofetch/** | ||
!/nnn/** | ||
!/nvim/** | ||
!/polybar/** | ||
!/qutebrowser/** | ||
!/ranger/** | ||
!/sxhkd/** | ||
!/tmux/** | ||
!/xonsh/** | ||
!/zathura/** | ||
!aliasrc | ||
!aliasrc_a | ||
!bmdirs | ||
!bmfiles | ||
!custom_aliasrc | ||
!README.md | ||
!.gitignore |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
Config Files for programs. | ||
|
||
Other than my rice for: | ||
|
||
* qutebrowser | ||
* polybar | ||
|
||
There is nothing particularly unique here, mostly these config files are copies or slight modifications of existing config files written by [Luke Smith](https://github.com/LukeSmithxyz) and others. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
#!/bin/sh | ||
|
||
alias ka="killall" \ | ||
mkd="mkdir -pv" \ | ||
mpv="mpv --input-ipc-server=/tmp/mpvsoc$(date +%s)" \ | ||
calcurse="calcurse -D ~/.config/calcurse" \ | ||
magit="nvim -c Magit" \ | ||
p="sudo pacman" \ | ||
SS="sudo systemctl" \ | ||
f="$FILE" \ | ||
g="git" \ | ||
trem="transmission-remote" \ | ||
e="$EDITOR" \ | ||
v="$EDITOR" \ | ||
x="sxiv -ft *" \ | ||
sdn="sudo shutdown -h now" \ | ||
gua="git remote | xargs -L1 git push --all" \ | ||
ls="ls -hN --color=auto --group-directories-first" \ | ||
grep="grep --color=auto" \ | ||
diff="diff --color=auto" \ | ||
ccat="highlight --out-format=ansi" \ | ||
yt="youtube-dl --add-metadata -i -o '%(upload_date)s-%(title)s.%(ext)s'" \ | ||
yta="yt -x -f bestaudio/best" \ | ||
YT="youtube-viewer" \ | ||
ref="shortcuts >/dev/null; source ~/.config/shortcutrc" \ | ||
upc="sudo pacman -Syu; pkill -RTMIN+8 i3blocks" \ | ||
lsp="pacman -Qett --color=always | less" \ | ||
ffmpeg="ffmpeg -hide_banner" | ||
|
||
command -v nvim >/dev/null && alias vim="nvim" vimdiff="nvim -d" # Use neovim for vim if present. | ||
|
||
shdl() { curl -O $(curl -s http://sci-hub.tw/"$@" | grep location.href | grep -o http.*pdf) ;} | ||
se() { du -a ~/.local/bin/* ~/.config/* | awk '{print $2}' | fzf | xargs -r $EDITOR ;} | ||
sv() { vcopy "$(du -a ~/.local/bin/* ~/.config/* | awk '{print $2}' | fzf)" ;} | ||
vf() { fzf | xargs -r -I % $EDITOR % ;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
#!/bin/sh | ||
|
||
# Useful aliases from Oh-My-Zsh | ||
alias gsb="git status -sb" \ | ||
gss="git status -s" \ | ||
gst="git status" \ | ||
gl="git pull" \ | ||
ga="git add" \ | ||
grm="git rm" \ | ||
gcmsg="git commit -m"; | ||
|
||
# Homemade aliases | ||
alias c="clear" \ | ||
l="ls -lahN --color=auto --group-directories-first" \ | ||
i="htop -t" \ | ||
yps="yay -Ps" \ | ||
yys="yay -Syu" \ | ||
yyf="yay -Syyu" \ | ||
yls="yay -Ql" \ | ||
ycl="yay -Yc && paccache -r" \ | ||
car="conda activate" \ | ||
cdr="conda deactivate" \ | ||
cup="conda update conda pip" \ | ||
cua="conda update --all" \ | ||
ccl="conda clean --yes --all" \ | ||
gpp="git pull && git push origin master" \ | ||
lamp="ps -u $(whoami)" \ | ||
kamp="killall -u $(whoami)" \ | ||
nv="nvidia-smi" \ | ||
nvw="watch -n 2 nvidia-smi" \ | ||
lptl="sudo lsof -i -P -n | grep LISTEN" \ | ||
appsync="rsync -avxP" \ | ||
mirsync="rsync -avxP --delete" \ | ||
jup="jupyter notebook --ip=127.0.0.1 --port=8888"; # Need to explicitly set ip and port to use jupyter with nordvpn | ||
|
||
alias cl="ycl && ccl"; # Clear all caches |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# You can add comments to these files with # | ||
h ~/ | ||
qc ~/crunch | ||
qt ~/crunch-thesis | ||
d ~/Documents | ||
D ~/Downloads | ||
m ~/Music | ||
pp ~/Pictures | ||
vv ~/Videos | ||
cf ~/.config | ||
sc ~/.local/bin | ||
mn /mnt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
bf ~/.config/bmfiles | ||
bd ~/.config/bmdirs | ||
cfa ~/.config/aliasrc |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# __ | ||
# _________ ____ ___ ____ / /_____ ____ | ||
# / ___/ __ \/ __ `__ \/ __ \/ __/ __ \/ __ \ | ||
# / /__/ /_/ / / / / / / /_/ / /_/ /_/ / / / / | ||
# \___/\____/_/ /_/ /_/ .___/\__/\____/_/ /_/ | ||
# /_/ | ||
# compton compositor runtime config. | ||
|
||
# Shadow | ||
shadow = false; | ||
|
||
# Fade | ||
fading = true; | ||
#fade-delta = 30; | ||
fade-in-step = 0.1; | ||
fade-out-step = 0.1; | ||
|
||
# Other | ||
backend = "glx"; | ||
#backend = "xrender"; | ||
vsync = true; # Reduces single monitor tearing | ||
#vsync = "opengl-oml"; # Also reduces single monitor tearing |
Oops, something went wrong.