all repos

dotfiles @ 9b2871dd654503b626409b912c616506a5b320eb

i use rach linux btw
5 files changed, 67 insertions(+), 36 deletions(-)
Update nvim, add remove polybar from i3wm
Author: Smirnov Olexandr ss2316544@gmail.com
Committed at: 2021-02-12 19:50:43 +0200
Parent: 3ebe332
M config/i3/config
···
        20
        20
         set $browser firefox 

      
        21
        21
         set $filemanager alacritty --title=ranger -e ranger

      
        22
        22
         set $codeeditor alacritty --title=nvim -e nvim

      
        23
        
        -set $guicode vscodium

      
        
        23
        +set $guicode code

      
        24
        24
         

      
        25
        25
         ############ Autostart ############

      
        26
        26
         exec_always --no-startup-id exec setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps"

      
        27
        27
         exec_always --no-startup-id exec picom --experimental-backends -b

      
        28
        
        -exec_always --no-startup-id exec $HOME/.config/i3/bar.sh

      
        
        28
        +#exec_always --no-startup-id exec $HOME/.config/i3/bar.sh

      
        29
        29
         exec --no-startup-id exec nitrogen --restore

      
        30
        30
         exec --no-startup-id exec lxsession

      
        31
        
        -exec --no-startup-id exec $HOME/.script/autolock

      
        
        31
        +#exec --no-startup-id exec $HOME/.script/autolock

      
        32
        32
         #exec --no-startup-id exec org.telegram.desktop

      
        33
        33
         #exec --no-startup-id exec discord

      
        34
        34
         #exec --no-startup-id exec conky

      ···
        163
        163
         bindsym $mod+Shift+8 move container to workspace $ws8

      
        164
        164
         bindsym $mod+Shift+9 move container to workspace $ws9

      
        165
        165
         

      
        
        166
        +############### Bar ###############

      
        
        167
        +bar {

      
        
        168
        +    status_command i3status-rs ~/.config/i3/i3status-rs.toml

      
        
        169
        +    font pango:JetBrains Mono 10

      
        
        170
        +    position top

      
        
        171
        +    colors {

      
        
        172
        +      background #262A2B

      
        
        173
        +      statusline #FFFFFF

      
        
        174
        +      separator  #58676C

      
        
        175
        +      focused_workspace  #008DCD #008DCD #FFFFFF

      
        
        176
        +      active_workspace   #262A2B #262A2B #FFFFFF

      
        
        177
        +      inactive_workspace #262A2B #262A2B #DFDFDF

      
        
        178
        +      urgent_workspace   #FF6C6B #FF6C6B #FFFFFF

      
        
        179
        +      binding_mode       #2F343A #900000 #FFFFFF

      
        
        180
        +  }

      
        
        181
        +}

      
        166
        182
         ############## Colors #############

      
        167
        183
         #        Class          Border   Backgr   Text     Indicator Child_border

      
        168
        184
         client.focused          #008DCD  #008DCD  #FFFFFF  #008DCD   #008DCD

      
A config/i3/i3status-rs.toml
···
        
        1
        +theme = "native"

      
        
        2
        +icons = "awesome5"

      
        
        3
        +

      
        
        4
        +### CPU load

      
        
        5
        +[[block]]

      
        
        6
        +block = "cpu"

      
        
        7
        +interval = 5

      
        
        8
        +

      
        
        9
        +### Blacklight

      
        
        10
        +[[block]]

      
        
        11
        +block = "backlight"

      
        
        12
        +device = "intel_backlight"

      
        
        13
        +

      
        
        14
        +### Volume

      
        
        15
        +[[block]]

      
        
        16
        +block = "sound"

      
        
        17
        +step_width = 2

      
        
        18
        +

      
        
        19
        +### WiFi signal

      
        
        20
        +#[[block]]

      
        
        21
        +#block = "custom"

      
        
        22
        +#command = "cat /proc/net/wireless | grep \"wlp3s0\" | awk '{print $4}' | grep -o '[0-9]*'"

      
        
        23
        +#interval = 10

      
        
        24
        +

      
        
        25
        +### Keyboard layout

      
        
        26
        +[[block]]

      
        
        27
        +block = "custom"

      
        
        28
        +interval = 0

      
        
        29
        +command = """

      
        
        30
        +case "$(xkblayout)" in

      
        
        31
        +  Eng) echo "us" ;;

      
        
        32
        +  Ukr) echo "ua" ;;

      
        
        33
        +esac"""

      
        
        34
        +

      
        
        35
        +### Date && time

      
        
        36
        +[[block]]

      
        
        37
        +block = "time"

      
        
        38
        +interval = 60

      
        
        39
        +format = "%H:%M"
      
M config/nvim/init.vim
···
        5
        5
           Plug 'dense-analysis/ale'     " Linter

      
        6
        6
           Plug 'airblade/vim-gitgutter' " Git indicator

      
        7
        7
           Plug 'ap/vim-css-color'       " Preview CSS colors

      
        8
        
        -  Plug 'SirVer/ultisnips'       " Snippets

      
        9
        8
           Plug 'jiangmiao/auto-pairs'   " Auto close brackets

      
        10
        9
           Plug 'editorconfig/editorconfig-vim'  " Editor Config support

      
        11
        10
           Plug 'christoomey/vim-tmux-navigator' " Jump from vim in tmux

      
        12
        11
           Plug 'maxboisvert/vim-simple-complete' " Sublime like completion

      
        13
        12
         

      
        14
        
        -  " History && file explorer

      
        15
        
        -  Plug 'mbbill/undotree', {'on': 'UndotreeToggle'}     " Git like history

      
        16
        
        -  Plug 'scrooloose/nerdtree', {'on': 'NERDTreeToggle'} " File explorer

      
        17
        
        -  Plug 'mattn/emmet-vim', {'for': ['javascript.jsx', 'html']}

      
        18
        
        -

      
        19
        13
           " Language support

      
        20
        14
           Plug 'pangloss/vim-javascript', {'for': 'javascript'}

      
        21
        15
           Plug 'mxw/vim-jsx', {'for': ['javascript.jsx', 'javascript']}

      
        22
        16
           Plug 'plasticboy/vim-markdown', {'for': 'markdown'}

      
        23
        17
           Plug 'PotatoesMaster/i3-vim-syntax', {'for': 'i3'}

      
        
        18
        +  Plug 'cespare/vim-toml', {'for': 'toml'}

      
        
        19
        +  Plug 'zah/nim.vim', {'for': 'nim'}

      
        24
        20
         call plug#end()

      
        25
        21
         syntax on

      
        26
        22
         

      ···
        96
        92
         \   'linter_warnings': 'lightline#ale#warnings'

      
        97
        93
         \ }, }

      
        98
        94
         

      
        99
        
        -" NERDTree

      
        100
        
        -nnoremap <C-b> :NERDTreeToggle<CR>

      
        101
        
        -let g:NERDTreeWinPos="right"

      
        102
        
        -let NERDTreeIgnore = ['__pycache__', 'node_modules']

      
        103
        
        -let NERDTreeShowHidden=0

      
        104
        
        -let g:NERDTreeWinSize = 28

      
        105
        
        -

      
        106
        
        -" UltiSnips

      
        107
        
        -let g:UltiSnipsExpandTrigger = "<tab>"

      
        108
        
        -let g:UltiSnipsJumpForwardTrigger = "<tab>"

      
        109
        
        -let g:UltiSnipsJumpBackwardTrigger = "<S-tab>"

      
        110
        
        -let g:UltiSnipsSnippetDirectories = ["snips"]

      
        111
        
        -let g:UltiSnipsEditSplit = "vertical"

      
        112
        
        -

      
        113
        
        -" Emmet

      
        114
        
        -let g:user_emmet_expandabbr_key='<C-a>'

      
        115
        
        -let g:user_emmet_mode='a'

      
        116
        
        -

      
        117
        
        -" Neoterm

      
        118
        
        -let g:neoterm_default_mod = 'vertical'

      
        119
        
        -let g:neoterm_size = 30

      
        120
        
        -let g:neoterm_autoinsert = 1

      
        121
        
        -

      
        122
        95
         " Ale

      
        123
        96
         let g:ale_disable_lsp = 1

      
        124
        97
         let g:ale_sign_error = '> '

      ···
        129
        102
         \ 'python':     ['flake8',   'pylint8']}

      
        130
        103
         

      
        131
        104
         " == Mapping

      
        132
        
        -let mapleader=","

      
        
        105
        +let mapleader="\\"

      
        133
        106
         imap jj <esc>

      
        134
        107
         

      
        135
        108
         " Window(s)

      ···
        163
        136
         " Buffer(s)

      
        164
        137
         noremap <leader>b :bnext<CR>

      
        165
        138
         noremap <leader>p :bprev<CR>

      
        
        139
        +

      
        
        140
        +" Paste & copy from/in system clipboard

      
        
        141
        +noremap <leader>c "*yy<CR>

      
        
        142
        +noremap <leader>v "+p<CR>

      
M vscode/settings.json
···
        21
        21
                 {"before": ["f"],

      
        22
        22
                  "after" : ["leader","leader","s"]}

      
        23
        23
             ],

      
        24
        
        -    "Vsnips.VarFiles": ["/home/sasha/.config/nvim/init.vim"],

      
        25
        
        -    "Vsnips.SnipsDir": ["/home/sasha/.config/nvim/snips"],

      
        26
        24
             

      
        27
        25
             // Terminal

      
        28
        26
             "workbench.panel.defaultLocation": "right",

      ···
        99
        97
             "[javascriptreact]": {

      
        100
        98
                 "editor.defaultFormatter": "esbenp.prettier-vscode"

      
        101
        99
             },

      
        
        100
        +    "workbench.startupEditor": "newUntitledFile",

      
        102
        101
         }
      
M zshrc
···
        1
        1
         export ZSH="$HOME/.oh-my-zsh"

      
        2
        
        -export PATH="$HOME/bin:$HOME/.local/bin:$GOPATH/bin:$PATH"

      
        
        2
        +export PATH="$HOME/.yarn/bin:$HOME/bin:$HOME/.local/bin:$GOPATH/bin:$PATH"

      
        3
        3
         source ~/.profile

      
        4
        4
         

      
        5
        5
         ### Oh my zsh ###