all repos

dotfiles @ 13c6216796475b5add8c2e9b2d60c8d72613f620

i use rach linux btw
6 files changed, 19 insertions(+), 15 deletions(-)
Update nvim
Author: Smirnov Olexandr ss2316544@gmail.com
Committed at: 2021-01-04 14:42:57 +0200
Parent: 102aa36
M bin/ipp
···
        1
        1
         #!/bin/sh

      
        2
        
        -if [ -f '/usr/bin/curl' ]

      
        3
        
        -then curl ipinfo.io/ip

      
        4
        
        -else wget -qO- ipinfo.io/ip

      
        5
        
        -fi

      
        
        2
        +curl ipinfo.io/ip

      
M config/alacritty.yml
···
        1
        1
         window:

      
        2
        
        -  title: Alacritty

      
        
        2
        +  title: Terminal

      
        3
        3
           class:

      
        4
        4
             instance: Alacritty

      
        5
        5
             general: Alacritty

      ···
        7
        7
             x: 0

      
        8
        8
             y: 0

      
        9
        9
         

      
        10
        
        -  

      
        11
        10
         font:

      
        12
        11
           antialias: lcd

      
        13
        12
           hinting: true

      
M config/i3/config
···
        4
        4
         set $alt Mod1

      
        5
        5
         floating_modifier $mod

      
        6
        6
         

      
        7
        
        -# Font

      
        
        7
        +# Set font

      
        8
        8
         font monospace 10

      
        9
        9
         font pango:JetBrains Mono 10

      
        10
        10
         

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

      
        27
        27
         exec --no-startup-id exec org.telegram.desktop

      
        28
        28
         exec --no-startup-id exec lxsession

      
        29
        
        -exec --no-startup-id exec xautolock -time 3 -locker "betterlockscreen --off 180 -t \"Computer is lockerd\" -l"

      
        
        29
        +exec_always --no-startup-id exec $HOME/.script/autolock

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

      
        31
        31
         exec --no-startup-id exec discord

      
        32
        32
         #exec --no-startup-id exec conky

      ···
        36
        36
         

      
        37
        37
         # Kill window

      
        38
        38
         bindsym $mod+q kill

      
        
        39
        +bindsym --release $mod+Shift+q exec xkill

      
        39
        40
         

      
        40
        41
         # Restart i3wm

      
        41
        42
         bindsym $mod+Control+r restart

      
M config/nvim/init.vim
···
        9
        9
             Plug 'itchyny/lightline.vim'                   " Status line

      
        10
        10
             Plug 'vimwiki/vimwiki', {'on': 'VimwikiIndex'} " Notes manager in (n)vim

      
        11
        11
             

      
        12
        
        -    " Color sheme

      
        
        12
        +    " Color scheme

      
        13
        13
             Plug 'Smirnov-O/nten16.vim'

      
        14
        14
         

      
        15
        
        -    " Project/file nafigation

      
        
        15
        +    " Project/file navigation

      
        16
        16
             Plug 'scrooloose/nerdtree',    {'on': 'NERDTreeToggle'}

      
        17
        17
             Plug 'ryanoasis/vim-devicons', {'on': 'NERDTreeToggle'}

      
        18
        18
             Plug 'preservim/tagbar',       {'on': 'TagbarToggle'} 

      ···
        32
        32
             Plug 'mattn/emmet-vim',              {'on':  'Emmet'}

      
        33
        33
             Plug 'cakebaker/scss-syntax.vim',    {'for': 'scss'}

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

      
        
        35
        +    Plug 'fatih/vim-go',                 {'for': 'go'}

      
        35
        36
         call plug#end()

      
        36
        37
         

      
        37
        38
         " Colors

      ···
        40
        41
         colo nten16

      
        41
        42
         set t_Co=256

      
        42
        43
         

      
        43
        
        -" Syntax & line numbars

      
        
        44
        +" Syntax & line numbers

      
        44
        45
         syntax on

      
        45
        46
         set number

      
        46
        47
         set relativenumber

      ···
        88
        89
         set hidden

      
        89
        90
         set smartindent

      
        90
        91
         

      
        
        92
        +" Spell

      
        
        93
        +set spell

      
        
        94
        +set spelllang=en_us

      
        
        95
        +

      
        91
        96
         " Disable sound

      
        92
        97
         set visualbell t_vb=

      
        93
        98
         

      ···
        178
        183
         let g:floaterm_autoclose = 2

      
        179
        184
         nmap <A-t> :FloatermNew<CR>

      
        180
        185
         

      
        
        186
        +" Go

      
        
        187
        +let g:go_template_autocreate = 0

      
        
        188
        +

      
        181
        189
         " == Maping

      
        182
        190
         let mapleader=","

      
        183
        191
         

      ···
        212
        220
         " Buffer(s)

      
        213
        221
         noremap <leader>p :bnext<CR>

      
        214
        222
         noremap <leader>o :bprev<CR>

      
        215
        
        -

      
        216
        
        -" Autostart

      
        217
        
        -"autocmd VimEnter * execute "source ~/.config/nvim/init.vim"

      
A script/autolock
···
        
        1
        +#!/bin/sh

      
        
        2
        +xautolock -time 3 -locker "betterlockscreen --off 180 -t 'Computer is lokerd' -l"

      
M script/dmenu/dmenu-power.sh
···
        4
        4
         Logout

      
        5
        5
         Reboot")

      
        6
        6
         

      
        7
        
        -choice=$(echo -e "${options[@]}" | dmenu -p "Power" $@)

      
        
        7
        +choice=$(echo -e "${options[@]}"|dmenu -p "Power" $@)

      
        8
        8
         case "$choice" in

      
        9
        9
             "ShutDown")

      
        10
        10
                 case "$(echo -e "Yes\nNo"|dmenu -p "ShutDown" $@)" in