all repos

dotfiles @ 394d56fa6908da5418a6e5e21ce1050e587afd32

i use rach linux btw
27 files changed, 478 insertions(+), 398 deletions(-)
:bookmark: Update config
Author: Smirnov Olexandr ss2316544@gmail.com
Committed at: 2020-10-31 22:52:51 +0200
Parent: 99cc99c
M README.md
···
        7
        7
         curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh) && chsh -s $(which zsh)

      
        8
        8
         git clone https://github.com/Smirnov-O/zsh-simple-colors ~/.oh-my-zsh/custom/themes

      
        9
        9
         

      
        10
        
        -sudo pacman -S i3-wm polybar dunst rofi picom feh redshift \

      
        11
        
        -kitty ranger htop bash zsh git vim neofetch scrot clipboard yay \

      
        
        10
        +sudo pacman -S i3-wm bspwm polybar dunst rofi picom feh nitrogen redshift task \

      
        
        11
        +kitty ranger htop bash zsh git vim neofetch scrot clipboard yay bash zsh \

      
        12
        12
         ttf-font-awesome ttf-jetbrains-mono ttf-hack

      
        13
        13
         yay -S ttf-weather-icons

      
        14
        14
         ~~~

      ···
        16
        16
         ### Packages

      
        17
        17
         | Name                                                                     | Description       |

      
        18
        18
         | ------------------------------------------------------------------------ | ----------------- |

      
        19
        
        -| `i3-wm`                                                                  | Window Manager    |

      
        
        19
        +| `i3-wm`, `bspwm`                                                         | Window Manager    |

      
        20
        20
         | `polybar`                                                                | Panel             |

      
        21
        21
         | `dunst`                                                                  | Notify manager    |

      
        22
        22
         | `rofi`                                                                   | Program loncher   |

      
        23
        23
         | `picom`                                                                  | Compositor        |

      
        24
        
        -| `feh`                                                                    | Setting wallpaper |

      
        
        24
        +| `qutebrowser`                                                            | Browser           |

      
        
        25
        +| `feh`, `nitrogen`                                                        | Setting wallpaper |

      
        25
        26
         | `kitty`                                                                  | Terminal          |

      
        26
        27
         | `ranger`                                                                 | File manager      |

      
        27
        28
         | `htop`                                                                   | System motitor    |

      
        28
        29
         | `yay`                                                                    | AUR helper        |

      
        29
        30
         | `redshift`                                                               | Night light       |

      
        
        31
        +| `zsh`, `bash`                                                            | Shell             |

      
        
        32
        +| `task`                                                                   | Task manager      |

      
        30
        33
         | `ttf-font-awesome`, `ttf-jetbrains-mono`, `ttf-weather-icons` `ttf-hack` | Font              |

      
        31
        34
         | `arc-gtk-theme`                                                          | GTK theme         |

      
        32
        35
         | `papirus-icon-theme`                                                     | Icon theme        |

      
M bashrc
···
        1
        
        -export VISUAL="vim"

      
        2
        1
         [[ $- != *i* ]] && return

      
        3
        
        -alias ls='ls --color=auto'

      
        4
        2
         PS1='\e[36m\w\e[39m '

      
        
        3
        +

      
        
        4
        +source ~/.profile

      
        
        5
        +

      
        
        6
        +alias ls='ls --color=auto'

      
        5
        7
         alias cls='clear'

      
        
        8
        +alias ..='cd ..'

      
        6
        9
         alias py='python3'

      
        7
        
        -alias ipy='ipython3'

      
        8
        
        -alias py3='python3'

      
        9
        
        -alias ipy3='ipython3'

      
A config/bspwm/bspwmrc
···
        
        1
        +#! /bin/sh

      
        
        2
        +

      
        
        3
        +###### Auto start #####

      
        
        4
        +setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" &

      
        
        5
        +sxhkd &

      
        
        6
        +nmcli radio wifi on; nmcli device wifi connect Pechenka password 24032006 name net &

      
        
        7
        +picom -b &

      
        
        8
        +polybar test &

      
        
        9
        +feh --randomize --bg-scale ~/Изображения/Walpapper/* &

      
        
        10
        +# redshift-gtk &

      
        
        11
        +

      
        
        12
        +

      
        
        13
        +###### BSPWM #####

      
        
        14
        +bspc monitor -d I II III IV V VI VII VIII IX X

      
        
        15
        +

      
        
        16
        +#bspc config border_radius                8

      
        
        17
        +bspc config border_width                  2

      
        
        18
        +bspc config window_gap                    10

      
        
        19
        +bspc config top_padding                   20

      
        
        20
        +bspc config bottom_padding                0

      
        
        21
        +bspc config left_padding                  0

      
        
        22
        +bspc config right_padding                 0

      
        
        23
        +bspc config single_monocle                false

      
        
        24
        +bspc config click_to_focus                true

      
        
        25
        +bspc config split_ratio                   0.50

      
        
        26
        +bspc config borderless_monocle            true

      
        
        27
        +bspc config gapless_monocle               true

      
        
        28
        +bspc config focus_by_distance             true

      
        
        29
        +bspc config focus_follows_pointer         true

      
        
        30
        +bspc config history_aware_focus           true 

      
        
        31
        +bspc config remove_disabled_monitors      true

      
        
        32
        +bspc config merge_overlapping_monitors    true

      
        
        33
        +bspc config pointer_modifier              mod4

      
        
        34
        +bspc config pointer_action1               move

      
        
        35
        +bspc config pointer_action2               resize_side

      
        
        36
        +bspc config pointer_action3               resize_corner

      
        
        37
        +

      
        
        38
        +####### Rules ######

      
        
        39
        +bspc rule -a Thunar desktop='^4'

      
        
        40
        +bspc rule -a Qutebrowser desktop='^2'

      
M config/dunst/dunstrc
···
        30
        30
             width = 0

      
        31
        31
             color = "#000000"

      
        32
        32
         

      
        33
        
        -[shortcuts]

      
        34
        
        -    close = mod4+m

      
        35
        
        -    close_all = mod4+shift+m

      
        36
        
        -    history = mod4+n

      
        37
        
        -    context = mod4+shift+i

      
        38
        
        -

      
        39
        33
         [urgency_low]

      
        40
        34
             background = "#002B36"

      
        41
        35
             foreground = "#dfdfdf"

      ···
        49
        43
         [urgency_critical]

      
        50
        44
             background = "#900000"

      
        51
        45
             foreground = "#ffffff"

      
        52
        
        -    timeout = 0
      
        
        46
        +    timeout = 0

      
M config/htop/htoprc
···
        
        1
        +# Beware! This file is rewritten by htop when settings are changed in the interface.

      
        
        2
        +# The parser is also very primitive, and not human-friendly.

      
        1
        3
         fields=0 48 17 18 38 39 40 2 46 47 49 1

      
        2
        4
         sort_key=46

      
        3
        5
         sort_direction=1

      ···
        25
        27
         left_meter_modes=1 1 1

      
        26
        28
         right_meters=Clock Uptime Tasks LoadAverage

      
        27
        29
         right_meter_modes=2 2 2 2

      
        28
        
        -vim_mode=1

      
M config/i3/config
···
        1
        1
         ############# General #############

      
        2
        2
         # Bind $MOD(super) key

      
        3
        3
         set $mod Mod4

      
        
        4
        +set $alt Mod1

      
        
        5
        +floating_modifier $mod

      
        
        6
        +

      
        4
        7
         # Font

      
        5
        8
         font monospace 10

      
        6
        9
         font pango:JetBrains Mono 10

      
        
        10
        +

      
        7
        11
         # Disable window title

      
        8
        12
         default_border pixel

      
        9
        13
         new_float pixel

      
        
        14
        +

      
        10
        15
         # Borders

      
        11
        16
         hide_edge_borders smart

      
        12
        17
         

      ···
        14
        19
         exec --no-startup-id exec picom -b

      
        15
        20
         exec --no-startup-id exec nmcli radio wifi on; nmcli device wifi connect <wifi-name> password <wifi-password> name net

      
        16
        21
         exec --no-startup-id exec redshift-gtk 

      
        17
        
        -exec --no-startup-id exec setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle"

      
        
        22
        +exec --no-startup-id exec nitrogen

      
        
        23
        +exec --no-startup-id exec setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps"

      
        18
        24
         exec --no-startup-id exec org.telegram.desktop

      
        19
        
        -exec --no-startup-id exec discord

      
        20
        
        -exec --no-startup-id exec /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

      
        21
        
        -exec --no-startup-id ecec clipmenud

      
        
        25
        +#exec --no-startup-id exec discord

      
        
        26
        +exec_always --no-startup-id /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1

      
        
        27
        +exec_always --no-startup-id $HOME/.config/polybar/launch.sh

      
        22
        28
         

      
        23
        29
         ############ Key bindings #########

      
        24
        
        -# Terminal

      
        
        30
        +

      
        
        31
        +# Open terminal

      
        25
        32
         bindsym $mod+Return exec kitty

      
        26
        
        -bindsym ctrl+Mod1+t exec kitty 

      
        
        33
        +bindsym $mod+ctrl+Return exec kitty -T=Terminal-floating

      
        
        34
        +

      
        
        35
        +# Window switcher

      
        
        36
        +bindsym $mod+Tab exec "rofi -show window -show-icons"

      
        
        37
        +bindsym $alt+Tab exec "rofi -show window -show-icons"

      
        27
        38
         

      
        28
        39
         # Kill focus window

      
        29
        40
         bindsym $mod+q kill

      
        30
        
        -bindsym Mod1+F4 kill

      
        31
        41
         

      
        32
        42
         # Program/Exit louncher

      
        33
        43
         bindsym $mod+space exec "rofi -show drun -show cobi -show-icons"

      
        34
        
        -bindsym $mod+Escape exec "rofi -show power-menu -show-icons -width 30 -lines 6 -modi power-menu:~/.config/rofi/rofi-power-menu"

      
        
        44
        +bindsym $mod+Escape exec "rofi -show power-menu -width 30 -lines 6 -modi power-menu:~/.config/rofi/rofi-power-menu"

      
        
        45
        +

      
        
        46
        +bindsym $mod+$alt+u exec ~/.script/dmenu/dmenu-config-edit.sh

      
        
        47
        +bindsym $mod+$alt+i exec "rofi-keepassxc -d ~/Документы/text.kdbx"

      
        
        48
        +

      
        35
        49
         # Restart i3wm

      
        36
        50
         bindsym $mod+Shift+r restart

      
        37
        51
         

      ···
        41
        55
         

      
        42
        56
         # Clipboard menu

      
        43
        57
         bindsym $mod+c exec "CM_LAUNCHER=rofi clipmenu"

      
        
        58
        +

      
        
        59
        +# Volume

      
        
        60
        +bindsym $mod+plus exec "pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo +5%"

      
        
        61
        +bindsym $mod+minus exec "pactl set-sink-volume alsa_output.pci-0000_00_1b.0.analog-stereo  -5%"

      
        
        62
        +bindsym $mod+Shift+minus exec "pactl set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo toggle"

      
        44
        63
         

      
        45
        64
         # Load program

      
        46
        65
         bindsym $mod+F1 exec kitty -T=Ranger_FM ranger

      
        47
        
        -bindsym $mod+F2 exec chromium

      
        
        66
        +bindsym $mod+F2 exec qutebrowser

      
        48
        67
         bindsym $mod+F3 exec subl

      
        49
        68
         bindsym $mod+F4 exec notable

      
        50
        69
         

      
        51
        70
         # Floating window

      
        52
        
        -floating_modifier $mod

      
        53
        71
         bindsym $mod+Shift+space floating toggle

      
        54
        
        -bindsym $mod+Shift+f focus mode_toggle

      
        55
        72
         

      
        56
        73
         # Fullscreen mode

      
        57
        74
         bindsym $mod+f fullscreen toggle

      ···
        73
        90
         bindsym $mod+Shift+grave move scratchpad

      
        74
        91
         bindsym $mod+grave scratchpad show, floating disable

      
        75
        92
         

      
        76
        
        -# Move workspace on open window

      
        77
        
        -for_window [urgent=["lastet"]] focus

      
        78
        
        -focus_on_window_activation focus

      
        79
        
        -

      
        80
        93
         ######### Window preferens ########

      
        81
        
        -assign [class="(?i)kitty"] $ws1

      
        82
        
        -assign [class="(?i)chromium|firefox"] $ws2

      
        83
        
        -assign [class="(?i)subl|code|typora"] $ws3

      
        84
        
        -assign [class="(?i)thunar"] $ws4

      
        85
        
        -assign [title="Notable|Simplenote"] $ws5

      
        86
        
        -assign [class="(?i)telegram|discord"] $ws6

      
        
        94
        +#assign [class="(?i)kitty"] $ws1

      
        
        95
        +#assign [class="(?i)chromium|firefox|qutebrowser"] $ws2

      
        
        96
        +#assign [class="(?i)subl|code|emacs"] $ws3

      
        
        97
        +#assign [class="(?i)thunar"] $ws4

      
        
        98
        +#assign [title="Notable|Simplenote"] $ws5

      
        
        99
        +assign [class="(?i)telegram|discord|viber"] $ws6

      
        87
        100
         assign [title="KeePassXC"] $ws7

      
        88
        
        -for_window [title="Ranger_FM"] move to workspace $ws4

      
        89
        
        -for_window [class="Spotify"] move to workspace $ws10

      
        
        101
        +#for_window [title="Ranger_FM"] move to workspace $ws4

      
        
        102
        +#for_window [class="Spotify"] move to workspace $ws10

      
        
        103
        +for_window [class="(?i)mousepad"] floating enable

      
        
        104
        +for_window [title="Terminal-floating"] floating enable

      
        
        105
        +for_window [class="(?i)lxappearance|qt5ct"] floating enable

      
        
        106
        +for_window [class="(?i)nitrogen"] floating enable

      
        
        107
        +#for_window [class=""]

      
        
        108
        +for_window [urgent="lastet"] focus

      
        
        109
        +#focus_on_window_activation focus

      
        
        110
        +

      
        
        111
        +############## Gaps ###############

      
        
        112
        +gaps inner 4

      
        
        113
        +#smart_gaps on

      
        90
        114
         

      
        91
        115
         ##### Change containet focus ######

      
        92
        
        -# Vim like keys container

      
        93
        116
         bindsym $mod+j focus left

      
        
        117
        +bindsym $mod+Left focus left

      
        94
        118
         bindsym $mod+k focus down

      
        95
        
        -bindsym $mod+l focus up

      
        96
        
        -bindsym $mod+semicolon focus right

      
        97
        
        -

      
        98
        
        -# Alternatively cursor keys

      
        99
        
        -bindsym $mod+Left focus left

      
        100
        119
         bindsym $mod+Down focus down

      
        
        120
        +bindsym $mod+l focus up

      
        101
        121
         bindsym $mod+Up focus up

      
        
        122
        +bindsym $mod+semicolon focus right

      
        102
        123
         bindsym $mod+Right focus right

      
        103
        124
         

      
        104
        125
         ##### Move focused container ######

      
        105
        
        -# Vim like keys

      
        106
        126
         bindsym $mod+Shift+j move left

      
        107
        
        -bindsym $mod+Shift+k move down

      
        108
        
        -bindsym $mod+Shift+l move up

      
        109
        
        -bindsym $mod+Shift+colon move right

      
        110
        
        -

      
        111
        
        -# Alternatively cursor keys

      
        112
        127
         bindsym $mod+Shift+Left move left

      
        
        128
        +bindsym $mod+Shift+k move down

      
        113
        129
         bindsym $mod+Shift+Down move down

      
        
        130
        +bindsym $mod+Shift+l move up

      
        114
        131
         bindsym $mod+Shift+Up move up

      
        
        132
        +bindsym $mod+Shift+colon move right

      
        115
        133
         bindsym $mod+Shift+Right move right

      
        116
        134
         

      
        117
        135
         ############ Workspaces ###########

      ···
        126
        144
         set $ws9 "9"

      
        127
        145
         set $ws10 "10"

      
        128
        146
         

      
        129
        
        -# Switch workspace

      
        130
        147
         bindsym $mod+1 workspace $ws1

      
        131
        148
         bindsym $mod+2 workspace $ws2

      
        132
        149
         bindsym $mod+3 workspace $ws3

      ···
        138
        155
         bindsym $mod+9 workspace $ws9

      
        139
        156
         bindsym $mod+0 workspace $ws10

      
        140
        157
         

      
        141
        
        -# Move focused container to workspace

      
        142
        158
         bindsym $mod+Shift+1 move container to workspace $ws1

      
        143
        159
         bindsym $mod+Shift+2 move container to workspace $ws2

      
        144
        160
         bindsym $mod+Shift+3 move container to workspace $ws3

      ···
        151
        167
         bindsym $mod+Shift+0 move container to workspace $ws10

      
        152
        168
         

      
        153
        169
         ########### Resize mode ###########

      
        
        170
        +bindsym $mod+$alt+r mode "resize"

      
        
        171
        +bindsym $mod+$alt+g mode "gaps"

      
        
        172
        +

      
        154
        173
         mode "resize" {

      
        155
        174
             bindsym j resize shrink width 10 px or 10 ppt

      
        156
        175
             bindsym k resize grow height 10 px or 10 ppt

      
        157
        176
             bindsym l resize shrink height 10 px or 10 ppt

      
        158
        177
             bindsym semicolon resize grow width 10 px or 10 ppt

      
        159
        178
         

      
        160
        
        -    # same bindings, but for the arrow keys

      
        161
        179
             bindsym Left resize shrink width 10 px or 10 ppt

      
        162
        180
             bindsym Down resize grow height 10 px or 10 ppt

      
        163
        181
             bindsym Up resize shrink height 10 px or 10 ppt

      
        164
        182
             bindsym Right resize grow width 10 px or 10 ppt

      
        165
        183
         

      
        166
        
        -    # back to normal: Enter or Escape or $mod+r

      
        167
        184
             bindsym Return mode "default"

      
        168
        185
             bindsym Escape mode "default"

      
        169
        
        -    bindsym $mod+r mode "default"

      
        170
        186
         }

      
        171
        
        -bindsym $mod+r mode "resize"

      
        
        187
        +mode "gaps" {

      
        
        188
        +        bindsym plus  gaps inner current plus 2

      
        
        189
        +        bindsym minus gaps inner current minus 2

      
        
        190
        +        bindsym 0     gaps inner current set 0

      
        172
        191
         

      
        173
        
        -############### Bar ###############

      
        174
        
        -exec_always --no-startup-id $HOME/.config/polybar/launch.sh

      
        
        192
        +        bindsym Shift+plus  gaps inner all plus 4

      
        
        193
        +        bindsym Shift+minus gaps inner all minus 4

      
        
        194
        +        bindsym Shift+0     gaps inner all set 0

      
        
        195
        +

      
        
        196
        +        bindsym Return mode "default"

      
        
        197
        +        bindsym Escape mode "default"

      
        
        198
        +}

      
        175
        199
         

      
        176
        200
         ############## Colors #############

      
        177
        
        -# class                 border   backgr   text     indicator child_border

      
        
        201
        +# Class                 Border   Backgr   Text     Indicator Child_border

      
        178
        202
         client.focused          #268bd2  #268bd2  #ffffff  #268bd2   #268bd2

      
        179
        203
         client.focused_inactive #000000  #000000  #ffffff  #000000   #000000

      
        180
        204
         client.unfocused        #000000  #000000  #888888  #000000   #000000

      
A config/nvim/init.vim
···
        
        1
        +call plug#begin('~/.vim/plugged')

      
        
        2
        +    Plug 'overcache/NeoSolarized'

      
        
        3
        +    Plug 'ryanoasis/vim-devicons'

      
        
        4
        +    Plug 'itchyny/lightline.vim'

      
        
        5
        +    

      
        
        6
        +    " File manger & seacher

      
        
        7
        +    Plug 'scrooloose/nerdtree', { 'on':  'NERDTreeToggle' }

      
        
        8
        +    Plug 'kien/ctrlp.vim', { 'on': 'CtrlP' }

      
        
        9
        +

      
        
        10
        +    " Completion

      
        
        11
        +    Plug 'jiangmiao/auto-pairs'

      
        
        12
        +    Plug 'neoclide/coc.nvim', {'branch': 'release'}

      
        
        13
        +

      
        
        14
        +    " Language support

      
        
        15
        +    Plug 'pangloss/vim-javascript', { 'for': 'javascript' }

      
        
        16
        +    Plug 'PotatoesMaster/i3-vim-syntax'

      
        
        17
        +    Plug 'vim-python/python-syntax', { 'for': 'python' }

      
        
        18
        +    Plug 'mattn/emmet-vim', { 'for': 'html' }

      
        
        19
        +    Plug 'ap/vim-css-color'

      
        
        20
        +call plug#end()

      
        
        21
        +

      
        
        22
        +set number

      
        
        23
        +set relativenumber

      
        
        24
        +

      
        
        25
        +syntax on

      
        
        26
        +set ruler

      
        
        27
        +set t_Co=256

      
        
        28
        +

      
        
        29
        +set mouse=a

      
        
        30
        +set mousehide

      
        
        31
        +

      
        
        32
        +set encoding=utf-8

      
        
        33
        +set fileencodings=utf8,cp1251

      
        
        34
        +

      
        
        35
        +set cursorline

      
        
        36
        +

      
        
        37
        +set nowrap

      
        
        38
        +set nolinebreak

      
        
        39
        +

      
        
        40
        +set nobackup

      
        
        41
        +set noswapfile

      
        
        42
        +set history=100

      
        
        43
        +set autoread

      
        
        44
        +

      
        
        45
        +set showmode

      
        
        46
        +set showcmd

      
        
        47
        +

      
        
        48
        +set tabstop=4

      
        
        49
        +set shiftwidth=4

      
        
        50
        +set softtabstop=4

      
        
        51
        +set expandtab

      
        
        52
        +set autoindent

      
        
        53
        +

      
        
        54
        +set incsearch

      
        
        55
        +set ignorecase

      
        
        56
        +set smartcase

      
        
        57
        +

      
        
        58
        +set hidden

      
        
        59
        +set smartindent

      
        
        60
        +

      
        
        61
        +set visualbell t_vb=

      
        
        62
        +

      
        
        63
        +set termguicolors

      
        
        64
        +set background=dark

      
        
        65
        +colorscheme NeoSolarized

      
        
        66
        +

      
        
        67
        +"""" Plugins """"

      
        
        68
        +let g:lightline = {

      
        
        69
        +\ 'colorscheme': 'selenized_dark',

      
        
        70
        +\ 'active': {

      
        
        71
        +\   'left':  [ [ 'mode', 'paste' ],

      
        
        72
        +\              [ 'readonly', 'modified', 'gitbranch' ] ],

      
        
        73
        +\   'right': [ [ 'lineinfo' ],

      
        
        74
        +\              [ 'percent' ],

      
        
        75
        +\              [ 'filename', 'fileencoding', 'filetype' ] ]

      
        
        76
        +\ }, }

      
        
        77
        +

      
        
        78
        +let g:NERDTreeWinPos="right"

      
        
        79
        +let NERDTreeMinimalUI = 1

      
        
        80
        +let NERDTreeShowLineNumbers=0

      
        
        81
        +

      
        
        82
        +inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"

      
        
        83
        +inoremap <expr> <S-Tab> pumvisible() ? "\<C-p>" : "\<S-Tab>"

      
        
        84
        +

      
        
        85
        +"""" Maping """"

      
        
        86
        +let mapleader=","

      
        
        87
        +map <C-j> <C-W>j

      
        
        88
        +map <C-k> <C-W>k

      
        
        89
        +map <C-h> <C-W>h

      
        
        90
        +map <C-l> <C-W>l

      
        
        91
        +

      
        
        92
        +map <C-b> :NERDTreeToggle<CR>

      
        
        93
        +

      
        
        94
        +noremap <C-Tab> :tabnext<CR>

      
        
        95
        +noremap <C-S-Tab> :tabprev<CR>

      
        
        96
        +

      
        
        97
        +noremap <C-n> :tabnew<CR>

      
        
        98
        +noremap <C-t> :tabnew<CR>

      
        
        99
        +noremap <C-w> :tabclose<CR>

      
        
        100
        +noremap <leader>1 :tabn 1<CR>

      
        
        101
        +noremap <leader>2 :tabn 2<CR>

      
        
        102
        +noremap <leader>3 :tabn 3<CR>

      
        
        103
        +noremap <leader>4 :tabn 4<CR>

      
        
        104
        +noremap <leader>5 :tabn 5<CR>

      
        
        105
        +noremap <leader>6 :tabn 6<CR>

      
        
        106
        +noremap <leader>7 :tabn 7<CR>

      
        
        107
        +noremap <leader>8 :tabn 8<CR>

      
        
        108
        +noremap <leader>9 :tabn 9<CR>

      
        
        109
        +

      
        
        110
        +noremap <leader>n :bnext<CR>

      
        
        111
        +noremap <leader>p :bprev<CR>

      
M config/picom.conf
···
        6
        6
         shadow-radius = 11;

      
        7
        7
         shadow-offset-x = -7;

      
        8
        8
         shadow-offset-y = -7;

      
        9
        
        -shadow-exclude = [

      
        10
        
        -  "name = 'Notification'"

      
        11
        
        -];

      
        
        9
        +shadow-exclude = [];

      
        12
        10
         

      
        13
        11
         

      
        14
        12
         ############ Fading ###########

      ···
        18
        16
         

      
        19
        17
         

      
        20
        18
         ##### Transparency/Opacity ####

      
        21
        
        -inactive-opacity = 0.8;

      
        
        19
        +#inactive-opacity = 0.8;

      
        
        20
        +inactive-opacity = 1;

      
        22
        21
         frame-opacity = 0.7;

      
        23
        22
         inactive-opacity-override = false;

      
        
        23
        +#inactive-opacity-override = true;

      
        24
        24
         focus-exclude = []; 

      
        25
        25
         

      
        26
        26
         

      
        27
        27
         ##### Background-Blurring #####

      
        28
        28
         blur-kern = "3x3box";

      
        29
        
        -blur-background-exclude = [ "window_type = 'desktop'" ];

      
        
        29
        +blur-background-exclude = [

      
        
        30
        +  "window_type = 'desktop'"

      
        
        31
        +];

      
        30
        32
         

      
        31
        33
         

      
        32
        34
         ####### General Settings ######

      ···
        43
        45
         glx-no-rebind-pixmap = true;

      
        44
        46
         use-damage = true;

      
        45
        47
         log-level = "warn";

      
        46
        
        -wintypes:

      
        47
        
        -{

      
        
        48
        +wintypes: {

      
        48
        49
           tooltip       = { fade = true; shadow = false; opacity = 1; focus = true; full-shadow = false; };

      
        49
        50
           menu          = { fade = true; shadow = false; };

      
        50
        51
           popup_menu    = { fade = true; shadow = false; };

      
M config/polybar/config
···
        2
        2
         pseudo-transparency = true

      
        3
        3
         

      
        4
        4
         [colors]

      
        5
        
        -background = #002B36

      
        6
        
        -background-alt = #002236

      
        7
        
        -foreground = #dfdfdf

      
        8
        
        -foreground-alt = #f0f0f0

      
        9
        
        -primary = #268bd2

      
        10
        
        -secondary = #218DC8

      
        11
        
        -alert = #268bd2

      
        
        5
        +; Solarized ========

      
        
        6
        +;background = #002B36

      
        
        7
        +;foreground = #dfdfdf

      
        
        8
        +;secondary = #073642

      
        
        9
        +;alert = #268bd2

      
        
        10
        +

      
        
        11
        +; Nord ============

      
        
        12
        +background = #2E3440

      
        
        13
        +foreground = #ECEFF4

      
        
        14
        +secondary = #434C5E

      
        
        15
        +alert = #88C0D0

      
        12
        16
         

      
        13
        17
         ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

      
        14
        
        -[bar/bar]

      
        15
        
        -;monitor = ${env:MONITOR:HDMI-1}

      
        
        18
        +[bar/i3bar]

      
        16
        19
         width = 100%

      
        17
        
        -height = 25

      
        18
        
        -fixed-center = true 

      
        19
        
        -locale = en_US.UTF-8 

      
        
        20
        +height = 20

      
        
        21
        +

      
        
        22
        +fixed-center = true

      
        
        23
        +;override-redirect = true

      
        20
        24
         

      
        21
        25
         background = ${colors.background}

      
        22
        26
         foreground = ${colors.foreground}

      
        23
        27
         

      
        24
        28
         line-size = 2

      
        25
        
        -line-color = #f00

      
        
        29
        +line-color = #000000

      
        26
        30
         

      
        27
        
        -padding-left = 0

      
        28
        
        -padding-right = 0

      
        
        31
        +padding-left = 2

      
        
        32
        +padding-right = 2

      
        
        33
        +

      
        
        34
        +radius = 6.0

      
        
        35
        +border-left-size = 0.2%

      
        
        36
        +border-top-size = 0.2%

      
        
        37
        +border-right-size = 0.2%

      
        
        38
        +

      
        29
        39
         module-margin-left = 1

      
        30
        40
         module-margin-right = 1

      
        31
        41
         

      ···
        33
        43
         font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5

      
        34
        44
         font-2 = Weather Icons:size=7;2

      
        35
        45
         

      
        36
        
        -;; Modules position ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::;

      
        37
        
        -modules-left =  i3 sp2 weather updates-pacman

      
        38
        
        -modules-center =

      
        39
        
        -modules-right = pulseaudio microphone backlight keyboard clipmenu wifi-signal date time sp2

      
        40
        
        -tray-position = right

      
        41
        
        -tray-padding = 2

      
        42
        
        -tray-detached = false

      
        
        46
        +modules-left =  i3 weather title

      
        
        47
        +modules-right = keyboard pulseaudio backlight wifi-signal time

      
        
        48
        +tray-position = center

      
        
        49
        +

      
        43
        50
         ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

      
        44
        51
         [settings]

      
        45
        52
         screenchange-reload = true

      
        46
        
        -

      
        47
        53
         

      
        48
        54
         [global/wm]

      
        49
        
        -margin-top = 5

      
        50
        
        -margin-bottom = 5

      
        51
        
        -cursor-click = pointer

      
        52
        
        -cursor-scroll = ns-resize

      
        53
        55
         wm-restack = i3

      
        54
        
        -

      
        55
        56
         

      
        56
        57
         [module/i3]

      
        57
        58
         type = internal/i3

      ···
        60
        61
         wrapping-scroll = false

      
        61
        62
         label-mode-padding = 1

      
        62
        63
         label-mode-foreground = #000

      
        63
        
        -label-mode-background = ${colors.primary}

      
        
        64
        +label-mode-background = ${colors.secondary}

      
        64
        65
         

      
        65
        66
         label-focused = %icon%

      
        66
        
        -label-focused-background =  073642

      
        
        67
        +label-focused-background =  ${colors.secondary}

      
        67
        68
         label-focused-foreground = ${colors.foreground}

      
        68
        69
         label-focused-padding = 1

      
        69
        
        -label-focused-underline = 268bd2

      
        
        70
        +label-focused-underline = ${colors.alert}

      
        70
        71
         

      
        71
        72
         label-unfocused = %icon%

      
        72
        73
         label-unfocused-foreground = ${colors.foreground}

      ···
        128
        129
         interval = 25

      
        129
        130
         mount-0 = /

      
        130
        131
         mount-1 = /home

      
        131
        
        -label-mounted = %{F#c38611} %mountpoint%: %percentage_used%%

      
        
        132
        +label-mounted =  %mountpoint%: %percentage_used%%

      
        132
        133
         label-unmounted = %mountpoint% not mounted

      
        133
        
        -label-unmounted-foreground = ${colors.foreground-alt}

      
        
        134
        +label-unmounted-foreground = ${colors.foreground}

      
        134
        135
         

      
        135
        136
         

      
        136
        137
         [module/pulseaudio]

      ···
        151
        152
         type = internal/cpu

      
        152
        153
         interval = 2

      
        153
        154
         format-prefix = " "

      
        154
        
        -format-prefix-foreground = ${colors.foreground-alt}

      
        155
        
        -label = %{F#1ecb0b} CPU %percentage%% 

      
        
        155
        +format-prefix-foreground = ${colors.foreground}

      
        
        156
        +label =  CPU %percentage%% 

      
        156
        157
         

      
        157
        158
         

      
        158
        159
         [module/memory]

      
        159
        160
         type = internal/memory

      
        160
        161
         interval = 2

      
        161
        162
         format-prefix = " "

      
        162
        
        -label = %{F#8d61ff}  MEM %percentage_used%%

      
        
        163
        +label =  MEM %percentage_used%%

      
        163
        164
         

      
        164
        165
         

      
        165
        166
         [module/weather]

      ···
        174
        175
         interval = 1

      
        175
        176
         format = <label>

      
        176
        177
         exec = python ~/.config/polybar/scripts/spotify_status.py -f '{artist} - {song}'

      
        177
        
        -format-underline = #1db954

      
        178
        
        -

      
        
        178
        +format-underline = ${colors.alert}

      
        
        179
        +2

      
        179
        180
         

      
        180
        181
         [module/updates-pacman]

      
        181
        182
         type = custom/script

      ···
        223
        224
         

      
        224
        225
         [module/title]

      
        225
        226
         type = internal/xwindow

      
        226
        
        -label = %{F#f0f0f0}%title:0:50:...%

      
        
        227
        +label = %title:0:50:...%

      
        227
        228
         label-empty = Empty

      
        228
        229
         label-empty-foreground = #707880

      
        229
        
        -label-maxlen = 30

      
        
        230
        +label-maxlen = 50

      
        
        231
        +

      
        230
        232
         

      
        231
        233
         [module/clipmenu]

      
        232
        234
         type = custom/text

      
M config/polybar/launch.sh
···
        1
        1
         #!/bin/bash

      
        2
        
        -

      
        3
        
        -# Terminate already running bar instances

      
        4
        2
         killall -q polybar

      
        5
        
        -

      
        6
        
        -# Wait until the processes have been shut down

      
        7
        3
         while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done

      
        8
        
        -

      
        9
        
        -# Launch Polybar, using default config location ~/.config/polybar/config

      
        10
        
        -polybar bar &

      
        11
        
        -echo "Polybar launched..."

      
        
        4
        +polybar i3bar &

      
M config/polybar/scripts/weather.py
···
        8
        8
         try:

      
        9
        9
             JSON = requests.get(f"http://api.openweathermap.org/data/2.5/weather?q={CITY}&lang=EN&&units=metric&appid={API_KEY}").json()

      
        10
        10
         except Exception as e:

      
        11
        
        -    print("No connection")

      
        
        11
        +    print("No connection ")

      
        12
        12
         

      
        13
        13
         try:

      
        14
        14
             if JSON['weather'][0]['main'] == "Clear": print("", int(JSON["main"]["temp"]),"°С")

      
M config/qutebrowser/autoconfig.yml
···
        24
        24
             global: '#073642'

      
        25
        25
           colors.completion.scrollbar.fg:

      
        26
        26
             global: '#002b36'

      
        
        27
        +  colors.downloads.bar.bg:

      
        
        28
        +    global: '#002b36'

      
        
        29
        +  colors.downloads.error.bg:

      
        
        30
        +    global: '#dc322f'

      
        
        31
        +  colors.downloads.start.bg:

      
        
        32
        +    global: '#268bd2'

      
        
        33
        +  colors.downloads.stop.bg:

      
        
        34
        +    global: '#619100'

      
        
        35
        +  colors.messages.info.bg:

      
        
        36
        +    global: '#002b36'

      
        
        37
        +  colors.messages.info.border:

      
        
        38
        +    global: '#002b36'

      
        
        39
        +  colors.messages.warning.border:

      
        
        40
        +    global: '#002b36'

      
        27
        41
           colors.statusbar.caret.bg:

      
        28
        42
             global: '#002b36'

      
        29
        43
           colors.statusbar.command.bg:

      ···
        54
        68
             global: '#002b36'

      
        55
        69
           colors.tabs.indicator.stop:

      
        56
        70
             global: '#002b36'

      
        57
        
        -  colors.tabs.indicator.system:

      
        58
        
        -    global: rgb

      
        59
        71
           colors.tabs.odd.bg:

      
        60
        72
             global: '#073642'

      
        61
        73
           colors.tabs.selected.even.bg:

      ···
        66
        78
             global: '#002b36'

      
        67
        79
           colors.tabs.selected.odd.fg:

      
        68
        80
             global: '#073642'

      
        
        81
        +  colors.webpage.bg:

      
        
        82
        +    global: white

      
        
        83
        +  colors.webpage.darkmode.enabled:

      
        
        84
        +    global: false

      
        
        85
        +  downloads.position:

      
        
        86
        +    global: bottom

      
        
        87
        +  tabs.position:

      
        
        88
        +    global: top

      
M config/qutebrowser/config.py
···
        1
        1
         ## Generall

      
        2
        
        -c.url.start_pages = ["https://www.google.com"]    # Start page

      
        3
        
        -config.load_autoconfig()                          # Load

      
        
        2
        +c.url.start_pages = ["https://start.duckduckgo.com"]    # Start page

      
        
        3
        +config.load_autoconfig()

      
        
        4
        +c.completion.shrink = True

      
        4
        5
         

      
        5
        
        -c.downloads.location.directory = '/home/sasha/Загрузки'     # Download folder

      
        
        6
        +c.downloads.location.directory = '/home/sasha/Downloads'    # Download folder

      
        6
        7
         c.tabs.show = 'multiple'                                    # When to show the tab bar. [always, never, multiple ,switching]

      
        7
        
        -

      
        8
        
        -config.set("colors.webpage.darkmode.enabled", True)                 # Dark mode on all site

      
        9
        8
         

      
        10
        9
         config.set('content.cookies.accept', 'all', 'chrome-devtools://*')  # Accept to cookie

      
        11
        10
         config.set('content.cookies.accept', 'all', 'devtools://*')         # Accept to cookie

      ···
        18
        17
         config.set('content.javascript.enabled', True, 'chrome://*/*')        # Enable JavaScript

      
        19
        18
         config.set('content.javascript.enabled', True, 'qute://*/*')          # Enable JavaScript

      
        20
        19
         

      
        21
        
        -

      
        22
        20
         ## User agent

      
        23
        21
         config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}) AppleWebKit/{webkit_version} (KHTML, like Gecko) {upstream_browser_key}/{upstream_browser_version} Safari/{webkit_version}', 'https://web.whatsapp.com/')

      
        24
        22
         config.set('content.headers.user_agent', 'Mozilla/5.0 ({os_info}; rv:71.0) Gecko/20100101 Firefox/71.0', 'https://accounts.google.com/*')

      ···
        29
        27
         

      
        30
        28
         ## Search engines which can be used via the address bar.

      
        31
        29
         c.url.searchengines = {

      
        32
        
        -    'DEFAULT': 'https://duckduckgo.com/?q={}',

      
        33
        
        -    'archw': 'https://wiki.archlinux.org/?search={}',

      
        34
        
        -    'google': 'https://www.google.com/search?q={}',

      
        35
        
        -    'reddi': 'https://www.reddit.com/r/{}'

      
        
        30
        +    'DEFAULT': 'https://www.google.com/search?q={}',

      
        
        31
        +    'ddg': 'https://duckduckgo.com/?q={}',

      
        
        32
        +    'arw': 'https://wiki.archlinux.org/?search={}',

      
        
        33
        +    'rdd': 'https://www.reddit.com/r/{}'

      
        36
        34
         }

      
        37
        
        -

      
        38
        
        -

      
        39
        
        -## Aiases

      
        40
        
        -c.aliases = {

      
        41
        
        -    'q': 'quit',

      
        42
        
        -    'w': 'session-save',

      
        43
        
        -    'wq': 'quit --save'

      
        44
        
        -}

      
        45
        
        -

      
        46
        
        -## Tabs

      
        47
        
        -c.tabs.position = "bottom"

      
        48
        
        -c.completion.shrink = True

      
        49
        
        -

      
        50
        
        -

      
        51
        
        -

      
A config/qutebrowser/quickmarks
···
        
        1
        +Google https://google.com

      
        
        2
        +Translate https://translate.google.com

      
        
        3
        +Youtube https://youtube.com

      
        
        4
        +Habr https://habr.com/ru

      
        
        5
        +Discord https://discord.com/login

      
        
        6
        +Github https://github.com

      
        
        7
        +Notabug https://notabug.org

      
        
        8
        +Dropbox https://dropbox.com

      
        
        9
        +MEGA https://mega.nz

      
        
        10
        +MediaFire https://mediafire.com

      
        
        11
        +Pingvinus https://pingvinus.ru/

      
        
        12
        +Reddit https://www.reddit.com/

      
        
        13
        +Figma https://www.figma.com/files/recent

      
M config/ranger/plugins/archive.py
···
        96
        96
                     obj = CommandLoader(args=['aunpack'] + make_flags(f.path) + [f.path], descr=descr, read=True)

      
        97
        97
                     obj.signal_bind('after', refresh)

      
        98
        98
                     self.fm.loader.add(obj)

      
        99
        
        -

      
        100
        
        -

      
M config/ranger/plugins/git.py
···
        3
        3
         

      
        4
        4
         

      
        5
        5
         class git(Command):

      
        6
        
        -

      
        7
        6
             commands = 'init status clone add rm restore commit remote push'.split()

      
        8
        
        -

      
        9
        7
         

      
        10
        8
             def execute(self):

      
        11
        
        -        # empty

      
        12
        9
                 if not self.arg(1):

      
        13
        10
                     return self.fm.notify("For commands check \"git help\"")

      
        14
        11
         

      
        15
        
        -        # help

      
        16
        12
                 if self.arg(1) == "help":

      
        17
        13
                     return self.fm.notify("Not done yet!", bad=True)

      
        18
        14
         

      
        19
        
        -        # init

      
        20
        15
                 if self.arg(1) == self.commands[0]:

      
        21
        16
                     subprocess.run(["git", "init", "--quiet"])

      
        22
        17
                     return self.fm.notify("Repository initialized successefully")

      
        23
        18
         

      
        24
        
        -        # status

      
        25
        19
                 if self.arg(1) == self.commands[1]:

      
        26
        20
                     output = subprocess.check_output(["git", "status"]).decode()

      
        27
        21
         

      ···
        30
        24
         

      
        31
        25
                     return self.fm.edit_file('/tmp/gitplug-status')

      
        32
        26
         

      
        33
        
        -        # clone

      
        34
        27
                 if self.arg(1) == self.commands[2]:

      
        35
        28
                     if not self.arg(2):

      
        36
        29
                         return self.fm.notify("Missing url!", bad=True)

      ···
        39
        32
                         subprocess.run(["git", "clone", self.arg(2), "--quiet"])

      
        40
        33
                         return self.fm.notify("Repository successfully cloned!")

      
        41
        34
         

      
        42
        
        -        # add

      
        43
        35
                 if self.arg(1) == self.commands[3]:

      
        44
        36
                     if not self.arg(2):

      
        45
        37
                         return self.fm.notify("Missing arguments! Usage :git add <file>", bad=True)

      ···
        48
        40
                         subprocess.run(["git", "add", self.arg(2)])

      
        49
        41
                         return self.fm.notify("Successfully added files to branch!")

      
        50
        42
         

      
        51
        
        -        #rm

      
        52
        43
                 if self.arg(1) == self.commands[4]:

      
        53
        44
                     if not self.arg(2):

      
        54
        45
                         return self.fm.notify("Missing arguments! Usage :git rm <file>", bad=True)

      ···
        57
        48
                         subprocess.run(["git", "rm", self.arg(2)])

      
        58
        49
                         return self.fm.notify("Successfully removed files from branch!")

      
        59
        50
         

      
        60
        
        -        # restore

      
        61
        51
                 if self.arg(1) == self.commands[5]:

      
        62
        52
                     if not self.arg(2):

      
        63
        53
                         return self.fm.notify("Missing arguments! Usage :git restore <file>", bad=True)

      ···
        66
        56
                         subprocess.run(["git", "restore", "--staged", self.arg(2), "--quiet"])

      
        67
        57
                         return self.fm.notify("Successfully restored files!")

      
        68
        58
         

      
        69
        
        -        # commit

      
        70
        59
                 if self.arg(1) == self.commands[6]:

      
        71
        60
                     if not self.rest(2):

      
        72
        61
                         return self.fm.notify("Missing commit text", bad=True)

      ···
        75
        64
                         subprocess.run(["git", "commit", "-m", self.rest(2), "--quiet"])

      
        76
        65
                         return self.fm.notify("Successfully commited!")

      
        77
        66
                 

      
        78
        
        -        # remote

      
        79
        67
                 if self.arg(1) == self.commands[7]:

      
        80
        68
                     if not self.arg(2):

      
        81
        69
                         return self.fm.notify("Missing arguments! Use: git remote add/rm <name> <url>", bad=True)

      ···
        100
        88
                             subprocess.run(["git", "remote", "rm", self.arg(3)])

      
        101
        89
                             return self.fm.notify("Remote successfully removed")

      
        102
        90
         

      
        103
        
        -        # push

      
        104
        91
                 if self.arg(1) == self.commands[8]:

      
        105
        92
                     if self.arg(2) == "-u" and self.arg(3) and self.arg(4):

      
        106
        93
                         subprocess.run(["git", "push", "--quiet", "-u", self.arg(3), self.arg(4)])

      
D config/rofi/flat-dark.rasi
···
        1
        
        -* {

      
        2
        
        -    background-color: #202020;

      
        3
        
        -    border-color: #606060;

      
        4
        
        -    text-color: #c8c8c8;

      
        5
        
        -    width: 768px;

      
        6
        
        -    height: 512px;

      
        7
        
        -}

      
        8
        
        -

      
        9
        
        -window {

      
        10
        
        -    padding: 8px;

      
        11
        
        -}

      
        12
        
        -

      
        13
        
        -inputbar {

      
        14
        
        -    padding: 8px;

      
        15
        
        -    children: [/*prompt,*/ entry];

      
        16
        
        -}

      
        17
        
        -

      
        18
        
        -prompt {

      
        19
        
        -    border: 0 1px 0 0;

      
        20
        
        -    padding: 4px 20px 8px 12px;

      
        21
        
        -}

      
        22
        
        -

      
        23
        
        -entry {

      
        24
        
        -    padding: 4px 12px 8px 20px;

      
        25
        
        -}

      
        26
        
        -

      
        27
        
        -listview {

      
        28
        
        -    cycle: false;

      
        29
        
        -}

      
        30
        
        -

      
        31
        
        -element {

      
        32
        
        -    padding: 6px 24px;

      
        33
        
        -}

      
        34
        
        -

      
        35
        
        -element selected {

      
        36
        
        -    background-color: #303030;

      
        37
        
        -    text-color: #e0e0e0;

      
        38
        
        -}

      
        39
        
        -

      
        40
        
        -element-icon {

      
        41
        
        -    size: 20px;

      
        42
        
        -}

      
D config/rofi/solarized.rasi
···
        1
        
        -* {

      
        2
        
        -    selected-normal-foreground:  rgba ( 129, 147, 150, 100 % );

      
        3
        
        -    foreground:                  rgba ( 129, 147, 150, 100 % );

      
        4
        
        -    normal-foreground:           @foreground;

      
        5
        
        -    alternate-normal-background: rgba ( 0, 43, 55, 100 % );

      
        6
        
        -    red:                         rgba ( 220, 50, 47, 100 % );

      
        7
        
        -    selected-urgent-foreground:  rgba ( 218, 66, 129, 100 % );

      
        8
        
        -    blue:                        rgba ( 38, 139, 210, 100 % );

      
        9
        
        -    urgent-foreground:           rgba ( 218, 66, 129, 100 % );

      
        10
        
        -    alternate-urgent-background: rgba ( 0, 43, 55, 100 % );

      
        11
        
        -    active-foreground:           rgba ( 0, 142, 212, 100 % );

      
        12
        
        -    lightbg:                     rgba ( 238, 232, 213, 100 % );

      
        13
        
        -    selected-active-foreground:  rgba ( 0, 142, 212, 100 % );

      
        14
        
        -    alternate-active-background: rgba ( 0, 43, 55, 100 % );

      
        15
        
        -    background:                  rgba ( 0, 43, 55, 100 % );

      
        16
        
        -    bordercolor:                 rgba ( 0, 43, 55, 100 % );

      
        17
        
        -    alternate-normal-foreground: @foreground;

      
        18
        
        -    normal-background:           rgba ( 0, 43, 55, 100 % );

      
        19
        
        -    lightfg:                     rgba ( 88, 104, 117, 100 % );

      
        20
        
        -    selected-normal-background:  rgba ( 0, 54, 66, 100 % );

      
        21
        
        -    border-color:                @foreground;

      
        22
        
        -    spacing:                     2;

      
        23
        
        -    separatorcolor:              rgba ( 0, 54, 66, 100 % );

      
        24
        
        -    urgent-background:           rgba ( 0, 43, 55, 100 % );

      
        25
        
        -    selected-urgent-background:  rgba ( 0, 54, 66, 100 % );

      
        26
        
        -    alternate-urgent-foreground: @urgent-foreground;

      
        27
        
        -    background-color:            rgba ( 0, 0, 0, 0 % );

      
        28
        
        -    alternate-active-foreground: @active-foreground;

      
        29
        
        -    active-background:           rgba ( 0, 43, 55, 100 % );

      
        30
        
        -    selected-active-background:  rgba ( 0, 54, 66, 100 % );

      
        31
        
        -}

      
        32
        
        -#window {

      
        33
        
        -    background-color: @background;

      
        34
        
        -    border:           1;

      
        35
        
        -    padding:          5;

      
        36
        
        -}

      
        37
        
        -#mainbox {

      
        38
        
        -    border:  0;

      
        39
        
        -    padding: 0;

      
        40
        
        -}

      
        41
        
        -#message {

      
        42
        
        -    border:       1px dash 0px 0px ;

      
        43
        
        -    border-color: @separatorcolor;

      
        44
        
        -    padding:      1px ;

      
        45
        
        -}

      
        46
        
        -#textbox {

      
        47
        
        -    text-color: @foreground;

      
        48
        
        -}

      
        49
        
        -#listview {

      
        50
        
        -    fixed-height: 0;

      
        51
        
        -    border:       2px dash 0px 0px ;

      
        52
        
        -    border-color: @separatorcolor;

      
        53
        
        -    spacing:      2px ;

      
        54
        
        -    scrollbar:    true;

      
        55
        
        -    padding:      2px 0px 0px ;

      
        56
        
        -}

      
        57
        
        -#element {

      
        58
        
        -    border:  0;

      
        59
        
        -    padding: 1px ;

      
        60
        
        -}

      
        61
        
        -#element.normal.normal {

      
        62
        
        -    background-color: @normal-background;

      
        63
        
        -    text-color:       @normal-foreground;

      
        64
        
        -}

      
        65
        
        -#element.normal.urgent {

      
        66
        
        -    background-color: @urgent-background;

      
        67
        
        -    text-color:       @urgent-foreground;

      
        68
        
        -}

      
        69
        
        -#element.normal.active {

      
        70
        
        -    background-color: @active-background;

      
        71
        
        -    text-color:       @active-foreground;

      
        72
        
        -}

      
        73
        
        -#element.selected.normal {

      
        74
        
        -    background-color: @selected-normal-background;

      
        75
        
        -    text-color:       @selected-normal-foreground;

      
        76
        
        -}

      
        77
        
        -#element.selected.urgent {

      
        78
        
        -    background-color: @selected-urgent-background;

      
        79
        
        -    text-color:       @selected-urgent-foreground;

      
        80
        
        -}

      
        81
        
        -#element.selected.active {

      
        82
        
        -    background-color: @selected-active-background;

      
        83
        
        -    text-color:       @selected-active-foreground;

      
        84
        
        -}

      
        85
        
        -#element.alternate.normal {

      
        86
        
        -    background-color: @alternate-normal-background;

      
        87
        
        -    text-color:       @alternate-normal-foreground;

      
        88
        
        -}

      
        89
        
        -#element.alternate.urgent {

      
        90
        
        -    background-color: @alternate-urgent-background;

      
        91
        
        -    text-color:       @alternate-urgent-foreground;

      
        92
        
        -}

      
        93
        
        -#element.alternate.active {

      
        94
        
        -    background-color: @alternate-active-background;

      
        95
        
        -    text-color:       @alternate-active-foreground;

      
        96
        
        -}

      
        97
        
        -#scrollbar {

      
        98
        
        -    width:        4px ;

      
        99
        
        -    border:       0;

      
        100
        
        -    handle-width: 8px ;

      
        101
        
        -    padding:      0;

      
        102
        
        -}

      
        103
        
        -#mode-switcher {

      
        104
        
        -    border:       2px dash 0px 0px ;

      
        105
        
        -    border-color: @separatorcolor;

      
        106
        
        -}

      
        107
        
        -#button.selected {

      
        108
        
        -    background-color: @selected-normal-background;

      
        109
        
        -    text-color:       @selected-normal-foreground;

      
        110
        
        -}

      
        111
        
        -#inputbar {

      
        112
        
        -    spacing:    0;

      
        113
        
        -    text-color: @normal-foreground;

      
        114
        
        -    padding:    1px ;

      
        115
        
        -}

      
        116
        
        -#case-indicator {

      
        117
        
        -    spacing:    0;

      
        118
        
        -    text-color: @normal-foreground;

      
        119
        
        -}

      
        120
        
        -#entry {

      
        121
        
        -    spacing:    0;

      
        122
        
        -    text-color: @normal-foreground;

      
        123
        
        -}

      
        124
        
        -#prompt {

      
        125
        
        -    spacing:    0;

      
        126
        
        -    text-color: @normal-foreground;

      
        127
        
        -}

      
        128
        
        -#inputbar {

      
        129
        
        -    children:   [ prompt,textbox-prompt-colon,entry,case-indicator ];

      
        130
        
        -}

      
        131
        
        -#textbox-prompt-colon {

      
        132
        
        -    expand:     false;

      
        133
        
        -    str:        ":";

      
        134
        
        -    margin:     0px 0.3em 0em 0em ;

      
        135
        
        -    text-color: @normal-foreground;

      
        136
        
        -}
      
A config/sxhkd/sxhkdrc
···
        
        1
        +super + Return                   # Open terminal

      
        
        2
        +    kitty

      
        
        3
        +

      
        
        4
        +super + @space                   # Program launcher

      
        
        5
        +    rofi -show drun -show cobi -show-icons

      
        
        6
        +

      
        
        7
        +super + Escape                  # Exit manu

      
        
        8
        +    rofi -show power-menu -width 30 -lines 6 -modi power-menu:~/.config/rofi/rofi-power-menu

      
        
        9
        +

      
        
        10
        +super + ctrl + u                # Config editor

      
        
        11
        +    ~/.script/dmenu/dmenu-config-edit.sh

      
        
        12
        +

      
        
        13
        +super + q                       # Kill window

      
        
        14
        +    bspc node -k

      
        
        15
        +

      
        
        16
        +super + shift + r               # Restart bspwm

      
        
        17
        +    bspc wm -r

      
        
        18
        +

      
        
        19
        +super + g                       # swap the current node and the biggest window

      
        
        20
        +    bspc node -s biggest.window

      
        
        21
        +

      
        
        22
        +# Sceenshot

      
        
        23
        +Print

      
        
        24
        +    scrot -s /home/${USER}/$(date +%Y-%m-%d-%H-%M-%S).png

      
        
        25
        +shift + Print

      
        
        26
        +    scrot /home/${USER}/$(date +%Y-%m-%d-%H-%M-%S).png

      
        
        27
        +

      
        
        28
        +super + {t,shift + t,s,f}

      
        
        29
        +    bspc node -t {tiled,pseudo_tiled,floating,fullscreen}

      
        
        30
        +

      
        
        31
        +super + {_,shift + }{h,j,k,l}   # focus the node in the given direction

      
        
        32
        +    bspc node -{f,s} {west,south,north,east}

      
        
        33
        +

      
        
        34
        +super + {_,shift + }{1-9,0}     # focus or send to the given desktop

      
        
        35
        +    bspc {desktop -f,node -d} '^{1-9,10}'

      
        
        36
        +

      
        
        37
        +super + ctrl + {h,j,k,l}        # preselect the direction

      
        
        38
        +    bspc node -p {west,south,north,east}

      
        
        39
        +

      
        
        40
        +super + ctrl + {1-9}            # preselect the ratio

      
        
        41
        +    bspc node -o 0.{1-9}

      
        
        42
        +

      
        
        43
        +super + ctrl + space            # cancel the preselection for the focused node

      
        
        44
        +    bspc node -p cancel

      
        
        45
        +

      
        
        46
        +super + alt + {h,j,k,l}         # expand a window by moving one of its side outward

      
        
        47
        +    bspc node -z {left -20 0,bottom 0 20,top 0 -20,right 20 0}

      
        
        48
        +

      
        
        49
        +super + alt + shift + {h,j,k,l} # contract a window by moving one of its side inward

      
        
        50
        +    bspc node -z {right -20 0,top 0 20,bottom 0 -20,left 20 0}

      
        
        51
        +

      
        
        52
        +super + {Left,Down,Up,Right}    # move a floating window

      
        
        53
        +    bspc node -v {-20 0,0 20,0 -20,20 0}

      
D install.sh
···
        1
        
        -echo -e  "1: Fast install \n2: Manual Install"

      
        2
        
        -read -p ": " INSTALL_METHOD

      
        3
        
        -

      
        4
        
        -if [[ "$INSTALL_METHOD" == "1" ]]; then

      
        5
        
        -    mv {bashrc,gitconfig,gitignore_global,tmux.conf,tmux.conf.local,vimrc,zshrc} /home/{$USER}

      
        6
        
        -    cd config

      
        7
        
        -    mv {htop,neofetch} /home/{$USER}/.config

      
        8
        
        -    mv sublime-text-3/{"Default (Linux).sublime-keymap","Package Control.sublime-settings","Preferences.sublime-settings"} /home/{$USER}/.config/sublime-text-3/Packages/User/

      
        9
        
        -if [[ "$INSTALL_METHOD" == "2" ]]; then

      
        10
        
        -    read -p "Install config for Sublime Text 3 [y/n]: " SUBLIME

      
        11
        
        -    read -p "Install vim config [y/n]: " VIM

      
        12
        
        -    read -p "Install git config [y/n]: " GIT

      
        13
        
        -    read -p "Install zsh config [y/n]: " ZSH

      
        14
        
        -    read -p "Install bash config [y/n]: " BASH

      
        15
        
        -    read -p "Intall tmux config [y/n]: " TMUX

      
        16
        
        -    if [[ "$VIM" == "y" ]] || [[ "$VIM" == "Y" ]]; then

      
        17
        
        -        curl -fLo ~/.vim/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim

      
        18
        
        -        mv vimrc ~/.vimrc

      
        19
        
        -    elif [[ "$GIT" == "y" ]] || [[ "$GIT" == "Y" ]]; then

      
        20
        
        -        mv gitconfig ~/.gitconfig

      
        21
        
        -        mv gitignore_global ~/.gitignore_global

      
        22
        
        -    elif [[ "$ZSH" == "y" ]] || [[ "$ZSH" == "Y" ]]; then

      
        23
        
        -        mv zshrc ~/.zshrc

      
        24
        
        -        touch /home/$USER/.env

      
        25
        
        -    elif [[ "$BASH" = "y" ]] || [[ "$BASH" = "Y" ]]; then

      
        26
        
        -        mv bashrc ~/.bashrc

      
        27
        
        -    elif [[ "$TMUX" = "y" ]] || [[ "$TMUX" = "y" ]]; then

      
        28
        
        -        mv tmux.conf ~/.tmux.conf

      
        29
        
        -        mv tmux.conf.local ~/.tmux.conf.local

      
        30
        
        -    elif [[ "$SUBLIME" = "y" ]] || [[ "$SUBLIME" = "Y" ]]; then

      
        31
        
        -        mv ./sublime-text-3/* /home/{$USER}/.config/sublime-text-3/Packages/User

      
        32
        
        -    fi

      
        33
        
        -fi
      
A scripts/change-shell.sh
···
        
        1
        +#!/bin/sh

      
        
        2
        +

      
        
        3
        +case "$1" in

      
        
        4
        +    "help"|"--help")

      
        
        5
        +        echo "bash      Change default shell to bash"

      
        
        6
        +        echo "zsh       Change default shell to zsh"

      
        
        7
        +        echo "fish      Change default shell to fish"

      
        
        8
        +    ;;

      
        
        9
        +    bash)

      
        
        10
        +        chsh -s $(whitch bash)

      
        
        11
        +    ;;

      
        
        12
        +    zsh)

      
        
        13
        +        chsh -s $(whitch zsh)

      
        
        14
        +    ;;

      
        
        15
        +    fish)

      
        
        16
        +        chsh -s $(whitch fish)

      
        
        17
        +    ;;

      
        
        18
        +esac

      
A scripts/dmenu/dmenu-config-edit.sh
···
        
        1
        +#!/bin/sh

      
        
        2
        +

      
        
        3
        +declare options=("i3

      
        
        4
        +bspwm

      
        
        5
        +polybar

      
        
        6
        +picom

      
        
        7
        +quickmarks

      
        
        8
        +vim

      
        
        9
        +nvim

      
        
        10
        +xresources

      
        
        11
        +dunst

      
        
        12
        +zsh

      
        
        13
        +quit")

      
        
        14
        +

      
        
        15
        +choice=$(echo -e "${options[@]}" | dmenu -i -p 'Edit config file: ')

      
        
        16
        +

      
        
        17
        +case "$choice" in

      
        
        18
        +	quit)

      
        
        19
        +		echo "Program terminated." && exit 1 ;;

      
        
        20
        +	dunst)

      
        
        21
        +		choice="$HOME/.config/dunst/dunstrc" ;;

      
        
        22
        +	i3)

      
        
        23
        +		choice="$HOME/.config/i3/config" ;;

      
        
        24
        +	bspwm)

      
        
        25
        +		choice="$HOME/.config/bspwm/bspwmrc" ;;

      
        
        26
        +	picom)

      
        
        27
        +		choice="$HOME/.config/picom.conf" ;;

      
        
        28
        +	polybar)

      
        
        29
        +		choice="$HOME/.config/polybar/config" ;;

      
        
        30
        +	quickmarks)

      
        
        31
        +		choice="$HOME/.config/qutebrowser/quickmarks" ;;

      
        
        32
        +	vim)

      
        
        33
        +		choice="$HOME/.vimrc" ;;

      
        
        34
        +    nvim)

      
        
        35
        +        choice="$HOME/.config/nvim/init.vim" ;;

      
        
        36
        +    xresources)

      
        
        37
        +		choice="$HOME/.Xresources" ;;

      
        
        38
        +	zsh)

      
        
        39
        +		choice="$HOME/.zshrc" ;;

      
        
        40
        +	*)

      
        
        41
        +		exit 1 ;;

      
        
        42
        +esac

      
        
        43
        +kitty -e nvim "$choice"

      
M scripts/snap-remove-old-pkg.sh
···
        1
        1
         #!/bin/sh

      
        2
        2
         LANG=en_US.UTF-8 snap list --all | awk '/disabled/{print $1, $3}' |

      
        3
        3
         while read snapname revision

      
        4
        
        -do; sudo snap remove "$snapname" --revision="$revision"; done

      
        
        4
        +do

      
        
        5
        +    sudo snap remove "$snapname" --revision="$revision"

      
        
        6
        +done

      
M scripts/walpapper-changer.sh
···
        1
        1
         #!/bin/bash

      
        2
        2
         WALLPAPERS=/home/sasha/Изображения/Walpapper

      
        3
        
        -SLEEP_TIME=60

      
        
        3
        +SLEEP_TIME=3

      
        4
        4
         

      
        5
        5
         while true; do

      
        6
        6
             feh --randomize --bg-scale $WALLPAPERS/*

      
A taskrc
···
        
        1
        +# Taskwarrior program configuration file.

      
        
        2
        +

      
        
        3
        +### Files ###

      
        
        4
        +data.location=~/.task

      
        
        5
        +

      
        
        6
        +### Color theme ###

      
        
        7
        +include /usr/share/doc/task/rc/solarized-dark-256.theme

      
        
        8
        +

      
        
        9
        +### Variables ###

      
        
        10
        +weekstart=monday

      
        
        11
        +search.case.sensitive=no

      
        
        12
        +active.indicator=↪

      
        
        13
        +report.list.columns=id,project,priority,description,entry.age

      
        
        14
        +alias.burndown=burndown.daily

      
        
        15
        +default.command=ready limit:page

      
M vimrc
···
        1
        1
         call plug#begin('~/.vim/plugged')

      
        2
        2
             Plug 'jiangmiao/auto-pairs'

      
        3
        
        -    Plug 'flazz/vim-colorschemes'

      
        4
        
        -    Plug 'itchyny/lightline.vim'

      
        5
        
        -    Plug'junegunn/goyo.vim'

      
        6
        
        -    Plug 'pangloss/vim-javascript', {'for': 'js'}

      
        7
        
        -    Plug 'mattn/emmet-vim', {'for': 'html'}

      
        
        3
        +    Plug 'ayu-theme/ayu-vim'

      
        8
        4
         call plug#end()

      
        9
        5
         

      
        10
        6
         set nocompatible    " be iMproved

      ···
        24
        20
         

      
        25
        21
         set fileencodings=utf8,cp1251

      
        26
        22
         

      
        27
        
        -"set cursorline      " The line with the cursor will be highlighted

      
        
        23
        +set cursorline      " The line with the cursor will be highlighted

      
        28
        24
         set wrap            " Line wrappingv

      
        29
        25
         set linebreak       " Line wrappingv

      
        30
        26
         

      ···
        56
        52
         set visualbell t_vb=    " Mute Vim

      
        57
        53
         

      
        58
        54
         " ColoerCheme

      
        
        55
        +set termguicolors

      
        59
        56
         set background=dark

      
        60
        
        -colorscheme OceanicNext

      
        61
        
        -

      
        62
        
        -" Lightline

      
        63
        
        -let g:lightline = {

      
        64
        
        -    \ 'colorscheme': 'wombat',

      
        65
        
        -    \ }

      
        66
        
        -let g:dcrpc_autostart = 1

      
        67
        
        -

      
        68
        
        -

      
        69
        
        -" Goyo

      
        70
        
        -let g:goyo_width = 125

      
        71
        
        -let g:goyo_height = '100%'

      
        72
        
        -

      
        
        57
        +let ayucolor="mirage"

      
        
        58
        +colorscheme ayu

      
        73
        59
         

      
        74
        60
         """"""""""

      
        75
        61
         " MAPING "

      
M zshrc
···
        1
        1
         export ZSH="/home/sasha/.oh-my-zsh"

      
        2
        2
         #export ZSH="/root/.oh-my-zsh"

      
        3
        3
         

      
        4
        
        -ZSH_THEME="simple" 

      
        5
        4
         #ZSH_THEME="bureau"

      
        
        5
        +ZSH_THEME="cyan-simple"

      
        6
        6
         

      
        7
        7
         # Uncomment the following line to use case-sensitive completion.

      
        8
        8
         #CASE_SENSITIVE="true"

      ···
        26
        26
         #DISABLE_LS_COLORS="true"

      
        27
        27
         

      
        28
        28
         # Uncomment the following line to disable auto-setting terminal title.

      
        29
        
        -#DISABLE_AUTO_TITLE="true"

      
        
        29
        +export DISABLE_AUTO_TITLE="true"

      
        30
        30
         

      
        31
        31
         # Uncomment the following line to enable command auto-correction.

      
        32
        32
         #ENABLE_CORRECTION="true"

      
        33
        33
         

      
        
        34
        +# You may need to manually set your language environment

      
        
        35
        +export LANG=en_US.UTF-8

      
        
        36
        +

      
        34
        37
         # Uncomment the following line to display red dots whilst waiting for completion.

      
        35
        38
         #COMPLETION_WAITING_DOTS="true"

      
        36
        39
         

      
        37
        
        -plugins=(pip python git tmux docker)

      
        
        40
        +# Plugins

      
        
        41
        +plugins=(pip python sudo git tmux taskwarrior) 

      
        38
        42
         source $ZSH/oh-my-zsh.sh

      
        39
        43
         

      
        40
        44
         # User configuration

      
        
        45
        +export EDITOR="vim"

      
        41
        46
         

      
        42
        
        -# You may need to manually set your language environment

      
        43
        
        -#export LANG=en_US.UTF-8

      
        
        47
        +echo "$(tput bold)Welcome:$(tput sgr0) $(whoami)"

      
        
        48
        +source ~/.env

      
        
        49
        +source ~/.profile

      
        44
        50
         

      
        45
        51
         alias cls='clear'

      
        46
        
        -alias sl='ls'

      
        47
        
        -alias cd..='cd ..'

      
        48
        52
         alias :q="exit"

      
        49
        53
         alias py='python3'