Inital Commit
This commit is contained in:
11
config/X11/xinitrc
Executable file
11
config/X11/xinitrc
Executable file
@@ -0,0 +1,11 @@
|
|||||||
|
setxkbmap -option "ctrl:nocaps"
|
||||||
|
xwallpaper --zoom ~/Pictures/wallpaper.jpg &
|
||||||
|
picom --config ~/.config/picom/picom.conf &
|
||||||
|
# libinput-gestures &
|
||||||
|
#discord --start-minimized &
|
||||||
|
conky &
|
||||||
|
unclutter &
|
||||||
|
twmnd &
|
||||||
|
aa-notify -p -s 1 -w 60 -f /var/log/audit/audit.log &
|
||||||
|
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||||
|
exec bspwm
|
||||||
84
config/alacritty/alacritty.yml
Normal file
84
config/alacritty/alacritty.yml
Normal file
@@ -0,0 +1,84 @@
|
|||||||
|
env:
|
||||||
|
TERM: alacritty
|
||||||
|
|
||||||
|
|
||||||
|
colors:
|
||||||
|
primary:
|
||||||
|
background: '#000000'
|
||||||
|
foreground: '#f0f0f0'
|
||||||
|
|
||||||
|
cursor:
|
||||||
|
text: '0x44475a'
|
||||||
|
cursor: '0xf8f8f2'
|
||||||
|
|
||||||
|
selection:
|
||||||
|
text: '0xf8f8f2'
|
||||||
|
background: '0x44475a'
|
||||||
|
|
||||||
|
normal:
|
||||||
|
black: '0x000000'
|
||||||
|
red: '0xff5555'
|
||||||
|
green: '0x50fa7b'
|
||||||
|
yellow: '0xf1fa8c'
|
||||||
|
blue: '0xbd93f9'
|
||||||
|
magenta: '0xff79c6'
|
||||||
|
cyan: '0x8be9fd'
|
||||||
|
white: '0xbfbfbf'
|
||||||
|
|
||||||
|
bright:
|
||||||
|
black: '0x4d4d4d'
|
||||||
|
red: '0xff6e67'
|
||||||
|
green: '0x5af78e'
|
||||||
|
yellow: '0xf4f99d'
|
||||||
|
blue: '0xcaa9fa'
|
||||||
|
magenta: '0xff92d0'
|
||||||
|
cyan: '0x9aedfe'
|
||||||
|
white: '0xe6e6e6'
|
||||||
|
|
||||||
|
dim:
|
||||||
|
black: '0x14151b'
|
||||||
|
red: '0xff2222'
|
||||||
|
green: '0x1ef956'
|
||||||
|
yellow: '0xebf85b'
|
||||||
|
blue: '0x4d5b86'
|
||||||
|
magenta: '0xff46b0'
|
||||||
|
cyan: '0x59dffc'
|
||||||
|
white: '0xe6e6d1'
|
||||||
|
|
||||||
|
indexed_colors: []
|
||||||
|
|
||||||
|
|
||||||
|
window:
|
||||||
|
startup_mode: Maximized
|
||||||
|
title: Alacritty
|
||||||
|
|
||||||
|
font:
|
||||||
|
normal:
|
||||||
|
family: Hack Nerd Font Mono
|
||||||
|
style: Regular
|
||||||
|
bold:
|
||||||
|
family: Hack Nerd Font Mono
|
||||||
|
style: Bold
|
||||||
|
italic:
|
||||||
|
family: Hack Nerd Font Mono
|
||||||
|
style: Italic
|
||||||
|
bold_italic:
|
||||||
|
family: Hack Nerd Font Mono
|
||||||
|
style: Bold Italic
|
||||||
|
size: 10
|
||||||
|
offset:
|
||||||
|
x: 0
|
||||||
|
y: 0
|
||||||
|
glyph_offset:
|
||||||
|
x: 0
|
||||||
|
y: -1
|
||||||
|
|
||||||
|
background_opacity: 0.8
|
||||||
|
|
||||||
|
mouse:
|
||||||
|
launcher:
|
||||||
|
program: xdg-open
|
||||||
|
args: []
|
||||||
|
|
||||||
|
key_bindings:
|
||||||
|
- { key: Return, mods: Control|Shift, action: SpawnNewInstance }
|
||||||
36
config/bspwm/bspwmrc
Executable file
36
config/bspwm/bspwmrc
Executable file
@@ -0,0 +1,36 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
sxhkd &
|
||||||
|
xsetroot -cursor_name left_ptr &
|
||||||
|
|
||||||
|
bspc monitor eDP1 -d I II III IV V VI VII VIII IX X
|
||||||
|
bspc monitor HDMI1 -d XI XII XIII XIV XV XVI XVII XVIII XIX XX
|
||||||
|
|
||||||
|
|
||||||
|
bspc config border_width 2
|
||||||
|
bspc config window_gap 12
|
||||||
|
|
||||||
|
bspc config split_ratio 0.52
|
||||||
|
bspc config borderless_monocle true
|
||||||
|
bspc config gapless_monocle true
|
||||||
|
bspc config border_width 0
|
||||||
|
|
||||||
|
bspc rule -a Gimp desktop='^8' state=floating follow=on
|
||||||
|
bspc rule -a Chromium desktop='^3'
|
||||||
|
bspc rule -a mplayer2 state=floating
|
||||||
|
bspc rule -a Kupfer.py focus=on
|
||||||
|
bspc rule -a Screenkey manage=off
|
||||||
|
bspc rule -a qutebrowser desktop='^3'
|
||||||
|
bspc rule -a Steam state=tiled
|
||||||
|
bspc rule -a steam_app_230410 desktop='^4' state=fullscreen
|
||||||
|
bspc rule -a vlc desktop='^5'
|
||||||
|
bspc rule -a spotify desktop='^10'
|
||||||
|
bspc rule -a youtube-music-desktop-app desktop='^10' state=floating
|
||||||
|
|
||||||
|
# To help with the java applications
|
||||||
|
#wmname LG3D
|
||||||
|
#not anymore
|
||||||
|
export _JAVA_AWT_WM_NONREPARENTING=1
|
||||||
|
|
||||||
|
# So that sxhkd uses sh instead of zsh or bash
|
||||||
|
set -U SXHKD_SHELL sh
|
||||||
11
config/nvim/.netrwhist
Normal file
11
config/nvim/.netrwhist
Normal file
@@ -0,0 +1,11 @@
|
|||||||
|
let g:netrw_dirhistmax =10
|
||||||
|
let g:netrw_dirhistcnt =9
|
||||||
|
let g:netrw_dirhist_9='/home/fs0c131y/Projects/rust/snake/.git'
|
||||||
|
let g:netrw_dirhist_8='/home/fs0c131y/Projects/rust/snake/src'
|
||||||
|
let g:netrw_dirhist_7='/home/fs0c131y/Projects/rust/snake/src/settings'
|
||||||
|
let g:netrw_dirhist_6='/home/fs0c131y/Projects/rust/snake/src'
|
||||||
|
let g:netrw_dirhist_5='/home/fs0c131y/Projects/rust/snake'
|
||||||
|
let g:netrw_dirhist_4='/home/fs0c131y/Projects/rust/ascii/src'
|
||||||
|
let g:netrw_dirhist_3='/home/fs0c131y/.config/ncmpcpp'
|
||||||
|
let g:netrw_dirhist_2='/home/fs0c131y/.config/tmux'
|
||||||
|
let g:netrw_dirhist_1='/home/fs0c131y/.config'
|
||||||
2788
config/nvim/autoload/plug.vim
Normal file
2788
config/nvim/autoload/plug.vim
Normal file
File diff suppressed because it is too large
Load Diff
5
config/nvim/coc-settings.json
Normal file
5
config/nvim/coc-settings.json
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
{
|
||||||
|
"rust-analyzer.server.path": "/usr/bin/rust-analyzer",
|
||||||
|
"coc.preferences.formatOnSaveFiletypes": ["css", "markdown", "rust", "json"],
|
||||||
|
"prettier.printWidth": 120
|
||||||
|
}
|
||||||
265
config/nvim/init.vim
Normal file
265
config/nvim/init.vim
Normal file
@@ -0,0 +1,265 @@
|
|||||||
|
"#################################################
|
||||||
|
"# Vim Plug
|
||||||
|
"##################################################
|
||||||
|
call plug#begin()
|
||||||
|
" QOL
|
||||||
|
Plug 'airblade/vim-rooter'
|
||||||
|
Plug 'w0rp/ale'
|
||||||
|
Plug 'yuttie/comfortable-motion.vim'
|
||||||
|
Plug 'tpope/vim-surround'
|
||||||
|
Plug 'iamcco/markdown-preview.nvim', { 'do': { -> mkdp#util#install() }, 'for': ['markdown', 'vim-plug']}
|
||||||
|
" Fzf
|
||||||
|
Plug 'junegunn/fzf'
|
||||||
|
Plug 'junegunn/fzf.vim'
|
||||||
|
" Git plugin
|
||||||
|
Plug 'tpope/vim-fugitive'
|
||||||
|
|
||||||
|
" GUI Stuff
|
||||||
|
Plug 'vim-airline/vim-airline'
|
||||||
|
Plug 'vim-airline/vim-airline-themes'
|
||||||
|
" Plug 'edkolev/tmuxline.vim'
|
||||||
|
Plug 'tpope/vim-commentary'
|
||||||
|
Plug 'uttarayan21/minimalist' " Plug 'dikiaap/minimalist'
|
||||||
|
Plug 'dracula/vim'
|
||||||
|
Plug 'tpope/vim-vinegar'
|
||||||
|
Plug 'mhinz/vim-crates'
|
||||||
|
" Intellisense
|
||||||
|
Plug 'neoclide/coc.nvim', {'branch': 'release'}
|
||||||
|
" Ctags
|
||||||
|
Plug 'ludovicchabant/vim-gutentags'
|
||||||
|
Plug 'majutsushi/tagbar'
|
||||||
|
" Syntax Highlighting
|
||||||
|
Plug 'rust-lang/rust.vim'
|
||||||
|
Plug 'sudar/vim-arduino-syntax'
|
||||||
|
Plug 'cespare/vim-toml'
|
||||||
|
Plug 'chaimleib/vim-renpy'
|
||||||
|
Plug 'udalov/kotlin-vim'
|
||||||
|
Plug 'meain/vim-package-info'
|
||||||
|
" Devicons
|
||||||
|
Plug 'ryanoasis/vim-devicons'
|
||||||
|
" Text Objects
|
||||||
|
Plug 'wellle/targets.vim'
|
||||||
|
call plug#end()
|
||||||
|
|
||||||
|
"##################################################
|
||||||
|
"# Configurations
|
||||||
|
"##################################################
|
||||||
|
|
||||||
|
" Remap C-h,j,k,l
|
||||||
|
"nnoremap <C-h> <C-w>h
|
||||||
|
"nnoremap <C-j> <C-w>j
|
||||||
|
"nnoremap <C-k> <C-w>k
|
||||||
|
"nnoremap <C-l> <C-w>l
|
||||||
|
|
||||||
|
" nnoremap <C-j> <ESC>
|
||||||
|
inoremap <C-j> <ESC>
|
||||||
|
|
||||||
|
let mapleader = "\<Space>"
|
||||||
|
" BufferNext
|
||||||
|
nnoremap <Leader>q :bw <CR>
|
||||||
|
"nnoremap <Leader><Leader> :bNext <CR>
|
||||||
|
nnoremap <leader><leader> <c-^>
|
||||||
|
nnoremap <leader>n :bnext <CR>
|
||||||
|
nnoremap <leader>p :bprev <CR>
|
||||||
|
" Fzf
|
||||||
|
nnoremap <Leader>f :Files <CR>
|
||||||
|
nnoremap <Leader>b :Buffers <CR>
|
||||||
|
nnoremap <Leader>w :W <CR>
|
||||||
|
nnoremap <Leader>g :Rg <CR>
|
||||||
|
nnoremap <Leader>t :Tags <CR>
|
||||||
|
|
||||||
|
nnoremap <F8> :TagbarToggle <CR>
|
||||||
|
|
||||||
|
|
||||||
|
" Vim hardmode
|
||||||
|
inoremap <up> <nop>
|
||||||
|
inoremap <down> <nop>
|
||||||
|
inoremap <left> <nop>
|
||||||
|
inoremap <right> <nop>
|
||||||
|
nnoremap <up> <nop>
|
||||||
|
nnoremap <down> <nop>
|
||||||
|
nnoremap <left> <nop>
|
||||||
|
nnoremap <right> <nop>
|
||||||
|
|
||||||
|
" Undo
|
||||||
|
set undodir=~/.cache/nvim/nvimdid
|
||||||
|
set undofile
|
||||||
|
|
||||||
|
" Disable help on F1
|
||||||
|
nnoremap <F1> <ESC>
|
||||||
|
inoremap <F1> <ESC>
|
||||||
|
|
||||||
|
" Ctags
|
||||||
|
let g:gutentags_cache_dir = expand('~/.cache/nvim/ctags/')
|
||||||
|
let g:gutentags_generate_on_new = 1
|
||||||
|
let g:gutentags_generate_on_missing = 1
|
||||||
|
let g:gutentags_generate_on_write = 1
|
||||||
|
let g:gutentags_generate_on_empty_buffer = 0
|
||||||
|
nnoremap <C-k> <C-]>
|
||||||
|
nnoremap <C-l> <C-t>
|
||||||
|
|
||||||
|
" Markdown Preview
|
||||||
|
|
||||||
|
" let g:mkdp_auto_start = 1
|
||||||
|
let g:mkdp_filetypes = ['markdown']
|
||||||
|
" let g:mkdp_broswer = 'qutebrowser'
|
||||||
|
|
||||||
|
|
||||||
|
" Numbers and tabs
|
||||||
|
set noshowmode
|
||||||
|
set showtabline=2
|
||||||
|
setlocal number relativenumber
|
||||||
|
set autoindent
|
||||||
|
set tabstop=4
|
||||||
|
set shiftwidth=4
|
||||||
|
set expandtab
|
||||||
|
set signcolumn=yes
|
||||||
|
set hidden
|
||||||
|
set ignorecase
|
||||||
|
set smartcase
|
||||||
|
"set cmdheight=2
|
||||||
|
|
||||||
|
nnoremap <F2> :set number! relativenumber! <CR>
|
||||||
|
|
||||||
|
|
||||||
|
"A few more remaps
|
||||||
|
nnoremap <C-s> :source ~/.config/nvim/init.vim <CR>
|
||||||
|
nnoremap <Leader>m :call Mpcfzf() <CR>
|
||||||
|
|
||||||
|
" Intellisense
|
||||||
|
|
||||||
|
" Use tab for trigger completion with characters ahead and navigate.
|
||||||
|
" NOTE: Use command ':verbose imap <tab>' to make sure tab is not mapped by
|
||||||
|
" other plugin before putting this into your config.
|
||||||
|
inoremap <silent><expr> <TAB>
|
||||||
|
\ pumvisible() ? "\<C-n>" :
|
||||||
|
\ <SID>check_back_space() ? "\<TAB>" :
|
||||||
|
\ coc#refresh()
|
||||||
|
inoremap <expr><S-TAB> pumvisible() ? "\<C-p>" : "\<C-h>"
|
||||||
|
inoremap <expr><CR> pumvisible() ? "\<C-y>" : "\<CR>"
|
||||||
|
inoremap <silent><expr> <c-space> coc#refresh()
|
||||||
|
nnoremap <silent> K :call <SID>show_documentation()<CR>
|
||||||
|
nnoremap <Leader>l :CocCommand <CR>
|
||||||
|
|
||||||
|
|
||||||
|
" Clipboard
|
||||||
|
set clipboard=unnamedplus
|
||||||
|
let g:clipboard = {
|
||||||
|
\'name': 'PrimaryClipboard',
|
||||||
|
\'copy': {
|
||||||
|
\ '+': 'xclip -selection clipboard',
|
||||||
|
\ '*': 'xclip -selection clipboard',
|
||||||
|
\ },
|
||||||
|
\'paste': {
|
||||||
|
\ '+': 'xclip -selection clipboard -out',
|
||||||
|
\ '*': 'xclip -selection clipboard -out',
|
||||||
|
\ },
|
||||||
|
\'cache_enabled': 1,
|
||||||
|
\}
|
||||||
|
|
||||||
|
|
||||||
|
augroup linenumbers
|
||||||
|
autocmd WinLeave * :setlocal nonumber norelativenumber
|
||||||
|
autocmd WinEnter * :setlocal number relativenumber
|
||||||
|
augroup END
|
||||||
|
|
||||||
|
" Do not edit readonly buffers
|
||||||
|
autocmd BufRead *.orig set readonly
|
||||||
|
autocmd BufRead *.pacnew set readonly
|
||||||
|
autocmd BufRead *.bak set readonly
|
||||||
|
autocmd BufWritePost *sxhkdrc !pkill -USR1 sxhkd
|
||||||
|
autocmd FileType netrw setl bufhidden=wipe
|
||||||
|
let g:netrw_fastbrowse = 0
|
||||||
|
|
||||||
|
" Toggle crates plugin on opening cargo.toml file
|
||||||
|
autocmd BufRead Cargo.toml call crates#toggle()
|
||||||
|
|
||||||
|
|
||||||
|
" Set python global file
|
||||||
|
let g:python3_host_prog = "/usr/bin/python"
|
||||||
|
" asmsyntax always nasm
|
||||||
|
let g:asmsyntax = 'nasm'
|
||||||
|
" set nodejs global prog
|
||||||
|
" let g:node_host_prog = "/usr/bin/neovim-node-host"
|
||||||
|
" Themeing
|
||||||
|
" set t_Co=256
|
||||||
|
syntax on
|
||||||
|
colorscheme minimalist
|
||||||
|
" let g:dracula_colorterm = 0
|
||||||
|
" colorscheme dracula
|
||||||
|
|
||||||
|
highlight link Crates WarningMsg
|
||||||
|
" colorscheme nord
|
||||||
|
|
||||||
|
if exists('+termguicolors')
|
||||||
|
let &t_8f="\<Esc>[38;2;%lu;%lu;%lum"
|
||||||
|
let &t_8b="\<Esc>[48;2;%lu;%lu;%lum"
|
||||||
|
endif
|
||||||
|
" set termguicolors
|
||||||
|
|
||||||
|
" Airline
|
||||||
|
let g:airline_theme='dracula'
|
||||||
|
let g:airline_powerline_fonts = 1
|
||||||
|
let g:airline#extensions#tabline#enabled = 1
|
||||||
|
" let g:airline_statusline_ontop = 1
|
||||||
|
|
||||||
|
" " Tmuxline
|
||||||
|
" let g:tmuxline_preset = {
|
||||||
|
" \'a' : '#S',
|
||||||
|
" \'b' : '#W',
|
||||||
|
" \'c' : '#H',
|
||||||
|
" \'win' : '#I #W',
|
||||||
|
" \'cwin' : '#I #W',
|
||||||
|
" \'x' : '%a',
|
||||||
|
" \'y' : '#W %R',
|
||||||
|
" \'z' : '#H'}
|
||||||
|
|
||||||
|
" Lightline
|
||||||
|
" let g:lightline = {}
|
||||||
|
" let g:lightline.colorscheme = 'darcula'
|
||||||
|
" " let g:lightline.colorscheme = 'wombat'
|
||||||
|
" let g:lightline.active = {}
|
||||||
|
" let g:lightline.active.left = [['mode', 'paste'] ,['readonly', 'filename', 'modified']]
|
||||||
|
" let g:lightline.active.right = [['lineinfo'], ['percent'], ['fileformat', 'fileencoding', 'filetype', 'charvaluehex']]
|
||||||
|
" let g:lightline.separator = { 'left': "\ue0b8", 'right': "\ue0ba" }
|
||||||
|
" let g:lightline.subseparator = { 'left': "\ue0b9", 'right': "\ue0bb" }
|
||||||
|
|
||||||
|
" let g:lightline.tabline = {}
|
||||||
|
" let g:lightline.tabline.left = [['buffers']]
|
||||||
|
" let g:lightline.tabline.right = [['close'], ['gitbranch']]
|
||||||
|
" let g:lightline.tabline_separator = { 'left': "\ue0bc", 'right': "\ue0be" }
|
||||||
|
" let g:lightline.tabline_subseparator = { 'left': "\ue0bd", 'right': "\ue0bf" }
|
||||||
|
|
||||||
|
" let g:lightline.component_function = { 'song': 'CurrentSong', 'gitbranch': 'FugitiveHead' }
|
||||||
|
" let g:lightline.component_expand = {'buffers': 'lightline#bufferline#buffers'}
|
||||||
|
" let g:lightline.component_type = {'buffers': 'tabsel'}
|
||||||
|
|
||||||
|
" Rust
|
||||||
|
" let g:rustfmt_autosave = 1
|
||||||
|
|
||||||
|
"##################################################
|
||||||
|
"# Functions
|
||||||
|
"##################################################
|
||||||
|
" COC.nvim
|
||||||
|
function! s:check_back_space() abort
|
||||||
|
let col = col('.') - 1
|
||||||
|
return !col || getline('.')[col - 1] =~# '\s'
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
function! s:show_documentation()
|
||||||
|
if (index(['vim','help'], &filetype) >= 0)
|
||||||
|
execute 'h '.expand('<cword>')
|
||||||
|
else
|
||||||
|
call CocAction('doHover')
|
||||||
|
endif
|
||||||
|
endfunction
|
||||||
|
|
||||||
|
" Mpc
|
||||||
|
function Mpcfzf()
|
||||||
|
execute("silent !mpcfzf")
|
||||||
|
endfunction
|
||||||
|
" Mpc Current song
|
||||||
|
function CurrentSong()
|
||||||
|
let s = execute("!mpc | head -1")
|
||||||
|
return s
|
||||||
|
endfunction
|
||||||
231
config/picom/picom.conf
Normal file
231
config/picom/picom.conf
Normal file
@@ -0,0 +1,231 @@
|
|||||||
|
# Thank you code_nomad: http://9m.no/ꪯ鵞
|
||||||
|
# and Arch Wiki contributors: https://wiki.archlinux.org/index.php/Compton
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Backend
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Backend to use: "xrender" or "glx".
|
||||||
|
# GLX backend is typically much faster but depends on a sane driver.
|
||||||
|
backend = "glx";
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# GLX backend
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
glx-no-stencil = true;
|
||||||
|
|
||||||
|
# GLX backend: Copy unmodified regions from front buffer instead of redrawing them all.
|
||||||
|
# My tests with nvidia-drivers show a 10% decrease in performance when the whole screen is modified,
|
||||||
|
# but a 20% increase when only 1/4 is.
|
||||||
|
# My tests on nouveau show terrible slowdown.
|
||||||
|
glx-copy-from-front = false;
|
||||||
|
|
||||||
|
# GLX backend: Use MESA_copy_sub_buffer to do partial screen update.
|
||||||
|
# My tests on nouveau shows a 200% performance boost when only 1/4 of the screen is updated.
|
||||||
|
# May break VSync and is not available on some drivers.
|
||||||
|
# Overrides --glx-copy-from-front.
|
||||||
|
# glx-use-copysubbuffermesa = true;
|
||||||
|
|
||||||
|
# GLX backend: Avoid rebinding pixmap on window damage.
|
||||||
|
# Probably could improve performance on rapid window content changes, but is known to break things on some drivers (LLVMpipe).
|
||||||
|
# Recommended if it works.
|
||||||
|
# glx-no-rebind-pixmap = true;
|
||||||
|
|
||||||
|
# GLX backend: GLX buffer swap method we assume.
|
||||||
|
# Could be undefined (0), copy (1), exchange (2), 3-6, or buffer-age (-1).
|
||||||
|
# undefined is the slowest and the safest, and the default value.
|
||||||
|
# copy is fastest, but may fail on some drivers,
|
||||||
|
# 2-6 are gradually slower but safer (6 is still faster than 0).
|
||||||
|
# Usually, double buffer means 2, triple buffer means 3.
|
||||||
|
# buffer-age means auto-detect using GLX_EXT_buffer_age, supported by some drivers.
|
||||||
|
# Useless with --glx-use-copysubbuffermesa.
|
||||||
|
# Partially breaks --resize-damage.
|
||||||
|
# Defaults to undefined.
|
||||||
|
#glx-swap-method = "undefined";
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Shadows
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Enabled client-side shadows on windows.
|
||||||
|
shadow = true;
|
||||||
|
# The blur radius for shadows. (default 12)
|
||||||
|
shadow-radius = 5;
|
||||||
|
# The left offset for shadows. (default -15)
|
||||||
|
shadow-offset-x = -5;
|
||||||
|
# The top offset for shadows. (default -15)
|
||||||
|
shadow-offset-y = -5;
|
||||||
|
# The translucency for shadows. (default .75)
|
||||||
|
shadow-opacity = 0.5;
|
||||||
|
|
||||||
|
# Set if you want different colour shadows
|
||||||
|
# shadow-red = 0.0;
|
||||||
|
# shadow-green = 0.0;
|
||||||
|
# shadow-blue = 0.0;
|
||||||
|
|
||||||
|
# The shadow exclude options are helpful if you have shadows enabled. Due to the way picom draws its shadows, certain applications will have visual glitches
|
||||||
|
# (most applications are fine, only apps that do weird things with xshapes or argb are affected).
|
||||||
|
# This list includes all the affected apps I found in my testing. The "! name~=''" part excludes shadows on any "Unknown" windows, this prevents a visual glitch with the XFWM alt tab switcher.
|
||||||
|
shadow-exclude = [
|
||||||
|
"! name~=''",
|
||||||
|
"name = 'Notification'",
|
||||||
|
"name = 'Plank'",
|
||||||
|
"name = 'Docky'",
|
||||||
|
"name = 'Kupfer'",
|
||||||
|
"name = 'xfce4-notifyd'",
|
||||||
|
"name *= 'VLC'",
|
||||||
|
"name *= 'compton'",
|
||||||
|
"name *= 'picom'",
|
||||||
|
"name *= 'Chromium'",
|
||||||
|
"name *= 'Chrome'",
|
||||||
|
"class_g = 'Firefox' && argb",
|
||||||
|
"class_g = 'Conky'",
|
||||||
|
"class_g = 'Kupfer'",
|
||||||
|
"class_g = 'Synapse'",
|
||||||
|
"class_g ?= 'Notify-osd'",
|
||||||
|
"class_g ?= 'Cairo-dock'",
|
||||||
|
"class_g ?= 'Xfce4-notifyd'",
|
||||||
|
"class_g ?= 'Xfce4-power-manager'",
|
||||||
|
"_GTK_FRAME_EXTENTS@:c",
|
||||||
|
"_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'"
|
||||||
|
];
|
||||||
|
# Avoid drawing shadow on all shaped windows (see also: --detect-rounded-corners)
|
||||||
|
shadow-ignore-shaped = false;
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Opacity
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
inactive-opacity = 1;
|
||||||
|
active-opacity = 1;
|
||||||
|
frame-opacity = 1;
|
||||||
|
inactive-opacity-override = false;
|
||||||
|
|
||||||
|
# Dim inactive windows. (0.0 - 1.0)
|
||||||
|
# inactive-dim = 0.2;
|
||||||
|
# Do not let dimness adjust based on window opacity.
|
||||||
|
# inactive-dim-fixed = true;
|
||||||
|
# Blur background of transparent windows. Bad performance with X Render backend. GLX backend is preferred.
|
||||||
|
# blur-background = true;
|
||||||
|
# Blur background of opaque windows with transparent frames as well.
|
||||||
|
# blur-background-frame = true;
|
||||||
|
# Do not let blur radius adjust based on window opacity.
|
||||||
|
blur-background-fixed = false;
|
||||||
|
blur-background-exclude = [
|
||||||
|
"window_type = 'dock'",
|
||||||
|
"window_type = 'desktop'"
|
||||||
|
];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Fading
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Fade windows during opacity changes.
|
||||||
|
fading = true;
|
||||||
|
# The time between steps in a fade in milliseconds. (default 10).
|
||||||
|
fade-delta = 4;
|
||||||
|
# Opacity change between steps while fading in. (default 0.028).
|
||||||
|
fade-in-step = 0.03;
|
||||||
|
# Opacity change between steps while fading out. (default 0.03).
|
||||||
|
fade-out-step = 0.03;
|
||||||
|
# Fade windows in/out when opening/closing
|
||||||
|
# no-fading-openclose = true;
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should not be faded.
|
||||||
|
fade-exclude = [ ];
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Other
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
# Try to detect WM windows and mark them as active.
|
||||||
|
mark-wmwin-focused = true;
|
||||||
|
# Mark all non-WM but override-redirect windows active (e.g. menus).
|
||||||
|
mark-ovredir-focused = true;
|
||||||
|
# Use EWMH _NET_WM_ACTIVE_WINDOW to determine which window is focused instead of using FocusIn/Out events.
|
||||||
|
# Usually more reliable but depends on a EWMH-compliant WM.
|
||||||
|
use-ewmh-active-win = true;
|
||||||
|
# Detect rounded corners and treat them as rectangular when --shadow-ignore-shaped is on.
|
||||||
|
detect-rounded-corners = true;
|
||||||
|
|
||||||
|
# Detect _NET_WM_OPACITY on client windows, useful for window managers not passing _NET_WM_OPACITY of client windows to frame windows.
|
||||||
|
# This prevents opacity being ignored for some apps.
|
||||||
|
# For example without this enabled my xfce4-notifyd is 100% opacity no matter what.
|
||||||
|
detect-client-opacity = true;
|
||||||
|
|
||||||
|
# Specify refresh rate of the screen.
|
||||||
|
# If not specified or 0, picom will try detecting this with X RandR extension.
|
||||||
|
refresh-rate = 0;
|
||||||
|
|
||||||
|
# Vertical synchronization: match the refresh rate of the monitor
|
||||||
|
vsync = true;
|
||||||
|
|
||||||
|
# Enable DBE painting mode, intended to use with VSync to (hopefully) eliminate tearing.
|
||||||
|
# Reported to have no effect, though.
|
||||||
|
dbe = false;
|
||||||
|
|
||||||
|
# Limit picom to repaint at most once every 1 / refresh_rate second to boost performance.
|
||||||
|
# This should not be used with --vsync drm/opengl/opengl-oml as they essentially does --sw-opti's job already,
|
||||||
|
# unless you wish to specify a lower refresh rate than the actual value.
|
||||||
|
#sw-opti = true;
|
||||||
|
|
||||||
|
# Unredirect all windows if a full-screen opaque window is detected, to maximize performance for full-screen windows, like games.
|
||||||
|
# Known to cause flickering when redirecting/unredirecting windows.
|
||||||
|
unredir-if-possible = false;
|
||||||
|
|
||||||
|
# Specify a list of conditions of windows that should always be considered focused.
|
||||||
|
focus-exclude = [ ];
|
||||||
|
|
||||||
|
# Use WM_TRANSIENT_FOR to group windows, and consider windows in the same group focused at the same time.
|
||||||
|
detect-transient = true;
|
||||||
|
# Use WM_CLIENT_LEADER to group windows, and consider windows in the same group focused at the same time.
|
||||||
|
# WM_TRANSIENT_FOR has higher priority if --detect-transient is enabled, too.
|
||||||
|
detect-client-leader = true;
|
||||||
|
|
||||||
|
#################################
|
||||||
|
#
|
||||||
|
# Window type settings
|
||||||
|
#
|
||||||
|
#################################
|
||||||
|
|
||||||
|
wintypes:
|
||||||
|
{
|
||||||
|
tooltip =
|
||||||
|
{
|
||||||
|
# fade: Fade the particular type of windows.
|
||||||
|
fade = true;
|
||||||
|
# shadow: Give those windows shadow
|
||||||
|
shadow = false;
|
||||||
|
# opacity: Default opacity for the type of windows.
|
||||||
|
opacity = 0.85;
|
||||||
|
# focus: Whether to always consider windows of this type focused.
|
||||||
|
focus = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
######################
|
||||||
|
#
|
||||||
|
# XSync
|
||||||
|
# See: https://github.com/yshui/picom/commit/b18d46bcbdc35a3b5620d817dd46fbc76485c20d
|
||||||
|
#
|
||||||
|
######################
|
||||||
|
|
||||||
|
# Use X Sync fence to sync clients' draw calls. Needed on nvidia-drivers with GLX backend for some users.
|
||||||
|
xrender-sync-fence = true;
|
||||||
|
|
||||||
|
#Termite
|
||||||
|
opacity-rule = ["85:class_g = 'Termite'"];
|
||||||
|
|
||||||
20
config/rofi/colors.rasi
Normal file
20
config/rofi/colors.rasi
Normal file
@@ -0,0 +1,20 @@
|
|||||||
|
* {
|
||||||
|
xbg: #1D1F28;
|
||||||
|
xfg: #FDFDFD;
|
||||||
|
x0: #282A36;
|
||||||
|
x1: #F37F97;
|
||||||
|
x2: #5ADECD;
|
||||||
|
x3: #F2A272;
|
||||||
|
x4: #8897F4;
|
||||||
|
x5: #C574DD;
|
||||||
|
x6: #79E6F3;
|
||||||
|
x7: #FDFDFD;
|
||||||
|
x8: #414458;
|
||||||
|
x9: #FF4971;
|
||||||
|
x10: #18E3C8;
|
||||||
|
x11: #FF8037;
|
||||||
|
x12: #556FFF;
|
||||||
|
x13: #B043D1;
|
||||||
|
x14: #3FDCEE;
|
||||||
|
x15: #FDFDFD;
|
||||||
|
}
|
||||||
209
config/rofi/config.rasi
Normal file
209
config/rofi/config.rasi
Normal file
@@ -0,0 +1,209 @@
|
|||||||
|
configuration {
|
||||||
|
modi: "combi,ssh,drun,windowcd,run";
|
||||||
|
lines: 10;
|
||||||
|
columns: 2;
|
||||||
|
font: "sans 13";
|
||||||
|
bw: 0;
|
||||||
|
location: 0;
|
||||||
|
padding: 0;
|
||||||
|
fixed-num-lines: true;
|
||||||
|
show-icons: true;
|
||||||
|
icon-theme: "La-Capitaine";
|
||||||
|
sidebar-mode: true;
|
||||||
|
combi-modi: "window,drun,run";
|
||||||
|
separator-style: "none";
|
||||||
|
hide-scrollbar: true;
|
||||||
|
fullscreen: false;
|
||||||
|
fake-transparency: true;
|
||||||
|
scroll-method: 1;
|
||||||
|
window-format: "[{w}] ·· {c} ·· {t}";
|
||||||
|
click-to-exit: true;
|
||||||
|
show-match: false;
|
||||||
|
color-normal: "@xbg, @xfg, @xbg, @xfg, @xbg";
|
||||||
|
color-urgent: "@xbg, @x1, @xbg, @x1, @xfg";
|
||||||
|
color-active: "@xbg, @xfg, @xbg, @xfg, @xbg";
|
||||||
|
color-window: "@xbg, @x1, @xfg";
|
||||||
|
combi-hide-mode-prefix: false;
|
||||||
|
display-window: "";
|
||||||
|
display-windowcd: "";
|
||||||
|
display-run: "";
|
||||||
|
display-ssh: "";
|
||||||
|
display-drun: "";
|
||||||
|
display-combi: "";
|
||||||
|
kb-remove-word-back: "Control+BackSpace,Alt+d,Alt+BackSpace";
|
||||||
|
kb-accept-entry: "Control+m,Return,KP_Enter,Alt+m";
|
||||||
|
kb-mode-next: "Shift+Right,Control+Tab,Alt+l,Alt+Tab";
|
||||||
|
kb-mode-previous: "Shift+Left,Control+ISO_Left_Tab,Alt+h";
|
||||||
|
kb-row-left: "Control+Page_Up,Control+Alt+h";
|
||||||
|
kb-row-right: "Control+Page_Down,Control+Alt+l";
|
||||||
|
kb-row-up: "Up,Control+p,ISO_Left_Tab,Alt+k";
|
||||||
|
kb-row-down: "Down,Control+n,Alt+j";
|
||||||
|
kb-select-1: "";
|
||||||
|
kb-select-2: "";
|
||||||
|
kb-select-3: "";
|
||||||
|
kb-select-4: "";
|
||||||
|
kb-select-5: "";
|
||||||
|
kb-select-6: "";
|
||||||
|
kb-select-7: "";
|
||||||
|
kb-select-8: "";
|
||||||
|
kb-select-9: "";
|
||||||
|
kb-select-10: "";
|
||||||
|
me-select-entry: "";
|
||||||
|
me-accept-entry: "MousePrimary";
|
||||||
|
me-accept-custom: "MouseMiddle";
|
||||||
|
}
|
||||||
|
* {
|
||||||
|
selected-normal-foreground: rgba ( 52, 60, 72, 100 % );
|
||||||
|
foreground: rgba ( 224, 224, 224, 100 % );
|
||||||
|
normal-foreground: @foreground;
|
||||||
|
alternate-normal-background: rgba ( 52, 60, 72, 100 % );
|
||||||
|
red: rgba ( 220, 50, 47, 100 % );
|
||||||
|
selected-urgent-foreground: rgba ( 224, 224, 224, 100 % );
|
||||||
|
blue: rgba ( 38, 139, 210, 100 % );
|
||||||
|
urgent-foreground: rgba ( 240, 98, 146, 100 % );
|
||||||
|
alternate-urgent-background: rgba ( 52, 60, 72, 100 % );
|
||||||
|
active-foreground: rgba ( 224, 224, 224, 100 % );
|
||||||
|
lightbg: rgba ( 238, 232, 213, 100 % );
|
||||||
|
selected-active-foreground: rgba ( 52, 60, 72, 100 % );
|
||||||
|
alternate-active-background: rgba ( 52, 60, 72, 100 % );
|
||||||
|
background: rgba ( 52, 60, 72, 100 % );
|
||||||
|
alternate-normal-foreground: @foreground;
|
||||||
|
normal-background: rgba ( 52, 60, 72, 100 % );
|
||||||
|
lightfg: rgba ( 88, 104, 117, 100 % );
|
||||||
|
selected-normal-background: rgba ( 224, 224, 224, 100 % );
|
||||||
|
border-color: rgba ( 240, 98, 146, 100 % );
|
||||||
|
spacing: 2;
|
||||||
|
separatorcolor: rgba ( 224, 224, 224, 100 % );
|
||||||
|
urgent-background: rgba ( 52, 60, 72, 100 % );
|
||||||
|
selected-urgent-background: rgba ( 240, 98, 146, 100 % );
|
||||||
|
alternate-urgent-foreground: @urgent-foreground;
|
||||||
|
background-color: rgba ( 0, 0, 0, 0 % );
|
||||||
|
alternate-active-foreground: @active-foreground;
|
||||||
|
active-background: rgba ( 52, 60, 72, 100 % );
|
||||||
|
selected-active-background: rgba ( 224, 224, 224, 100 % );
|
||||||
|
}
|
||||||
|
window {
|
||||||
|
background-color: @xbg;
|
||||||
|
border: 0;
|
||||||
|
border-color: @x14;
|
||||||
|
border-radius: 12px;
|
||||||
|
padding: 40;
|
||||||
|
width: 50%;
|
||||||
|
height: 50%;
|
||||||
|
}
|
||||||
|
mainbox {
|
||||||
|
border: 0;
|
||||||
|
border-color: @x0;
|
||||||
|
padding: 6;
|
||||||
|
}
|
||||||
|
message {
|
||||||
|
border: 0px;
|
||||||
|
border-color: @x6;
|
||||||
|
padding: 1px;
|
||||||
|
}
|
||||||
|
textbox {
|
||||||
|
text-color: @xfg;
|
||||||
|
}
|
||||||
|
listview {
|
||||||
|
fixed-height: 0;
|
||||||
|
border: 0px;
|
||||||
|
border-color: @x6;
|
||||||
|
spacing: 2px;
|
||||||
|
scrollbar: false;
|
||||||
|
padding: 2px 0px 0px;
|
||||||
|
}
|
||||||
|
element {
|
||||||
|
border: 0;
|
||||||
|
padding: 1px;
|
||||||
|
}
|
||||||
|
element normal.normal {
|
||||||
|
background-color: rgba (0,0,0,0%);
|
||||||
|
text-color: @xfg;
|
||||||
|
}
|
||||||
|
element normal.urgent {
|
||||||
|
background-color: rgba (0,0,0,0%);
|
||||||
|
text-color: @x9;
|
||||||
|
}
|
||||||
|
element normal.active {
|
||||||
|
background-color: rgba (0,0,0,0%);
|
||||||
|
text-color: @x5;
|
||||||
|
}
|
||||||
|
element selected.normal {
|
||||||
|
background-color: rgba (0,0,0,0%);
|
||||||
|
text-color: @x13;
|
||||||
|
}
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: rgba (0,0,0,0%);
|
||||||
|
text-color: @x13;
|
||||||
|
}
|
||||||
|
element selected.active {
|
||||||
|
background-color: rgba (0,0,0,0%);
|
||||||
|
text-color: @x13;
|
||||||
|
}
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: rgba (0,0,0,0%);
|
||||||
|
text-color: @xfg;
|
||||||
|
}
|
||||||
|
element alternate.urgent {
|
||||||
|
background-color: rgba (0,0,0,0%);
|
||||||
|
text-color: @x9;
|
||||||
|
}
|
||||||
|
element alternate.active {
|
||||||
|
background-color: rgba (0,0,0,0%);
|
||||||
|
text-color: @x5;
|
||||||
|
}
|
||||||
|
scrollbar {
|
||||||
|
width: 4px ;
|
||||||
|
border: 0;
|
||||||
|
handle-color: @xfg;
|
||||||
|
handle-width: 8px ;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
sidebar {
|
||||||
|
border: 0px;
|
||||||
|
border-color: @x4;
|
||||||
|
border-radius: 20px;
|
||||||
|
}
|
||||||
|
button {
|
||||||
|
margin: 5px;
|
||||||
|
padding: 5px;
|
||||||
|
background-color: @xbg;
|
||||||
|
text-color: @x8;
|
||||||
|
border: 0px;
|
||||||
|
border-radius: 20px;
|
||||||
|
border-color: @x8;
|
||||||
|
}
|
||||||
|
button selected {
|
||||||
|
background-color: @xbg;
|
||||||
|
text-color: @x7;
|
||||||
|
border: 3px;
|
||||||
|
border-radius: 20px;
|
||||||
|
border-color: @x7;
|
||||||
|
}
|
||||||
|
inputbar {
|
||||||
|
spacing: 0px ;
|
||||||
|
text-color: @xfg;
|
||||||
|
padding: 1px ;
|
||||||
|
children: [ prompt,textbox-prompt-colon,entry,case-indicator ];
|
||||||
|
}
|
||||||
|
case-indicator {
|
||||||
|
spacing: 0;
|
||||||
|
text-color: @xfg;
|
||||||
|
}
|
||||||
|
entry {
|
||||||
|
spacing: 0;
|
||||||
|
text-color: @xfg;
|
||||||
|
}
|
||||||
|
prompt {
|
||||||
|
spacing: 0;
|
||||||
|
border: 0;
|
||||||
|
text-color: @xfg;
|
||||||
|
}
|
||||||
|
textbox-prompt-colon {
|
||||||
|
expand: false;
|
||||||
|
str: " ";
|
||||||
|
margin: 0px 0.3000em 0.0000em 0.0000em ;
|
||||||
|
text-color: inherit;
|
||||||
|
}
|
||||||
|
|
||||||
|
@import "colors.rasi"
|
||||||
131
config/rofi/themes/sidetab.rasi
Normal file
131
config/rofi/themes/sidetab.rasi
Normal file
@@ -0,0 +1,131 @@
|
|||||||
|
/**
|
||||||
|
* User: deadguy
|
||||||
|
* Copyright: deadguy
|
||||||
|
*/
|
||||||
|
|
||||||
|
configuration {
|
||||||
|
display-drun: "Activate";
|
||||||
|
display-run: "Execute";
|
||||||
|
display-window: "Window";
|
||||||
|
show-icons: true;
|
||||||
|
sidebar-mode: true;
|
||||||
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
background-color: #080808;
|
||||||
|
text-color: #d3d7cf;
|
||||||
|
selbg: #215d9c;
|
||||||
|
actbg: #262626;
|
||||||
|
urgbg: #e53935;
|
||||||
|
winbg: #26c6da;
|
||||||
|
|
||||||
|
selected-normal-foreground: @winbg;
|
||||||
|
normal-foreground: @text-color;
|
||||||
|
selected-normal-background: @actbg;
|
||||||
|
normal-background: @background-color;
|
||||||
|
|
||||||
|
selected-urgent-foreground: @background-color;
|
||||||
|
urgent-foreground: @text-color;
|
||||||
|
selected-urgent-background: @urgbg;
|
||||||
|
urgent-background: @background-color;
|
||||||
|
|
||||||
|
selected-active-foreground: @winbg;
|
||||||
|
active-foreground: @text-color;
|
||||||
|
selected-active-background: @actbg;
|
||||||
|
active-background: @selbg;
|
||||||
|
|
||||||
|
line-margin: 2;
|
||||||
|
line-padding: 2;
|
||||||
|
separator-style: "none";
|
||||||
|
hide-scrollbar: "true";
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
window {
|
||||||
|
location: west;
|
||||||
|
anchor: west;
|
||||||
|
height: 100%;
|
||||||
|
width: 22%;
|
||||||
|
orientation: horizontal;
|
||||||
|
children: [mainbox];
|
||||||
|
}
|
||||||
|
|
||||||
|
mainbox {
|
||||||
|
spacing: 0.8em;
|
||||||
|
children: [ entry,listview,mode-switcher ];
|
||||||
|
}
|
||||||
|
|
||||||
|
button { padding: 5px 2px; }
|
||||||
|
|
||||||
|
button selected {
|
||||||
|
background-color: @active-background;
|
||||||
|
text-color: @background-color;
|
||||||
|
}
|
||||||
|
|
||||||
|
inputbar {
|
||||||
|
padding: 5px;
|
||||||
|
spacing: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
listview {
|
||||||
|
spacing: 0.5em;
|
||||||
|
dynamic: false;
|
||||||
|
cycle: true;
|
||||||
|
}
|
||||||
|
|
||||||
|
element { padding: 10px; }
|
||||||
|
|
||||||
|
entry {
|
||||||
|
expand: false;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
vertical-align: 1;
|
||||||
|
padding: 5px;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.normal {
|
||||||
|
background-color: @normal-background;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.urgent {
|
||||||
|
background-color: @urgent-background;
|
||||||
|
text-color: @urgent-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
element normal.active {
|
||||||
|
background-color: @active-background;
|
||||||
|
text-color: @active-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.normal {
|
||||||
|
background-color: @selected-normal-background;
|
||||||
|
text-color: @selected-normal-foreground;
|
||||||
|
border: 0 5px solid 0 0;
|
||||||
|
border-color: @active-background;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.urgent {
|
||||||
|
background-color: @selected-urgent-background;
|
||||||
|
text-color: @selected-urgent-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected.active {
|
||||||
|
background-color: @selected-active-background;
|
||||||
|
text-color: @selected-active-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
element alternate.normal {
|
||||||
|
background-color: @normal-background;
|
||||||
|
text-color: @normal-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
element alternate.urgent {
|
||||||
|
background-color: @urgent-background;
|
||||||
|
text-color: @urgent-foreground;
|
||||||
|
}
|
||||||
|
|
||||||
|
element alternate.active {
|
||||||
|
background-color: @active-background;
|
||||||
|
text-color: @active-foreground;
|
||||||
|
}
|
||||||
45
config/rofi/themes/slate.rasi
Normal file
45
config/rofi/themes/slate.rasi
Normal file
@@ -0,0 +1,45 @@
|
|||||||
|
* {
|
||||||
|
background-color: #282C33;
|
||||||
|
border-color: #2e343f;
|
||||||
|
text-color: #8ca0aa;
|
||||||
|
spacing: 0;
|
||||||
|
width: 512px;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
inputbar {
|
||||||
|
border: 0 0 1px 0;
|
||||||
|
children: [prompt,entry];
|
||||||
|
}
|
||||||
|
|
||||||
|
prompt {
|
||||||
|
padding: 16px;
|
||||||
|
border: 0 1px 0 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
textbox {
|
||||||
|
background-color: #2e343f;
|
||||||
|
border: 0 0 1px 0;
|
||||||
|
border-color: #282C33;
|
||||||
|
padding: 8px 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
entry {
|
||||||
|
padding: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
listview {
|
||||||
|
cycle: false;
|
||||||
|
margin: 0 0 -1px 0;
|
||||||
|
scrollbar: false;
|
||||||
|
}
|
||||||
|
|
||||||
|
element {
|
||||||
|
border: 0 0 1px 0;
|
||||||
|
padding: 16px;
|
||||||
|
}
|
||||||
|
|
||||||
|
element selected {
|
||||||
|
background-color: #2e343f;
|
||||||
|
}
|
||||||
|
|
||||||
77
config/sxhkd/sxhkdrc
Normal file
77
config/sxhkd/sxhkdrc
Normal file
@@ -0,0 +1,77 @@
|
|||||||
|
super + Escape
|
||||||
|
pkill -USR1 -x sxhkd
|
||||||
|
|
||||||
|
super + Return
|
||||||
|
alacritty
|
||||||
|
|
||||||
|
super + shift + Return
|
||||||
|
kitty
|
||||||
|
|
||||||
|
super + shift + r
|
||||||
|
bspc wm -r
|
||||||
|
|
||||||
|
super + d
|
||||||
|
rofi -show
|
||||||
|
#dmenu_run
|
||||||
|
|
||||||
|
super + {_,shift + } + q
|
||||||
|
bspc node -{c,k}
|
||||||
|
|
||||||
|
super + {_,shift + }{h,j,k,l}
|
||||||
|
bspc node -{f,s} {west,south,north,east}
|
||||||
|
|
||||||
|
super + {1,2,3,4,5,6,7,8,9,0}
|
||||||
|
bspc desktop -f ^{1,2,3,4,5,6,7,8,9,10}
|
||||||
|
|
||||||
|
super + shift + {1,2,3,4,5,6,7,8,9,0}
|
||||||
|
bspc node focused -d '^{1,2,3,4,5,6,7,8,9,10}'
|
||||||
|
|
||||||
|
super + {f,t,shift + t,shift + f}
|
||||||
|
bspc node focused -f -t {fullscreen,tiled,pseudo_tiled,floating}
|
||||||
|
|
||||||
|
# expand a window by moving one of its side outward
|
||||||
|
super + r ; {h,j,k,l}
|
||||||
|
bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}
|
||||||
|
|
||||||
|
# contract a window by moving one of its side inward
|
||||||
|
super + shift + r ; {h,j,k,l}
|
||||||
|
bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}
|
||||||
|
|
||||||
|
Print
|
||||||
|
gnome-screenshot
|
||||||
|
shift + Print
|
||||||
|
gnome-screenshot -a
|
||||||
|
|
||||||
|
super + a
|
||||||
|
kill -s USR1 $(pidof deadd-notification-center)
|
||||||
|
super + shift + a
|
||||||
|
kill -s USR1 $(pidof deadd-notification-center)
|
||||||
|
|
||||||
|
|
||||||
|
# MPC media keys
|
||||||
|
|
||||||
|
XF86Audio{Play,Pause}
|
||||||
|
mpc -q toggle
|
||||||
|
|
||||||
|
XF86Audio{Prev,Stop,Next}
|
||||||
|
mpc -q {prev,stop,next}
|
||||||
|
|
||||||
|
# Pulseaudio
|
||||||
|
|
||||||
|
XF86AudioRaiseVolume
|
||||||
|
pactl set-sink-volume @DEFAULT_SINK@ +5%
|
||||||
|
XF86AudioLowerVolume
|
||||||
|
pactl set-sink-volume @DEFAULT_SINK@ -5%
|
||||||
|
XF86AudioMute
|
||||||
|
pactl set-sink-mute @DEFAULT_SINK@ toggle
|
||||||
|
XF86AudioMicMute
|
||||||
|
pactl set-source-mute @DEFAULT_SOURCE@ toggle
|
||||||
|
|
||||||
|
# Brightness
|
||||||
|
|
||||||
|
XF86MonBrightnessUp
|
||||||
|
xbacklight -inc 10
|
||||||
|
XF86MonBrightnessDown
|
||||||
|
xbacklight -dec 10
|
||||||
|
|
||||||
|
|
||||||
3
config/tmux/sessions/assembly
Normal file
3
config/tmux/sessions/assembly
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
tmux new-session -d -s 'assembly' -n 'neovim' -c ~/Projects/assembly
|
||||||
|
tmux new-window -t assembly -n shell -c ~/Projects/assembly
|
||||||
|
tmux select-window -t assembly:0
|
||||||
3
config/tmux/sessions/c
Executable file
3
config/tmux/sessions/c
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
tmux new-session -d -s 'c' -n 'neovim' -c ~/Projects/c
|
||||||
|
tmux new-window -t c -n shell
|
||||||
|
tmux select-window -t c:0
|
||||||
6
config/tmux/sessions/default
Executable file
6
config/tmux/sessions/default
Executable file
@@ -0,0 +1,6 @@
|
|||||||
|
tmux new-session -d -s 'default' -n 'neovim'
|
||||||
|
tmux new-window -t default -n 'shell'
|
||||||
|
#tmux split-window -t default:1.0 -h*/
|
||||||
|
#tmux split-window -t default:1.1 */
|
||||||
|
#tmux resize-pane -t default:1.2 -x 60 -y 20*/
|
||||||
|
tmux select-window -t default:0
|
||||||
3
config/tmux/sessions/python
Executable file
3
config/tmux/sessions/python
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
tmux new-session -d -s 'python' -n 'neovim' -c ~/Projects/python
|
||||||
|
tmux new-window -t python -n shell -c ~/Projects/python
|
||||||
|
tmux select-window -t python:0
|
||||||
3
config/tmux/sessions/rust
Executable file
3
config/tmux/sessions/rust
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
tmux new-session -d -s 'rust' -n 'neovim' -c ~/Projects/rust
|
||||||
|
tmux new-window -t rust -n shell -c ~/Projects/rust
|
||||||
|
tmux select-window -t rust:0
|
||||||
3
config/tmux/sessions/teddit
Executable file
3
config/tmux/sessions/teddit
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
tmux new-session -d -s 'teddit' -n 'neovim' -c ~/Projects/rust/teddit
|
||||||
|
tmux new-window -t teddit -n shell -c ~/Projects/rust/teddit
|
||||||
|
tmux select-window -t teddit:0
|
||||||
3
config/tmux/sessions/test
Executable file
3
config/tmux/sessions/test
Executable file
@@ -0,0 +1,3 @@
|
|||||||
|
tmux new-session -d -s 'test' -n 'neovim' -c ~/Projects/test
|
||||||
|
tmux new-window -t test -n shell
|
||||||
|
tmux select-window -t test:0
|
||||||
48
config/tmux/start-tmux
Executable file
48
config/tmux/start-tmux
Executable file
@@ -0,0 +1,48 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
live_sessions=$(tmux list-sessions 2>/dev/null)
|
||||||
|
all_sessions=$(find ~/.config/tmux/sessions -type f -executable -printf '%f\n')
|
||||||
|
TMUX_SESSIONS="$HOME/.config/tmux/sessions"
|
||||||
|
# for some reason ~/.config/tmux/session doesn't work if made with quotes
|
||||||
|
# TMUX_SESSIONS=$XDG_CONFIG_HOME/tmux/sessions
|
||||||
|
|
||||||
|
if ! [ -z "$TMUX" ];then
|
||||||
|
echo "Nested tmux sessions are a bad idea?"
|
||||||
|
echo "If you want to really do this unset TMUX environment variable"
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
|
IFS=$'\n'
|
||||||
|
for live_session in $live_sessions;do
|
||||||
|
live_session_name=$(echo $live_session | cut -d: -f1)
|
||||||
|
if [ -z "${all_sessions##*$live_session_name*}" ];then # see https://stackoverflow.com/questions/229551/how-to-check-if-a-string-contains-a-substring-in-bash
|
||||||
|
all_sessions="$(echo "$all_sessions" | sed "s/$live_session_name/$live_session/g")"
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
|
||||||
|
session=$(echo "$all_sessions" | fzf)
|
||||||
|
session_name=$(echo $session | cut -d: -f1)
|
||||||
|
|
||||||
|
if [ -z "$session" ];then
|
||||||
|
exit 0
|
||||||
|
fi
|
||||||
|
|
||||||
|
if ! [ -z "${session##*created*}" ];then
|
||||||
|
if [ -x "$TMUX_SESSIONS/$session_name" ];then
|
||||||
|
source $TMUX_SESSIONS/$session_name
|
||||||
|
else
|
||||||
|
echo $TMUX_SESSIONS/$session_name not found or is not executable
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
if [ -z "${session##*attached*}" ];then
|
||||||
|
read -r -p "The session is already attached somewhere else. Attach it here too ? (y/N): " choice
|
||||||
|
if [ "$choice" == "y" ] || [ "$choice" == "Y" ];then
|
||||||
|
tmux attach-session -t$session_name
|
||||||
|
fi
|
||||||
|
else
|
||||||
|
tmux attach-session -t$session_name
|
||||||
|
fi
|
||||||
|
|
||||||
46
config/tmux/tmux.conf
Normal file
46
config/tmux/tmux.conf
Normal file
@@ -0,0 +1,46 @@
|
|||||||
|
# List of plugins
|
||||||
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
|
set -g @plugin 'uttarayan21/tmux-wombat'
|
||||||
|
set -g @plugin 'tmux-plugins/tmux-battery'
|
||||||
|
|
||||||
|
|
||||||
|
# set -g @dracula-show-powerline true
|
||||||
|
# set -g @dracula-show-weather false
|
||||||
|
# set -g @dracula-show-left-icon session
|
||||||
|
# set -g @dracula-show-left-sep
|
||||||
|
# set -g @dracula-show-right-sep
|
||||||
|
# Theme
|
||||||
|
# set -g @plugin 'dracula/tmux'
|
||||||
|
|
||||||
|
# load plugin manager
|
||||||
|
run -b '~/.config/tmux/plugins/tpm/tpm'
|
||||||
|
|
||||||
|
set -g default-terminal 'screen-256color'
|
||||||
|
set -ga terminal-overrides ',*256col*:Tc'
|
||||||
|
set-option -sa terminal-overrides ',alacritty:RGB'
|
||||||
|
set-option -g focus-events on
|
||||||
|
set-option -sg escape-time 10
|
||||||
|
set-environment -g TMUX_PLUGIN_MANAGER_PATH '~/.config/tmux/plugins'
|
||||||
|
|
||||||
|
# source-file ~/.config/tmux/tmuxline.conf
|
||||||
|
# Bind prefix to ctrl space
|
||||||
|
unbind C-b
|
||||||
|
set -g prefix C-Space
|
||||||
|
bind Space send-prefix
|
||||||
|
|
||||||
|
# Use vi keys
|
||||||
|
set -gw mode-keys vi
|
||||||
|
set -g status-keys vi
|
||||||
|
|
||||||
|
bind h select-pane -L
|
||||||
|
bind j select-pane -D
|
||||||
|
bind k select-pane -U
|
||||||
|
bind l select-pane -R
|
||||||
|
|
||||||
|
# Binds
|
||||||
|
bind C-d detach
|
||||||
|
bind C-n next-window
|
||||||
|
bind C-p previous-window
|
||||||
|
bind r source-file ~/.config/tmux/tmux.conf \; display-message "Configuration reloaded."
|
||||||
|
bind C-Space last-window
|
||||||
|
bind m send-keys -t.- 'mpcfzf' Enter
|
||||||
190
config/zsh/abbreviations
Normal file
190
config/zsh/abbreviations
Normal file
@@ -0,0 +1,190 @@
|
|||||||
|
abbr -g ...="../.."
|
||||||
|
abbr -g ....="../../.."
|
||||||
|
abbr -g .....="../../../.."
|
||||||
|
abbr -g ......="../../../../.."
|
||||||
|
abbr -g grep="rg"
|
||||||
|
abbr -="cd -"
|
||||||
|
abbr _="sudo "
|
||||||
|
abbr 1="cd -"
|
||||||
|
abbr 2="cd -2"
|
||||||
|
abbr 3="cd -3"
|
||||||
|
abbr 4="cd -4"
|
||||||
|
abbr 5="cd -5"
|
||||||
|
abbr 6="cd -6"
|
||||||
|
abbr 7="cd -7"
|
||||||
|
abbr 8="cd -8"
|
||||||
|
abbr 9="cd -9"
|
||||||
|
abbr afind="ack -il"
|
||||||
|
abbr cat="bat"
|
||||||
|
abbr cd="z"
|
||||||
|
abbr g="git"
|
||||||
|
abbr ga="git add"
|
||||||
|
abbr gaa="git add --all"
|
||||||
|
abbr gap="git apply"
|
||||||
|
abbr gapa="git add --patch"
|
||||||
|
abbr gau="git add --update"
|
||||||
|
abbr gav="git add --verbose"
|
||||||
|
abbr gb="git branch"
|
||||||
|
abbr gba="git branch -a"
|
||||||
|
abbr gbD="git branch -D"
|
||||||
|
abbr gbd="git branch -d"
|
||||||
|
abbr gbda="git branch --no-color --merged | command grep -vE \"^(\+|\*|\s*(master|develop|dev)\s*\$)\" | command xargs -n 1 git branch -d"
|
||||||
|
abbr gbl="git blame -b -w"
|
||||||
|
abbr gbnm="git branch --no-merged"
|
||||||
|
abbr gbr="git branch --remote"
|
||||||
|
abbr gbs="git bisect"
|
||||||
|
abbr gbsb="git bisect bad"
|
||||||
|
abbr gbsg="git bisect good"
|
||||||
|
abbr gbsr="git bisect reset"
|
||||||
|
abbr gbss="git bisect start"
|
||||||
|
abbr 'gc!'="git commit -v --amend"
|
||||||
|
abbr gc="git commit -v"
|
||||||
|
abbr 'gca!'="git commit -v -a --amend"
|
||||||
|
abbr gca="git commit -v -a"
|
||||||
|
abbr gcam="git commit -a -m"
|
||||||
|
abbr 'gcan!'="git commit -v -a --no-edit --amend"
|
||||||
|
abbr 'gcans!'="git commit -v -a -s --no-edit --amend"
|
||||||
|
abbr gcb="git checkout -b"
|
||||||
|
abbr gcd="git checkout develop"
|
||||||
|
abbr gcf="git config --list"
|
||||||
|
abbr gcl="git clone --recurse-submodules"
|
||||||
|
abbr gclean="git clean -id"
|
||||||
|
abbr gcm="git checkout master"
|
||||||
|
abbr gcmsg="git commit -m"
|
||||||
|
abbr 'gcn!'="git commit -v --no-edit --amend"
|
||||||
|
abbr gco="git checkout"
|
||||||
|
abbr gcount="git shortlog -sn"
|
||||||
|
abbr gcp="git cherry-pick"
|
||||||
|
abbr gcpa="git cherry-pick --abort"
|
||||||
|
abbr gcpc="git cherry-pick --continue"
|
||||||
|
abbr gcs="git commit -S"
|
||||||
|
abbr gcsm="git commit -s -m"
|
||||||
|
abbr gd="git diff"
|
||||||
|
abbr gdca="git diff --cached"
|
||||||
|
abbr gdct="git describe --tags \$(git rev-list --tags --max-count=1)"
|
||||||
|
abbr gdcw="git diff --cached --word-diff"
|
||||||
|
abbr gds="git diff --staged"
|
||||||
|
abbr gdt="git diff-tree --no-commit-id --name-only -r"
|
||||||
|
abbr gdw="git diff --word-diff"
|
||||||
|
abbr gf="git fetch"
|
||||||
|
abbr gfa="git fetch --all --prune"
|
||||||
|
abbr gfg="git ls-files | grep"
|
||||||
|
abbr gfo="git fetch origin"
|
||||||
|
abbr gg="git gui citool"
|
||||||
|
abbr gga="git gui citool --amend"
|
||||||
|
abbr ggpull="git pull origin \"\$(git_current_branch)\""
|
||||||
|
abbr ggpur="ggu"
|
||||||
|
abbr ggpush="git push origin \"\$(git_current_branch)\""
|
||||||
|
abbr ggsup="git branch --set-upstream-to=origin/\$(git_current_branch)"
|
||||||
|
abbr ghh="git help"
|
||||||
|
abbr gignore="git update-index --assume-unchanged"
|
||||||
|
abbr gignored="git ls-files -v | grep \"^[[:lower:]]\""
|
||||||
|
abbr git-svn-dcommit-push="git svn dcommit && git push github master:svntrunk"
|
||||||
|
abbr gk="\gitk --all --branches"
|
||||||
|
abbr gke="\gitk --all \$(git log -g --pretty=%h)"
|
||||||
|
abbr gl="git pull"
|
||||||
|
abbr glg="git log --stat"
|
||||||
|
abbr glgg="git log --graph"
|
||||||
|
abbr glgga="git log --graph --decorate --all"
|
||||||
|
abbr glgm="git log --graph --max-count=10"
|
||||||
|
abbr glgp="git log --stat -p"
|
||||||
|
abbr glo="git log --oneline --decorate"
|
||||||
|
abbr globurl="noglob urlglobber "
|
||||||
|
abbr glod="git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset'"
|
||||||
|
abbr glods="git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset' --date=short"
|
||||||
|
abbr glog="git log --oneline --decorate --graph"
|
||||||
|
abbr gloga="git log --oneline --decorate --graph --all"
|
||||||
|
abbr glol="git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset'"
|
||||||
|
abbr glola="git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --all"
|
||||||
|
abbr glols="git log --graph --pretty='%Cred%h%Creset -%C(auto)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --stat"
|
||||||
|
abbr glp="_git_log_prettily"
|
||||||
|
abbr glum="git pull upstream master"
|
||||||
|
abbr gm="git merge"
|
||||||
|
abbr gma="git merge --abort"
|
||||||
|
abbr gmom="git merge origin/master"
|
||||||
|
abbr gmt="git mergetool --no-prompt"
|
||||||
|
abbr gmtvim="git mergetool --no-prompt --tool=vimdiff"
|
||||||
|
abbr gmum="git merge upstream/master"
|
||||||
|
abbr gp="git push"
|
||||||
|
abbr gpd="git push --dry-run"
|
||||||
|
abbr 'gpf!'="git push --force"
|
||||||
|
abbr gpf="git push --force-with-lease"
|
||||||
|
abbr gpoat="git push origin --all && git push origin --tags"
|
||||||
|
abbr gpristine="git reset --hard && git clean -dffx"
|
||||||
|
abbr gpsup="git push --set-upstream origin \$(git_current_branch)"
|
||||||
|
abbr gpu="git push upstream"
|
||||||
|
abbr gpv="git push -v"
|
||||||
|
abbr gr="git remote"
|
||||||
|
abbr gra="git remote add"
|
||||||
|
abbr grb="git rebase"
|
||||||
|
abbr grba="git rebase --abort"
|
||||||
|
abbr grbc="git rebase --continue"
|
||||||
|
abbr grbd="git rebase develop"
|
||||||
|
abbr grbi="git rebase -i"
|
||||||
|
abbr grbm="git rebase master"
|
||||||
|
abbr grbs="git rebase --skip"
|
||||||
|
abbr grev="git revert"
|
||||||
|
abbr grh="git reset"
|
||||||
|
abbr grhh="git reset --hard"
|
||||||
|
abbr grm="git rm"
|
||||||
|
abbr grmc="git rm --cached"
|
||||||
|
abbr grmv="git remote rename"
|
||||||
|
abbr groh="git reset origin/\$(git_current_branch) --hard"
|
||||||
|
abbr grrm="git remote remove"
|
||||||
|
abbr grs="git restore"
|
||||||
|
abbr grset="git remote set-url"
|
||||||
|
abbr grss="git restore --source"
|
||||||
|
abbr grt="cd \"\$(git rev-parse --show-toplevel || echo .)\""
|
||||||
|
abbr gru="git reset --"
|
||||||
|
abbr grup="git remote update"
|
||||||
|
abbr grv="git remote -v"
|
||||||
|
abbr gs="git status"
|
||||||
|
abbr gsb="git status -sb"
|
||||||
|
abbr gsd="git svn dcommit"
|
||||||
|
abbr gsh="git show"
|
||||||
|
abbr gsi="git submodule init"
|
||||||
|
abbr gsps="git show --pretty=short --show-signature"
|
||||||
|
abbr gsr="git svn rebase"
|
||||||
|
abbr gss="git status -s"
|
||||||
|
abbr gst="git status"
|
||||||
|
abbr gsta="git stash push"
|
||||||
|
abbr gstaa="git stash apply"
|
||||||
|
abbr gstall="git stash --all"
|
||||||
|
abbr gstc="git stash clear"
|
||||||
|
abbr gstd="git stash drop"
|
||||||
|
abbr gstl="git stash list"
|
||||||
|
abbr gstp="git stash pop"
|
||||||
|
abbr gsts="git stash show --text"
|
||||||
|
abbr gstu="git stash --include-untracked"
|
||||||
|
abbr gsu="git submodule update"
|
||||||
|
abbr gsw="git switch"
|
||||||
|
abbr gswc="git switch -c"
|
||||||
|
abbr gtl="gtl(){ git tag --sort=-v:refname -n -l \"\${1}*\" }; noglob gtl"
|
||||||
|
abbr gts="git tag -s"
|
||||||
|
abbr gtv="git tag | sort -V"
|
||||||
|
abbr gunignore="git update-index --no-assume-unchanged"
|
||||||
|
abbr gunwip="git log -n 1 | grep -q -c \"\-\-wip\-\-\" && git reset HEAD~1"
|
||||||
|
abbr gup="git pull --rebase"
|
||||||
|
abbr gupa="git pull --rebase --autostash"
|
||||||
|
abbr gupav="git pull --rebase --autostash -v"
|
||||||
|
abbr gupv="git pull --rebase -v"
|
||||||
|
abbr gwch="git whatchanged -p --abbrev-commit --pretty=medium"
|
||||||
|
abbr gwip="git add -A; git rm \$(git ls-files --deleted) 2> /dev/null; git commit --no-verify --no-gpg-sign -m \"--wip-- [skip ci]\""
|
||||||
|
abbr history="omz_history"
|
||||||
|
abbr l="exa -al"
|
||||||
|
abbr ls="exa"
|
||||||
|
abbr md="mkdir -p"
|
||||||
|
abbr mutt="neomutt"
|
||||||
|
abbr o="xdg-open"
|
||||||
|
abbr rpc="patch -p0 < ~/.local/share/console.diff"
|
||||||
|
abbr s="source venv/bin/activate"
|
||||||
|
abbr t="~/.config/tmux/start-tmux"
|
||||||
|
abbr vbspwm="v ~/.config/bspwm/bspwmrc"
|
||||||
|
abbr vc="v ~/.config/nvim/init.vim"
|
||||||
|
abbr vt="v ~/.config/tmux/tmux.conf"
|
||||||
|
abbr wget="curl -O"
|
||||||
|
abbr which-command="whence"
|
||||||
|
abbr za="zoxide add"
|
||||||
|
abbr zi="z -i"
|
||||||
|
abbr zq="zoxide query"
|
||||||
|
abbr zr="zoxide remove"
|
||||||
1
config/zsh/alias.zshrc
Normal file
1
config/zsh/alias.zshrc
Normal file
@@ -0,0 +1 @@
|
|||||||
|
alias ll='exa -al'
|
||||||
21
config/zsh/env.sh
Normal file
21
config/zsh/env.sh
Normal file
@@ -0,0 +1,21 @@
|
|||||||
|
export GTK_RC_FILES="$XDG_CONFIG_HOME"/gtk-1.0/gtkrc
|
||||||
|
export GTK2_RC_FILES="$XDG_CONFIG_HOME"/gtk-2.0/gtkrc
|
||||||
|
export NOTMUCH_CONFIG="$XDG_CONFIG_HOME"/notmuch/notmuchrc
|
||||||
|
export NMBGIT="$XDG_DATA_HOME"/notmuch/nmbug
|
||||||
|
export LESSKEY="$XDG_CONFIG_HOME"/less/lesskey
|
||||||
|
export LESSHISTFILE="$XDG_CACHE_HOME"/less/history
|
||||||
|
export RUSTUP_HOME="$XDG_DATA_HOME"/rustup
|
||||||
|
export ANDROID_SDK_HOME="$XDG_CONFIG_HOME"/android
|
||||||
|
export ADB_VENDOR_KEY="$XDG_CONFIG_HOME"/android
|
||||||
|
export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
|
||||||
|
export WINEPREFIX="$XDG_DATA_HOME"/wineprefixes/default
|
||||||
|
export CARGO_HOME="$XDG_DATA_HOME"/cargo
|
||||||
|
export _JAVA_OPTIONS=-Djava.util.prefs.userRoot="$XDG_CONFIG_HOME"/java
|
||||||
|
export GRADLE_USER_HOME="$XDG_DATA_HOME"/gradle
|
||||||
|
export PYLINTHOME="$XDG_CACHE_HOME"/pylint
|
||||||
|
export NPM_CONFIG_USERCONFIG=$XDG_CONFIG_HOME/npm/npmrc
|
||||||
|
# export XAUTHORITY="$XDG_RUNTIME_DIR"/Xauthority
|
||||||
|
export npm_config_prefix=$XDG_DATA_HOME/node_modules
|
||||||
|
export gnome_user_dir="$XDG_CONFIG_HOME"/gnome/apps
|
||||||
|
export ANDROID_PREFS_ROOT="$XDG_CONFIG_HOME"/android
|
||||||
|
export ANDROID_EMULATOR_HOME="$XDG_DATA_HOME"/android/emulator
|
||||||
1
config/zsh/plugins/adb
Symbolic link
1
config/zsh/plugins/adb
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/adb
|
||||||
1
config/zsh/plugins/alias-finder
Symbolic link
1
config/zsh/plugins/alias-finder
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/alias-finder
|
||||||
1
config/zsh/plugins/ansible
Symbolic link
1
config/zsh/plugins/ansible
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/ansible
|
||||||
1
config/zsh/plugins/ant
Symbolic link
1
config/zsh/plugins/ant
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/ant
|
||||||
1
config/zsh/plugins/apache2-macports
Symbolic link
1
config/zsh/plugins/apache2-macports
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/apache2-macports
|
||||||
1
config/zsh/plugins/arcanist
Symbolic link
1
config/zsh/plugins/arcanist
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/arcanist
|
||||||
1
config/zsh/plugins/archlinux
Symbolic link
1
config/zsh/plugins/archlinux
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/archlinux
|
||||||
1
config/zsh/plugins/asdf
Symbolic link
1
config/zsh/plugins/asdf
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/asdf
|
||||||
1
config/zsh/plugins/autoenv
Symbolic link
1
config/zsh/plugins/autoenv
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/autoenv
|
||||||
1
config/zsh/plugins/autojump
Symbolic link
1
config/zsh/plugins/autojump
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/autojump
|
||||||
1
config/zsh/plugins/autopep8
Symbolic link
1
config/zsh/plugins/autopep8
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/autopep8
|
||||||
1
config/zsh/plugins/aws
Symbolic link
1
config/zsh/plugins/aws
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/aws
|
||||||
1
config/zsh/plugins/battery
Symbolic link
1
config/zsh/plugins/battery
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/battery
|
||||||
1
config/zsh/plugins/bbedit
Symbolic link
1
config/zsh/plugins/bbedit
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/bbedit
|
||||||
1
config/zsh/plugins/bgnotify
Symbolic link
1
config/zsh/plugins/bgnotify
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/bgnotify
|
||||||
1
config/zsh/plugins/boot2docker
Symbolic link
1
config/zsh/plugins/boot2docker
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/boot2docker
|
||||||
1
config/zsh/plugins/bower
Symbolic link
1
config/zsh/plugins/bower
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/bower
|
||||||
1
config/zsh/plugins/branch
Symbolic link
1
config/zsh/plugins/branch
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/branch
|
||||||
1
config/zsh/plugins/brew
Symbolic link
1
config/zsh/plugins/brew
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/brew
|
||||||
1
config/zsh/plugins/bundler
Symbolic link
1
config/zsh/plugins/bundler
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/bundler
|
||||||
1
config/zsh/plugins/cabal
Symbolic link
1
config/zsh/plugins/cabal
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/cabal
|
||||||
1
config/zsh/plugins/cake
Symbolic link
1
config/zsh/plugins/cake
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/cake
|
||||||
1
config/zsh/plugins/cakephp3
Symbolic link
1
config/zsh/plugins/cakephp3
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/cakephp3
|
||||||
1
config/zsh/plugins/capistrano
Symbolic link
1
config/zsh/plugins/capistrano
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/capistrano
|
||||||
1
config/zsh/plugins/cargo
Symbolic link
1
config/zsh/plugins/cargo
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/cargo
|
||||||
1
config/zsh/plugins/cask
Symbolic link
1
config/zsh/plugins/cask
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/cask
|
||||||
1
config/zsh/plugins/catimg
Symbolic link
1
config/zsh/plugins/catimg
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/catimg
|
||||||
1
config/zsh/plugins/celery
Symbolic link
1
config/zsh/plugins/celery
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/celery
|
||||||
1
config/zsh/plugins/chruby
Symbolic link
1
config/zsh/plugins/chruby
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/chruby
|
||||||
1
config/zsh/plugins/chucknorris
Symbolic link
1
config/zsh/plugins/chucknorris
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/chucknorris
|
||||||
1
config/zsh/plugins/cloudapp
Symbolic link
1
config/zsh/plugins/cloudapp
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/cloudapp
|
||||||
1
config/zsh/plugins/cloudfoundry
Symbolic link
1
config/zsh/plugins/cloudfoundry
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/cloudfoundry
|
||||||
1
config/zsh/plugins/codeclimate
Symbolic link
1
config/zsh/plugins/codeclimate
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/codeclimate
|
||||||
1
config/zsh/plugins/coffee
Symbolic link
1
config/zsh/plugins/coffee
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/coffee
|
||||||
1
config/zsh/plugins/colemak
Symbolic link
1
config/zsh/plugins/colemak
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/colemak
|
||||||
1
config/zsh/plugins/colored-man-pages
Symbolic link
1
config/zsh/plugins/colored-man-pages
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/colored-man-pages
|
||||||
1
config/zsh/plugins/colorize
Symbolic link
1
config/zsh/plugins/colorize
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/colorize
|
||||||
1
config/zsh/plugins/command-not-found
Symbolic link
1
config/zsh/plugins/command-not-found
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/command-not-found
|
||||||
1
config/zsh/plugins/common-aliases
Symbolic link
1
config/zsh/plugins/common-aliases
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/common-aliases
|
||||||
1
config/zsh/plugins/compleat
Symbolic link
1
config/zsh/plugins/compleat
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/compleat
|
||||||
1
config/zsh/plugins/composer
Symbolic link
1
config/zsh/plugins/composer
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/composer
|
||||||
1
config/zsh/plugins/copybuffer
Symbolic link
1
config/zsh/plugins/copybuffer
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/copybuffer
|
||||||
1
config/zsh/plugins/copydir
Symbolic link
1
config/zsh/plugins/copydir
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/copydir
|
||||||
1
config/zsh/plugins/copyfile
Symbolic link
1
config/zsh/plugins/copyfile
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/copyfile
|
||||||
1
config/zsh/plugins/cp
Symbolic link
1
config/zsh/plugins/cp
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/cp
|
||||||
1
config/zsh/plugins/cpanm
Symbolic link
1
config/zsh/plugins/cpanm
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/cpanm
|
||||||
1
config/zsh/plugins/dash
Symbolic link
1
config/zsh/plugins/dash
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/dash
|
||||||
1
config/zsh/plugins/debian
Symbolic link
1
config/zsh/plugins/debian
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/debian
|
||||||
1
config/zsh/plugins/dircycle
Symbolic link
1
config/zsh/plugins/dircycle
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/dircycle
|
||||||
1
config/zsh/plugins/direnv
Symbolic link
1
config/zsh/plugins/direnv
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/direnv
|
||||||
1
config/zsh/plugins/dirhistory
Symbolic link
1
config/zsh/plugins/dirhistory
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/dirhistory
|
||||||
1
config/zsh/plugins/dirpersist
Symbolic link
1
config/zsh/plugins/dirpersist
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/dirpersist
|
||||||
1
config/zsh/plugins/django
Symbolic link
1
config/zsh/plugins/django
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/django
|
||||||
1
config/zsh/plugins/dnf
Symbolic link
1
config/zsh/plugins/dnf
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/dnf
|
||||||
1
config/zsh/plugins/dnote
Symbolic link
1
config/zsh/plugins/dnote
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/dnote
|
||||||
1
config/zsh/plugins/docker
Symbolic link
1
config/zsh/plugins/docker
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/docker
|
||||||
1
config/zsh/plugins/docker-compose
Symbolic link
1
config/zsh/plugins/docker-compose
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/docker-compose
|
||||||
1
config/zsh/plugins/docker-machine
Symbolic link
1
config/zsh/plugins/docker-machine
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/docker-machine
|
||||||
1
config/zsh/plugins/doctl
Symbolic link
1
config/zsh/plugins/doctl
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/doctl
|
||||||
1
config/zsh/plugins/dotenv
Symbolic link
1
config/zsh/plugins/dotenv
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/dotenv
|
||||||
1
config/zsh/plugins/dotnet
Symbolic link
1
config/zsh/plugins/dotnet
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/dotnet
|
||||||
1
config/zsh/plugins/droplr
Symbolic link
1
config/zsh/plugins/droplr
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/droplr
|
||||||
1
config/zsh/plugins/drush
Symbolic link
1
config/zsh/plugins/drush
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/drush
|
||||||
1
config/zsh/plugins/eecms
Symbolic link
1
config/zsh/plugins/eecms
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/eecms
|
||||||
1
config/zsh/plugins/emacs
Symbolic link
1
config/zsh/plugins/emacs
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/emacs
|
||||||
1
config/zsh/plugins/ember-cli
Symbolic link
1
config/zsh/plugins/ember-cli
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/ember-cli
|
||||||
1
config/zsh/plugins/emoji
Symbolic link
1
config/zsh/plugins/emoji
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/emoji
|
||||||
1
config/zsh/plugins/emoji-clock
Symbolic link
1
config/zsh/plugins/emoji-clock
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/emoji-clock
|
||||||
1
config/zsh/plugins/emotty
Symbolic link
1
config/zsh/plugins/emotty
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/emotty
|
||||||
1
config/zsh/plugins/encode64
Symbolic link
1
config/zsh/plugins/encode64
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/encode64
|
||||||
1
config/zsh/plugins/extract
Symbolic link
1
config/zsh/plugins/extract
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/extract
|
||||||
1
config/zsh/plugins/fabric
Symbolic link
1
config/zsh/plugins/fabric
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/fabric
|
||||||
1
config/zsh/plugins/fancy-ctrl-z
Symbolic link
1
config/zsh/plugins/fancy-ctrl-z
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/fancy-ctrl-z
|
||||||
1
config/zsh/plugins/fasd
Symbolic link
1
config/zsh/plugins/fasd
Symbolic link
@@ -0,0 +1 @@
|
|||||||
|
/usr/share/oh-my-zsh/plugins/fasd
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user