mirror of
https://github.com/ksyasuda/rice.git
synced 2024-11-22 03:19:58 -08:00
updates
This commit is contained in:
parent
3beba43128
commit
9f83a86aca
@ -1,5 +1,13 @@
|
||||
alias sudo='sudo -v; sudo '
|
||||
alias suda='sudo'
|
||||
|
||||
alias vi=vim
|
||||
|
||||
alias qutebrowser="qutebrowser --qt-arg stylesheet $HOME/.local/share/qutebrowser/fix-tooltips.qss"
|
||||
|
||||
# Aniwrapper
|
||||
alias aniwrapper='aniwrapper -qD 144'
|
||||
|
||||
## Colorls
|
||||
alias lca='colorls -A --sd --gs -X'
|
||||
alias lc='colorls --sd --gs -X'
|
||||
@ -7,7 +15,7 @@ alias lcl='colorls --sd --gs -Xl'
|
||||
alias lcla='colorls -lA --sd --gs -X'
|
||||
alias lcal='colorls -lA --sd --gs -X'
|
||||
alias lct='colorls --gs --tree=5'
|
||||
alias ls='colorls --sd -Xl'
|
||||
alias ls='colorls --sd -X'
|
||||
|
||||
## Pacman/Yay
|
||||
# update without noconfirm
|
||||
@ -24,9 +32,10 @@ alias ys='yarn start'
|
||||
alias yi='yarn install'
|
||||
|
||||
## Git
|
||||
alias gs='git status'
|
||||
alias gc='git commit'
|
||||
alias gp='git push'
|
||||
alias gst='git status'
|
||||
alias gcmt='git commit'
|
||||
alias gpush='git push'
|
||||
alias gpull='git pull'
|
||||
|
||||
## Helpful
|
||||
alias count='ls -l | wc -l'
|
||||
@ -53,6 +62,9 @@ alias drop_cache="sudo sh -c \"echo 3 >'/proc/sys/vm/drop_caches' && swapoff -a
|
||||
# mkdir
|
||||
alias mkdir='mkdir -p'
|
||||
|
||||
# wallpapers
|
||||
alias mysan='feh --bg-scale ~/.wallpapers/MYSanGun-Inverted.png ~/.wallpapers/MYSanGun.png'
|
||||
|
||||
## I'm Lazy
|
||||
alias scripts='cd /home/sudacode/scripts'
|
||||
alias freud='cd /home/sudacode/'
|
||||
@ -78,12 +90,23 @@ alias ncdu='ncdu --color dark'
|
||||
alias updates='~/SudacodeRice/scripts/package-updates'
|
||||
alias aliases='cat ~/.bash_aliases'
|
||||
alias sauce='~/Videos/sauce/'
|
||||
alias aniedit='emc ~/Projects/Scripts/ani-cli/'
|
||||
alias wmedit='emc ~/.config/i3/config'
|
||||
alias ani='cd $HOME/Projects/Scripts/ani-cli'
|
||||
alias ani='cd $HOME/Projects/Scripts/aniwrapper'
|
||||
alias archvm='VBoxManage startvm "arch-vm"'
|
||||
alias chrome='google-chrome-beta --profile-directory="Profile 1" &>/dev/null &'
|
||||
alias bar='~/SudacodeRice/scripts/launch_desktop.sh'
|
||||
alias nord=nordvpn
|
||||
alias lzd=lazydocker
|
||||
alias lzg=lazygit
|
||||
alias mounts='sudo ~/scripts/mounts.sh'
|
||||
alias dc=docker-compose # sorry calculator
|
||||
alias vimconf='vim ~/.vimrc'
|
||||
alias sctl=systemctl
|
||||
alias pyex='python -m'
|
||||
|
||||
## Rice
|
||||
alias config='/usr/bin/git --git-dir=$HOME/rice/ --work-tree=$HOME'
|
||||
alias config='/usr/bin/git --git-dir=$HOME/dotfiles/ --work-tree=$HOME'
|
||||
alias pushdots='config push senpai'
|
||||
alias commitdots='config commit'
|
||||
alias cs='config status'
|
||||
alias f=floaterm
|
||||
|
@ -214,19 +214,19 @@
|
||||
# Current directory background color.
|
||||
typeset -g POWERLEVEL9K_DIR_BACKGROUND=4
|
||||
# Default current directory foreground color.
|
||||
typeset -g POWERLEVEL9K_DIR_FOREGROUND=254
|
||||
typeset -g POWERLEVEL9K_DIR_FOREGROUND=15
|
||||
# If directory is too long, shorten some of its segments to the shortest possible unique
|
||||
# prefix. The shortened directory can be tab-completed to the original.
|
||||
typeset -g POWERLEVEL9K_SHORTEN_STRATEGY=truncate_to_unique
|
||||
# Replace removed segment suffixes with this symbol.
|
||||
typeset -g POWERLEVEL9K_SHORTEN_DELIMITER=
|
||||
# Color of the shortened directory segments.
|
||||
typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=250
|
||||
typeset -g POWERLEVEL9K_DIR_SHORTENED_FOREGROUND=15
|
||||
# Color of the anchor directory segments. Anchor segments are never shortened. The first
|
||||
# segment is always an anchor.
|
||||
typeset -g POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=255
|
||||
typeset -g POWERLEVEL9K_DIR_ANCHOR_FOREGROUND=15
|
||||
# Display anchor directory segments in bold.
|
||||
typeset -g POWERLEVEL9K_DIR_ANCHOR_BOLD=true
|
||||
typeset -g POWERLEVEL9K_DIR_ANCHOR_BOLD=false
|
||||
# Don't shorten directories that contain any of these files. They are anchors.
|
||||
local anchor_files=(
|
||||
.bzr
|
||||
@ -1559,14 +1559,14 @@
|
||||
typeset -g POWERLEVEL9K_VPN_IP_BACKGROUND=6
|
||||
# When on VPN, show just an icon without the IP address.
|
||||
# Tip: To display the private IP address when on VPN, remove the next line.
|
||||
typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION='VPN'
|
||||
# typeset -g POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION='VPN'
|
||||
# Regular expression for the VPN network interface. Run `ifconfig` or `ip -4 a show` while on VPN
|
||||
# to see the name of the interface.
|
||||
typeset -g POWERLEVEL9K_VPN_IP_INTERFACE='(globalprotect|gpd|wg|(.*tun)|tailscale)[0-9]*'
|
||||
# If set to true, show one segment per matching network interface. If set to false, show only
|
||||
# one segment corresponding to the first matching network interface.
|
||||
# Tip: If you set it to true, you'll probably want to unset POWERLEVEL9K_VPN_IP_CONTENT_EXPANSION.
|
||||
typeset -g POWERLEVEL9K_VPN_IP_SHOW_ALL=false
|
||||
typeset -g POWERLEVEL9K_VPN_IP_SHOW_ALL=true
|
||||
# Custom icon.
|
||||
# typeset -g POWERLEVEL9K_VPN_IP_VISUAL_IDENTIFIER_EXPANSION='⭐'
|
||||
|
||||
|
@ -53,25 +53,25 @@ call plug#begin('~/.vim/plugged')
|
||||
Plug 'tpope/vim-fugitive'
|
||||
Plug 'tpope/vim-commentary'
|
||||
Plug 'tpope/vim-surround'
|
||||
Plug 'preservim/nerdtree' | Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||
Plug 'junegunn/fzf', { 'do': { -> fzf#install() } }
|
||||
Plug 'junegunn/fzf.vim'
|
||||
Plug 'itchyny/lightline.vim'
|
||||
Plug 'dense-analysis/ale'
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
Plug 'wakatime/vim-wakatime'
|
||||
Plug 'voldikss/vim-floaterm'
|
||||
Plug 'ryanoasis/vim-devicons'
|
||||
Plug 'pechorin/any-jump.vim'
|
||||
Plug 'jiangmiao/auto-pairs'
|
||||
Plug 'ap/vim-css-color'
|
||||
Plug 'ap/vim-buftabline'
|
||||
Plug 'itchyny/lightline.vim'
|
||||
Plug 'wakatime/vim-wakatime'
|
||||
Plug 'preservim/nerdtree' | Plug 'Xuyuanp/nerdtree-git-plugin'
|
||||
Plug 'prettier/vim-prettier', { 'do': 'yarn install' }
|
||||
Plug 'sheerun/vim-polyglot'
|
||||
Plug 'dense-analysis/ale'
|
||||
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||
Plug 'maximbaz/lightline-ale'
|
||||
Plug 'liuchengxu/vim-which-key', { 'on': ['WhichKey', 'WhichKey!'] }
|
||||
Plug 'osyo-manga/vim-over'
|
||||
Plug 'voldikss/vim-floaterm'
|
||||
" Plug 'windwp/vim-floaterm-repl'
|
||||
Plug 'mhinz/vim-startify'
|
||||
|
||||
" colorschemes
|
||||
Plug 'joshdick/onedark.vim'
|
||||
@ -599,31 +599,37 @@ command! Reload execute "source ~/.vimrc"
|
||||
command! Config execute ":e ~/.vimrc"
|
||||
command! Env execute ":Dotenv .env"
|
||||
command! MakeTags !ctags -R .
|
||||
command! Ovewrite execute ":w !sudo tee %"
|
||||
command! Aniwrapper execute ":FloatermNew aniwrapper -qtdoomone -D 144"
|
||||
"------------------------------------------------------------------------------
|
||||
"KEYBINDINGS
|
||||
"------------------------------------------------------------------------------
|
||||
let g:mapleader = "\<Space>"
|
||||
let g:maplocalleader = ','
|
||||
nnoremap <silent> <leader> :<c-u>WhichKey '<Space>'<CR>
|
||||
nnoremap <silent> <localleader> :<c-u>WhichKey ','<CR>
|
||||
map <F5> :!
|
||||
map <C-n> :NERDTreeToggle<CR>
|
||||
map <C-l> :LivedownToggle<CR>
|
||||
nmap <silent> <leader> :<c-u>WhichKey '<Space>'<CR>
|
||||
nmap <silent> <localleader> :<c-u>WhichKey ','<CR>
|
||||
nmap <F5> :!
|
||||
nmap <C-n> :NERDTreeToggle<CR>
|
||||
" nnoremap <C-T> :wa<CR>:vertical botright term ++kill=term<CR>
|
||||
nnoremap <C-T> :wa<CR>:FloatermToggle<CR>
|
||||
nmap <C-T> :wa<CR>:FloatermToggle<CR>
|
||||
nmap Q !!$SHELL<CR>
|
||||
|
||||
" fzf
|
||||
nmap // :CocCommand fzf-preview.Lines<CR>
|
||||
nmap ?? :CocCommand fzf-preview.BufferLines<CR>
|
||||
nnoremap // :CocCommand fzf-preview.Lines<CR>
|
||||
nnoremap ?? :CocCommand fzf-preview.BufferLines<CR>
|
||||
" search fzf, refs, impls, defs
|
||||
nmap <leader>ff :FloatermNew --title=fzf fzf<CR>
|
||||
" aniwrapper/ani-cli (until i find better use for a keys)
|
||||
nmap <leader>as :FloatermNew --title=aniwrapper aniwrapper -qtdoomone -D144<CR>
|
||||
nmap <leader>ad :FloatermNew --title=aniwrapper ani-cli -q720p -cd/home/sudacode/Videos/sauce -D144<CR>
|
||||
" buffers
|
||||
nmap <leader>bB :CocCommand fzf-preview.AllBuffers<CR>
|
||||
nmap <leader>bb :CocCommand fzf-preview.Buffers<CR>
|
||||
nmap <leader>bk :bdelete<CR>
|
||||
nmap <leader>bn :bnext<CR>
|
||||
nmap <leader>bp :bprev<CR>
|
||||
map <C-J> :bnext<CR>
|
||||
map <C-K> :bprev<CR>
|
||||
nmap <C-J> :bnext<CR>
|
||||
nmap <C-K> :bprev<CR>
|
||||
" git
|
||||
nmap <leader>gc :CocCommand fzf-preview.GitLogs<CR>
|
||||
nmap <leader>gf :CocCommand fzf-preview.GitFiles<CR>
|
||||
@ -645,5 +651,5 @@ nmap <leader>or :FloatermNew --title=ranger ranger --cmd="cd $PWD"<CR>
|
||||
nmap <leader>ot :vertical botright ter ++kill=terminal ++close<CR>
|
||||
" search
|
||||
nmap <leader>sc :nohls<Cr>
|
||||
"toggle coc outline
|
||||
noremap <leader>to :CocOutline<CR>
|
||||
" toggle coc outline
|
||||
nmap <leader>to :CocOutline<CR>
|
||||
|
@ -163,7 +163,6 @@ opacity-rule = [
|
||||
"100:class_g = 'mpv'",
|
||||
|
||||
"95:class_g = 'firefoxdeveloperedition' && focused",
|
||||
"90:class_g = 'firefoxdeveloperedition' && !focused",
|
||||
|
||||
"90:class_g = 'Alacritty' && focused",
|
||||
"90:class_g = 'Emacs' && focused",
|
||||
@ -171,10 +170,11 @@ opacity-rule = [
|
||||
"90:class_g = 'Thunderbird' && focused",
|
||||
"90:class_g = 'qutebrowser' && focused",
|
||||
|
||||
"90:class_g = 'DBeaver' && !focused",
|
||||
"90:class_g = 'firefoxdeveloperedition' && !focused",
|
||||
|
||||
"85:class_g = 'Alacritty' && !focused",
|
||||
"85:class_g = 'Bitwarden' && !focused",
|
||||
"85:class_g = 'DBeaver' && !focused",
|
||||
"85:class_g = 'Emacs' && !focused",
|
||||
"85:class_g = 'Joplin' && !focused",
|
||||
"85:class_g = 'Microsoft Teams - Preview' && !focused",
|
||||
@ -487,7 +487,7 @@ rounded-corners-exclude = [
|
||||
blur: {
|
||||
method = "dual_kawase";
|
||||
# method = "kawase";
|
||||
strength = 3;
|
||||
strength = 2;
|
||||
background = true;
|
||||
background-frame = false;
|
||||
background-fixed = false;
|
||||
|
Loading…
Reference in New Issue
Block a user