Compare commits
10 commits
b446242ef5
...
888cdf0997
Author | SHA1 | Date | |
---|---|---|---|
![]() |
888cdf0997 | ||
![]() |
a43b588a31 | ||
![]() |
a6cb69e14d | ||
![]() |
34ede8a130 | ||
![]() |
e5cc0fee69 | ||
![]() |
3c0a1de6b3 | ||
![]() |
fa0d7ff175 | ||
![]() |
6a1e21edd6 | ||
![]() |
9ffcf69aa8 | ||
![]() |
84d637e039 |
9 changed files with 87 additions and 10 deletions
|
@ -3,11 +3,6 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
export QT_STYLE_OVERIDE=GTK+
|
|
||||||
export GDK_BACKEND=wayland
|
|
||||||
export GTK_THEME=Adwaita:dark
|
|
||||||
export GTK2_RC_FILES=/usr/share/themes/Raleigh/gtk-3.0/gtkrc
|
|
||||||
export _JAVA_AWT_WM_NONREPARENTING=1
|
|
||||||
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
[[ -f ~/.bashrc ]] && . ~/.bashrc
|
||||||
|
|
||||||
# [ -z "$DISPLAY" ] &&
|
# [ -z "$DISPLAY" ] &&
|
||||||
|
|
1
.bashrc
1
.bashrc
|
@ -1 +0,0 @@
|
||||||
/home/kappa/dotfiles/.bashrc
|
|
53
.bashrc
Normal file
53
.bashrc
Normal file
|
@ -0,0 +1,53 @@
|
||||||
|
# ~/.bashrc
|
||||||
|
# If not running interactively, don't do anything
|
||||||
|
[[ $- != *i* ]] && return
|
||||||
|
# alias ls='ls --color=auto'
|
||||||
|
export EDITOR=vim
|
||||||
|
set -o vi
|
||||||
|
alias phone="sudo jmtpfs -o allow_other ~/fleshic"
|
||||||
|
alias lh="last | head"
|
||||||
|
alias nano=vim
|
||||||
|
alias VIM="vim -u ~/.vim/essential.vim"
|
||||||
|
alias ed="ed -p '> ' -v"
|
||||||
|
alias ultitex="cd ~/.vim/UltiSnips/tex"
|
||||||
|
alias ulti="cd ~/.vim/UltiSnips"
|
||||||
|
export PATH="$HOME/.local/bin:$HOME/bin:$PATH"
|
||||||
|
export HISTCONTROL=ignorespace
|
||||||
|
export HISTSIZE=10000
|
||||||
|
export QT_QPA_PLATFORM=wayland
|
||||||
|
export QT_QPA_PLATFORM=xcb
|
||||||
|
export QT_QPA_PLATFORMTHEME=qt5ct
|
||||||
|
export GOPATH="$HOME/.local/go"
|
||||||
|
export PATH="$GOPATH/bin:$PATH"
|
||||||
|
export GOPATH="$GOPATH:$HOME/projects/working/go"
|
||||||
|
export GOPROXY="direct"
|
||||||
|
export CLASSPATH=".:/usr/share/java/antlr-complete.jar:$CLASSPATH"
|
||||||
|
export PATH="$HOME/.cargo/bin/:$PATH"
|
||||||
|
export GEM_HOME=$(gem env user_gemhome)
|
||||||
|
export PATH="$GEM_HOME/bin:$PATH"
|
||||||
|
export PATH="$HOME/down/pkgs/flutter/bin:$PATH"
|
||||||
|
export MOZ_ENABLE_WAYLAND=1
|
||||||
|
osc7_cwd() {
|
||||||
|
local strlen=${#PWD}
|
||||||
|
local encoded=""
|
||||||
|
local pos c o
|
||||||
|
for (( pos=0; pos<strlen; pos++ )); do
|
||||||
|
c=${PWD:$pos:1}
|
||||||
|
case "$c" in
|
||||||
|
[-/:_.!\'\(\)~[:alnum:]] ) o="${c}" ;;
|
||||||
|
* ) printf -v o '%%%02X' "'${c}" ;;
|
||||||
|
esac
|
||||||
|
encoded+="${o}"
|
||||||
|
done
|
||||||
|
printf '\e]7;file://%s%s\e\\' "${HOSTNAME}" "${encoded}"
|
||||||
|
PROMPT_COMMAND=${PROMPT_COMMAND:+$PROMPT_COMMAND; }osc7_cwd
|
||||||
|
alias ranger=". ranger"
|
||||||
|
alias r="ranger"
|
||||||
|
alias tremc="tremc -X"
|
||||||
|
alias mount-user="mount -o umask=000"
|
||||||
|
alias ida="QT_QPA_PLATFORM=xcb ida64"
|
||||||
|
alias binaryninja="/opt/binaryninja-free/binaryninja"
|
||||||
|
|
||||||
|
export BORG_REPO=/run/media/kappa/Transcend
|
||||||
|
|
||||||
|
eval "$(rbenv init -)"
|
|
@ -68,3 +68,4 @@ SETUVAR fish_pager_color_selected_completion:\x1d
|
||||||
SETUVAR fish_pager_color_selected_description:\x1d
|
SETUVAR fish_pager_color_selected_description:\x1d
|
||||||
SETUVAR fish_pager_color_selected_prefix:\x1d
|
SETUVAR fish_pager_color_selected_prefix:\x1d
|
||||||
SETUVAR fish_user_paths:/home/matt/\x2elocal/share/pnpm\x1e/home/matt/\x2elocal/share/nvim/mason/bin\x1e/home/matt/\x2eyarn/bin\x1e/home/matt/\x2elocal/share/npm/bin\x1e/home/matt/\x2elocal/share/bob/nvim\x2dbin\x1e/home/matt/\x2elocal/share/bun/bin\x1e/usr/lib/go/bin\x1e/usr/lib/rustup/bin\x1e/sbin\x1e/bin\x1e/usr/sbin\x1e/usr/bin\x1e/usr/local/sbin\x1e/usr/local/bin\x1e/home/matt/\x2elocal/share/cargo/bin\x1e/home/matt/\x2elocal/share/go/bin\x1e/home/matt/\x2elocal/bin/color\x2dscripts\x1e/home/matt/\x2elocal/bin
|
SETUVAR fish_user_paths:/home/matt/\x2elocal/share/pnpm\x1e/home/matt/\x2elocal/share/nvim/mason/bin\x1e/home/matt/\x2eyarn/bin\x1e/home/matt/\x2elocal/share/npm/bin\x1e/home/matt/\x2elocal/share/bob/nvim\x2dbin\x1e/home/matt/\x2elocal/share/bun/bin\x1e/usr/lib/go/bin\x1e/usr/lib/rustup/bin\x1e/sbin\x1e/bin\x1e/usr/sbin\x1e/usr/bin\x1e/usr/local/sbin\x1e/usr/local/bin\x1e/home/matt/\x2elocal/share/cargo/bin\x1e/home/matt/\x2elocal/share/go/bin\x1e/home/matt/\x2elocal/bin/color\x2dscripts\x1e/home/matt/\x2elocal/bin
|
||||||
|
SETUVAR fish_user_paths:/home/kappa/bin\x1e/home/kappa/\x2elocal/share/nvim/mason/bin\x1e/home/kappa/\x2elocal/share/go/bin\x1e/home/kappa/\x2elocal/bin/color\x2dscripts\x1e/home/kappa/\x2elocal/bin\x1e/home/matt/\x2elocal/share/pnpm\x1e/home/matt/\x2elocal/share/nvim/mason/bin\x1e/home/matt/\x2eyarn/bin\x1e/home/matt/\x2elocal/share/npm/bin\x1e/home/matt/\x2elocal/share/bob/nvim\x2dbin\x1e/home/matt/\x2elocal/share/bun/bin\x1e/usr/lib/go/bin\x1e/usr/lib/rustup/bin\x1e/sbin\x1e/bin\x1e/usr/sbin\x1e/usr/bin\x1e/usr/local/sbin\x1e/usr/local/bin\x1e/home/matt/\x2elocal/share/cargo/bin\x1e/home/matt/\x2elocal/share/go/bin\x1e/home/matt/\x2elocal/bin/color\x2dscripts\x1e/home/matt/\x2elocal/bin
|
||||||
|
|
|
@ -57,10 +57,13 @@ fish_add_path $XDG_DATA_HOME/bob/nvim-bin
|
||||||
fish_add_path $XDG_DATA_HOME/npm/bin
|
fish_add_path $XDG_DATA_HOME/npm/bin
|
||||||
fish_add_path $XDG_DATA_HOME/nvim/mason/bin
|
fish_add_path $XDG_DATA_HOME/nvim/mason/bin
|
||||||
fish_add_path $HOME/.yarn/bin
|
fish_add_path $HOME/.yarn/bin
|
||||||
|
fish_add_path $HOME/bin
|
||||||
fish_add_path $XDG_DATA_HOME/pnpm
|
fish_add_path $XDG_DATA_HOME/pnpm
|
||||||
|
|
||||||
|
eval "$(rbenv init -)"
|
||||||
|
|
||||||
# Editor
|
# Editor
|
||||||
set -xg EDITOR nvim
|
set -xg EDITOR vim
|
||||||
set -xg VISUAL $EDITOR
|
set -xg VISUAL $EDITOR
|
||||||
set -xg SUDO_EDITOR $EDITOR
|
set -xg SUDO_EDITOR $EDITOR
|
||||||
|
|
||||||
|
|
|
@ -26,7 +26,7 @@
|
||||||
helper = libsecret
|
helper = libsecret
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
editor = nvim
|
editor = vim
|
||||||
pager = delta
|
pager = delta
|
||||||
excludesfile = ~/.config/git/ignore
|
excludesfile = ~/.config/git/ignore
|
||||||
|
|
||||||
|
@ -42,7 +42,7 @@
|
||||||
line-numbers = true
|
line-numbers = true
|
||||||
|
|
||||||
[merge]
|
[merge]
|
||||||
tool = nvimdiff
|
tool = vimdiff
|
||||||
conflictstyle = diff3
|
conflictstyle = diff3
|
||||||
|
|
||||||
[diff]
|
[diff]
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
monitor=eDP-1, preferred, auto, 1
|
monitor=eDP-1, preferred, auto, 1
|
||||||
|
|
||||||
# Second Monitor
|
# Second Monitor
|
||||||
monitor=DP-3, 2560x1080@74.99, 0x0,1.0
|
monitor=HDMI-A-1, preferred, auto,1.0
|
||||||
|
|
||||||
# Third Monitor
|
# Third Monitor
|
||||||
monitor=HDMI-A-1, 1920x1080@74.97, 2560x300,1.0
|
monitor=HDMI-A-1, 1920x1080@74.97, 2560x300,1.0
|
||||||
|
|
|
@ -180,6 +180,7 @@ ext cbz, has zathura, X, flag f = zathura -- "$@"
|
||||||
mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@"
|
mime ^image/svg, has inkscape, X, flag f = inkscape -- "$@"
|
||||||
mime ^image/svg, has display, X, flag f = display -- "$@"
|
mime ^image/svg, has display, X, flag f = display -- "$@"
|
||||||
|
|
||||||
|
mime ^image, has qimgv, X, flag f = qimgv -- "$@"
|
||||||
mime ^image, has imv, X, flag f = imv -- "$@"
|
mime ^image, has imv, X, flag f = imv -- "$@"
|
||||||
mime ^image, has pqiv, X, flag f = pqiv -- "$@"
|
mime ^image, has pqiv, X, flag f = pqiv -- "$@"
|
||||||
mime ^image, has sxiv, X, flag f = sxiv -- "$@"
|
mime ^image, has sxiv, X, flag f = sxiv -- "$@"
|
||||||
|
|
|
@ -13,4 +13,18 @@
|
||||||
"margin-bottom": 0,
|
"margin-bottom": 0,
|
||||||
"margin-right": 10,
|
"margin-right": 10,
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"include": "~/.config/waybar/bars/bar-2.jsonc",
|
||||||
|
"height": 48,
|
||||||
|
"layer": "top",
|
||||||
|
"output": "HDMI-A-1",
|
||||||
|
"mode": "dock",
|
||||||
|
"exclusive": true,
|
||||||
|
"passtrough": false,
|
||||||
|
"gtk-layer-shell": true,
|
||||||
|
"margin-top": 5,
|
||||||
|
"margin-left": 5,
|
||||||
|
"margin-bottom": 0,
|
||||||
|
"margin-right": 10,
|
||||||
|
},
|
||||||
]
|
]
|
||||||
|
|
|
@ -38,6 +38,17 @@ snippet fgg "Figure with label" bA
|
||||||
\end{figure}
|
\end{figure}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
|
snippet tbl "Table with label" bA
|
||||||
|
\begin{table}${1:[$2]}
|
||||||
|
\centering
|
||||||
|
\begin{tabular}${3:\{$4\}}
|
||||||
|
$5
|
||||||
|
\end{tabular}
|
||||||
|
${6:\caption{$7}
|
||||||
|
\label{$8}}
|
||||||
|
\end{table}
|
||||||
|
endsnippet
|
||||||
|
|
||||||
# snippet nn "Equation environment with suppressed numbering" bA
|
# snippet nn "Equation environment with suppressed numbering" bA
|
||||||
# \begin{equation*}
|
# \begin{equation*}
|
||||||
# $1
|
# $1
|
||||||
|
|
Loading…
Add table
Reference in a new issue