diff --git a/.config/compton.conf b/.config/compton.conf new file mode 100644 index 0000000..5cef009 --- /dev/null +++ b/.config/compton.conf @@ -0,0 +1,82 @@ +backend = "glx"; +vsync = "opengl-swc"; + +shadow = true; +no-dock-shadow = true; +no-dnd-shadow = true; +clear-shadow = true; +menu-opacity = 0.8; +inactive-opacity = 0.9; +active-opacity = 1; + +shadow-radius = 10; +shadow-offset-x = -5; +shadow-offset-y = 0; +shadow-opacity = 0.8; +shadow-red = 0.11; +shadow-green = 0.12; +shadow-blue = 0.13; +shadow-exclude = [ + "name = 'Notification'", + "_GTK_FRAME_EXTENTS@:c", + "class_g = 'i3-frame'", + "_NET_WM_STATE@:32a *= '_NET_WM_STATE_HIDDEN'", + "_NET_WM_STATE@:32a *= '_NET_WM_STATE_STICKY'", + "!I3_FLOATING_WINDOW@:c" +]; +shadow-ignore-shaped = true; + +alpha-step = 0.06; +blur-background = false; +blur-background-fixed = true; +blur-kern = "7x7box"; +blur-background-exclude = [ + "class_g = 'i3-frame'", + "window_type = 'dock'", + "window_type = 'desktop'", + "_GTK_FRAME_EXTENTS@:c" +]; + +# Duplicating the _NET_WM_STATE entries because compton cannot deal with atom arrays :-/ +#opacity-rule = [ +# "97:class_g = 'URxvt' && !_NET_WM_STATE@:32a", + +# "0:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_HIDDEN'", +# "0:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_HIDDEN'", +# "0:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_HIDDEN'", +# "0:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_HIDDEN'", +# "0:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_HIDDEN'", +# "90:_NET_WM_STATE@[0]:32a = '_NET_WM_STATE_STICKY'", +# "90:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_STICKY'", +# "90:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_STICKY'", +# "90:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_STICKY'", +# "90:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_STICKY'" +#]; + +fading = false; +fade-delta = 7; +fade-in-step = 0.05; +fade-out-step = 0.05; +fade-exclude = []; + +mark-wmwin-focused = true; +mark-ovredir-focused = true; +use-ewmh-active-win = true; +detect-rounded-corners = true; +detect-client-opacity = true; +refresh-rate = 0; +dbe = false; +paint-on-overlay = true; +glx-no-stencil = true; +glx-copy-from-front = false; +glx-swap-method = "undefined"; +sw-opti = true; +unredir-if-possible = false; +focus-exclude = []; +detect-transient = true; +detect-client-leader = true; +invert-color-include = []; + +wintypes: { + tooltip = { fade = true; shadow = false; opacity = 1.00; focus = true; }; +}; diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim new file mode 100644 index 0000000..867dd02 --- /dev/null +++ b/.config/nvim/init.vim @@ -0,0 +1,55 @@ +set nocompatible " Disable compatibility to old-time vi +set showmatch " Show matching brackets. +set ignorecase " Do case insensitive matching +set mouse=v " middle-click paste with mouse +set hlsearch " highlight search results +set tabstop=4 " number of columns occupied by a tab character +set softtabstop=4 " see multiple spaces as tabstops so does the right thing +set expandtab " converts tabs to white space +set shiftwidth=4 " width for autoindents +set autoindent " indent a new line the same amount as the line just typed +set number " add line numbers +set wildmode=longest,list " get bash-like tab completions +set autoread " refresh file +syntax on + +" set the runtime path to include Vundle and initialize +"set rtp+=~/.config/nvim/bundle/Vundle.vim +"call vundle#begin('~/.config/nvim/bundle') +"Plugin 'VundleVim/Vundle.vim' +"call vundle#end() + +filetype plugin indent on " allows auto-indenting depending on file type + +call plug#begin('~/.local/share/nvim/site/autoload') +Plug 'junegunn/vim-easy-align' +Plug 'https://github.com/junegunn/vim-github-dashboard.git' +Plug 'scrooloose/nerdtree', { 'on': 'NERDTreeToggle' } +Plug 'rdnetto/YCM-Generator', { 'branch': 'stable' } +Plug 'fatih/vim-go', { 'tag': '*' } +Plug 'nsf/gocode', { 'tag': 'v.20150303', 'rtp': 'vim' } +Plug 'junegunn/fzf', { 'dir': '~/.fzf', 'do': './install --all' } +Plug 'dylanaraps/wal' +Plug 'Xuyuanp/nerdtree-git-plugin' +Plug 'mhinz/vim-startify' +Plug 'itchyny/lightline.vim' +Plug 'tpope/vim-fugitive' +Plug 'tpope/vim-sensible' +Plug 'tpope/vim-obsession' +Plug 'junegunn/gv.vim' +Plug 'junegunn/goyo.vim' +call plug#end() + +map :NERDTreeToggle +colorscheme wal +let g:lightline = { + \ 'colorscheme': 'solarized', + \ 'active': { + \ 'right': [ [ 'lineinfo' ], + \ [ 'percent' ], + \ [ 'fileformat', 'fileencoding', 'filetype', 'charvaluehex' ] ] + \ }, + \ 'component': { + \ 'charvaluehex': '0x%B' + \ }, + \ } diff --git a/.config/rofi/config b/.config/rofi/config new file mode 100644 index 0000000..14e6774 --- /dev/null +++ b/.config/rofi/config @@ -0,0 +1,22 @@ +rofi.color-normal: #fbf8f1, #2A1A17, #fbf8f1, #ff923b, #2A1A17 +rofi.color-urgent: #fbf8f1, #d6b48d, #22231D, #d6b48d, #2A1A17 +rofi.color-active: #fbf8f1, #E1B959, #fbf8f1, #E1B959, #fbf8f1 +rofi.color-window: #fbf8f1, #ff923b, #DD712E +rofi.font:TamzenForPowerline 12 +rofi.color-enabled: true +rofi.fake-transparency: true +rofi.lines: 20 +rofi.bw: 0 +rofi.opacity: "10" +rofi.hide-scrollbar: true +rofi.width: 30 +rofi.modi: window,run,ssh,drun,i3:~/.config/Scripts/i3_switch_workspace.sh +rofi.sidebar-mode: true +rofi.terminal: urxvt +rofi.levenshtein-sort: true +rofi.separator-style: dash +rofi.show-icons: true + + +# Dark theme. +rofi.theme: ~/.cache/wal/colors-rofi-dark.rasi