all repos

dotfiles @ e3c8613

i use rach linux btw
14 files changed, 174 insertions(+), 411 deletions(-)
Update i3, polybar config, del spectrwm config, add catfatch script
Author: Smirnov Olexandr ss2316544@gmail.com
Committed at: 2020-12-29 16:49:08 +0200
Parent: e8de9a1
A bin/catfetch
···
        
        1
        +#!/bin/sh

      
        
        2
        +

      
        
        3
        +# Kernel version

      
        
        4
        +kernel=$(cat /proc/sys/kernel/osrelease|cut -d '-' -f1)

      
        
        5
        +

      
        
        6
        +# Window manager name

      
        
        7
        +[ ! "$wm" ] && [ "$DISPLAY" ] && command -v xprop >/dev/null && {

      
        
        8
        +    wmname="$(xprop -id $(xprop -root -notype | awk '$1=="_NET_SUPPORTING_WM_CHECK:"{print $5}') -notype -f _NET_WM_NAME 8t | grep "WM_NAME" | cut -f2 -d \")"

      
        
        9
        +}

      
        
        10
        +

      
        
        11
        +# Shell

      
        
        12
        +shell=$(basename $SHELL)

      
        
        13
        +

      
        
        14
        +# Pakages

      
        
        15
        +manager=$(which dnf apt pacman apk yay xbps-query 2>/dev/null)

      
        
        16
        +manager=${manager##*/}

      
        
        17
        +case "$manager" in

      
        
        18
        +	apt)        packages="$(dpkg-query -f '${binary:Package}\n' -W | wc -l)";;

      
        
        19
        +	pacman)     packages="$(pacman -Q | wc -l)";;

      
        
        20
        +	apk)        packages="$(apk list --installed | wc -l)";;

      
        
        21
        +	yay)        packages="$(yay -Q | wc -l)";;

      
        
        22
        +	xbps-query) packages="$(xbps-query -l | wc -l)";;

      
        
        23
        +esac 

      
        
        24
        +

      
        
        25
        +

      
        
        26
        +

      
        
        27
        +# Colors ####

      
        
        28
        +bold="\e[1m"

      
        
        29
        +reset="\e[0m"

      
        
        30
        +

      
        
        31
        +blue="\e[36m"

      
        
        32
        +grey="\e[90m"

      
        
        33
        +black='\e[30m'

      
        
        34
        +red='\e[31m'

      
        
        35
        +green='\e[32m'

      
        
        36
        +yellow='\e[33m'

      
        
        37
        +blue='\e[34m'

      
        
        38
        +magenta='\e[35m'

      
        
        39
        +cyan='\e[36m'

      
        
        40
        +white='\e[37m'

      
        
        41
        +

      
        
        42
        +echo -e "              ${blue}${bold}    WM ${reset}${wmname}"

      
        
        43
        +echo -e "   /\_/\      ${blue}${bold} SHELL ${reset}${shell}"

      
        
        44
        +echo -e "  (=^.^=)     ${blue}${bold}KERNEL ${reset}${kernel}"

      
        
        45
        +echo -e "  (\") (\")_/   ${blue}${bold}   PKG ${reset}${packages}"

      
        
        46
        +echo -e "  ${black}卑${red}卑${green}卑${yellow}卑${blue}卑${magenta}卑${cyan}卑${reset} "

      
        
        47
        +exit 0

      
A bin/ipp
···
        
        1
        +#!/bin/sh

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

      
        
        3
        +then curl ipinfo.io/ip

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

      
        
        5
        +fi

      
D bin/local-ip
···
        1
        
        -#!/bin/sh

      
        2
        
        -ifconfig | sed -En 's/127.0.0.1//;s/.*inet (addr:)?(([0-9]*\.){3}[0-9]*).*/\2/p' | grep -v '172.[0-9][0-9].0.1'

      
D bin/public-ip
···
        1
        
        -#!/bin/sh

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

      
        3
        
        -then

      
        4
        
        -    curl ipinfo.io/ip

      
        5
        
        -else

      
        6
        
        -    wget -qO- ipinfo.io/ip

      
        7
        
        -fi

      
M config/alacritty.yml
···
        37
        37
         

      
        38
        38
         colors:

      
        39
        39
           primary:

      
        40
        
        -    background: '0x262A2D'

      
        41
        
        -    foreground: '0xDFDFDF'

      
        
        40
        +    background: '0x262A2B'

      
        
        41
        +    foreground: '0xFFFFFF'

      
        42
        42
           cursor:

      
        43
        43
             text: '0x7D7D7D'

      
        44
        44
             cursor: '0xDFDFDF'

      ···
        46
        46
             text: '0xEDEBD7'

      
        47
        47
             background: '0x262A3B'

      
        48
        48
           normal:

      
        49
        
        -    black:   '0x32344a'

      
        50
        
        -    red:     '0xf7768e'

      
        51
        
        -    green:   '0x9ece6a'

      
        52
        
        -    yellow:  '0xe0af68'

      
        53
        
        -    blue:    '0x7aa2f7'

      
        54
        
        -    magenta: '0xad8ee6'

      
        55
        
        -    cyan:    '0x449dab'

      
        56
        
        -    white:   '0x9699a8'

      
        
        49
        +    black:   '0x181818'

      
        
        50
        +    red:     '0xab4642'

      
        
        51
        +    green:   '0xa1b56c'

      
        
        52
        +    yellow:  '0xf7ca88'

      
        
        53
        +    blue:    '0x7cafc2'

      
        
        54
        +    magenta: '0xba8baf'

      
        
        55
        +    cyan:    '0x86c1b9'

      
        
        56
        +    white:   '0xd8d8d8'

      
        57
        57
           bright:

      
        58
        
        -    black:   '0x444b6a'

      
        59
        
        -    red:     '0xff7a93'

      
        60
        
        -    green:   '0xb9f27c'

      
        61
        
        -    yellow:  '0xff9e64'

      
        62
        
        -    blue:    '0x7da6ff'

      
        63
        
        -    magenta: '0xbb9af7'

      
        64
        
        -    cyan:    '0x0db9d7'

      
        65
        
        -    white:   '0xacb0d0'

      
        
        58
        +    black:   '0x585858'

      
        
        59
        +    red:     '0xab4642'

      
        
        60
        +    green:   '0xa1b56c'

      
        
        61
        +    yellow:  '0xf7ca88'

      
        
        62
        +    blue:    '0x7cafc2'

      
        
        63
        +    magenta: '0xba8baf'

      
        
        64
        +    cyan:    '0x86c1b9'

      
        
        65
        +    white:   '0xf8f8f8'

      
        66
        66
         

      
        67
        67
         key_bindings:

      
        68
        68
           - { key: V, mods: Control|Shift, action: Paste }

      
M config/i3/config
···
        16
        16
         hide_edge_borders smart

      
        17
        17
         

      
        18
        18
         ############ Variables ###########

      
        19
        
        -set $terminal kitty

      
        
        19
        +set $terminal alacritty

      
        20
        20
         set $browser firefox 

      
        21
        
        -set $filemanager pcmanfm

      
        
        21
        +set $filemanager thunar

      
        22
        22
         

      
        23
        23
         ############ Autostart ############

      
        24
        
        -exec --no-startup-id exec picom -b

      
        25
        
        -exec --no-startup-id exec nmcli radio wifi on && nmcli device wifi connect $(echo $WIFINAME) password $(echo $WIFIPASS) name net

      
        26
        
        -#exec --no-startup-id exec redshift-gtk

      
        
        24
        +exec --no-startup-id exec picom --experimental-backends -b

      
        27
        25
         exec --no-startup-id exec nitrogen --restore

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

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

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

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

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

      
        30
        31
         #exec --no-startup-id exec conky

      
        
        32
        +#exec --no-startup-id exec redshift-gtk

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

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

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

      
        34
        34
         

      
        35
        
        -############ Key bindings #########

      
        
        35
        +############## WM keys ############

      
        36
        36
         

      
        37
        
        -### I3

      
        38
        
        -# Kill focus window

      
        
        37
        +# Kill window

      
        39
        38
         bindsym $mod+q kill

      
        
        39
        +

      
        40
        40
         # Restart i3wm

      
        41
        41
         bindsym $mod+Control+r restart

      
        42
        
        -# Focus the parent container

      
        43
        
        -bindsym $mod+a focus parent

      
        44
        
        -# Floating window

      
        45
        
        -bindsym $mod+Shift+space floating toggle

      
        
        42
        +

      
        
        43
        +# Floating layout

      
        
        44
        +bindsym $mod+Tab floating toggle

      
        
        45
        +

      
        
        46
        +# Tab layout

      
        
        47
        +bindsym $mod+w layout tabbed

      
        
        48
        +

      
        
        49
        +# Split layout

      
        
        50
        +bindsym $mod+e layout toggle split

      
        
        51
        +

      
        46
        52
         # Splits

      
        47
        53
         bindsym $mod+b split h

      
        48
        54
         bindsym $mod+v split v

      
        49
        
        -# Change container layout(stacked, tabbed, toggle split)

      
        50
        
        -bindsym $mod+s layout stacking

      
        51
        
        -bindsym $mod+w layout tabbed

      
        52
        
        -bindsym $mod+e layout toggle split

      
        
        55
        +

      
        53
        56
         # Scratchpad

      
        54
        57
         bindsym $mod+Shift+grave move scratchpad

      
        55
        58
         bindsym $mod+grave scratchpad show, floating disable

      
        56
        59
         

      
        57
        
        -### Launchers

      
        
        60
        +############## User key ###########

      
        
        61
        +

      
        
        62
        +# Menus

      
        58
        63
         bindsym $mod+Shift+apostrophe exec "rofi -show run"

      
        59
        64
         bindsym $mod+Shift+Return exec "rofi -show drun"

      
        60
        65
         bindsym $mod+Escape exec ~/.script/dmenu/dmenu-power.sh -h 24

      
        61
        66
         bindsym $mod+Control+u exec ~/.script/dmenu/dmenu-config-edit.sh -h 24

      
        62
        67
         bindsym $mod+Control+i exec passmenu -h 24 -p Passwords

      
        63
        68
         

      
        64
        
        -### Applications

      
        
        69
        +# Apps

      
        65
        70
         bindsym $mod+Return exec $terminal

      
        66
        71
         bindsym $mod+F2 exec $browser 

      
        67
        
        -bindsym $mod+F4 exec $filemanager

      
        68
        
        -bindsym --release $mod+Shift+Escape exec xkill

      
        69
        
        -bindsym $mod+$alt+t exec $terminal nvim .todo

      
        70
        
        -

      
        
        72
        +bindsym $mod+f exec $filemanager

      
        71
        73
         

      
        72
        
        -### Sceenshot

      
        
        74
        +# Sceenshot

      
        73
        75
         bindsym --release Print exec "scrot -s /home/${USER}/$(date +%Y-%m-%d-%H-%M-%S).png"

      
        74
        76
         bindsym --release Shift+Print exec "scrot /home/${USER}/$(date +%Y-%m-%d-%H-%M-%S).png"

      
        75
        77
         

      
        
        78
        +# Lockscreen

      
        
        79
        +bindsym $mod+Shift+z exec betterlockscreen --off 180 -t \"Computer is lockerd\" -l

      
        76
        80
         

      
        77
        
        -### Volume

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

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

      
        
        81
        +# Volume

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

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

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

      
        81
        85
         

      
        82
        86
         ######### Window preferens ########

      
        83
        
        -#assign [class="Kitty"] $ws1

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

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

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

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

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

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

      
        89
        
        -assign [title="KeePassXC"] $ws7

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

      
        91
        
        -#for_window [class="Spotify"] move to workspace $ws9

      
        92
        
        -for_window [class="(?i)mousepad"] floating enable

      
        93
        
        -for_window [class="(?i)lxappearance|qt5ct"] floating enable

      
        94
        
        -for_window [class="(?i)nitrogen"] floating enable

      
        95
        89
         #focus_on_window_activation focus

      
        96
        90
         

      
        97
        
        -############## Gaps ###############

      
        98
        
        -#gaps inner 4

      
        99
        
        -#smart_gaps on

      
        100
        
        -

      
        101
        
        -##### Change containet focus ######

      
        
        91
        +########## Change  focus ##########

      
        102
        92
         bindsym $mod+h focus left

      
        103
        93
         bindsym $mod+Left focus left

      
        104
        94
         bindsym $mod+j focus down

      ···
        108
        98
         bindsym $mod+l focus right

      
        109
        99
         bindsym $mod+Right focus right

      
        110
        100
         

      
        111
        
        -##### Move focused container ######

      
        
        101
        +########## Move window ############

      
        112
        102
         bindsym $mod+Shift+h move left

      
        113
        103
         bindsym $mod+Shift+Left move left

      
        114
        104
         bindsym $mod+Shift+j move down

      ···
        118
        108
         bindsym $mod+Shift+l move right

      
        119
        109
         bindsym $mod+Shift+Right move right

      
        120
        110
         

      
        121
        
        -##### Restart focused window ######

      
        
        111
        +########## Resize window ##########

      
        122
        112
         bindsym $mod+Control+h resize shrink width 20 px or 20 ppt

      
        123
        113
         bindsym $mod+Control+Left resize shrink width 20 px or 20 ppt

      
        124
        114
         bindsym $mod+Control+j resize grow height 20 px or 20 ppt

      ···
        158
        148
         bindsym $mod+Shift+7 move container to workspace $ws7

      
        159
        149
         bindsym $mod+Shift+8 move container to workspace $ws8

      
        160
        150
         bindsym $mod+Shift+9 move container to workspace $ws9

      
        161
        
        -

      
        162
        
        -############## Modes ##############

      
        163
        
        -bindsym $mod+g mode "gaps"

      
        164
        
        -mode "gaps" {

      
        165
        
        -        bindsym plus  gaps inner current plus 2

      
        166
        
        -        bindsym minus gaps inner current minus 2

      
        167
        
        -        bindsym 0     gaps inner current set 0

      
        168
        
        -

      
        169
        
        -        bindsym Shift+plus  gaps inner all plus 4

      
        170
        
        -        bindsym Shift+minus gaps inner all minus 4

      
        171
        
        -        bindsym Shift+0     gaps inner all set 0

      
        172
        
        -

      
        173
        
        -        bindsym Return mode "default"

      
        174
        
        -        bindsym Escape mode "default"

      
        175
        
        -        bindsym $mod+g mode "default"

      
        176
        
        -}

      
        177
        151
         

      
        178
        152
         ############## Colors #############

      
        179
        153
         #        Class          Border   Backgr   Text     Indicator Child_border

      
M config/nvim/init.vim
···
        
        1
        +filetype plugin on

      
        1
        2
         call plug#begin('~/.vim/plugged')

      
        2
        
        -    Plug 'nathanaelkane/vim-indent-guides' " Displaying indent levels

      
        3
        
        -    Plug 'voldikss/vim-floaterm'           " Terminal window

      
        4
        
        -    Plug 'frazrepo/vim-rainbow'            " Rainbow brackets

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

      
        6
        
        -    Plug 'ap/vim-css-color'                " CSS color preview  

      
        7
        
        -    Plug 'mhinz/vim-startify'              " Start page

      
        8
        
        -    Plug 'tpope/vim-surround'              " HTML/XML tag cloaser

      
        9
        
        -    Plug 'itchyny/lightline.vim'           " Status line

      
        
        3
        +    Plug 'nathanaelkane/vim-indent-guides'         " Displaying indent levels

      
        
        4
        +    Plug 'voldikss/vim-floaterm'                   " Terminal window

      
        
        5
        +    Plug 'frazrepo/vim-rainbow'                    " Rainbow brackets

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

      
        
        7
        +    Plug 'ap/vim-css-color'                        " CSS color preview  

      
        
        8
        +    Plug 'mhinz/vim-startify'                      " Start page

      
        
        9
        +    Plug 'itchyny/lightline.vim'                   " Status line

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

      
        10
        11
             

      
        11
        12
             " Color sheme

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

      ···
        23
        24
             Plug 'neoclide/coc.nvim', {'branch': 'release'}

      
        24
        25
         

      
        25
        26
             " Language support

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

      
        27
        27
             Plug 'iamcco/markdown-preview.nvim', {'for': 'markdown'}

      
        28
        28
             Plug 'dhruvasagar/vim-table-mode',   {'for': 'markdown'}

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

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

      
        31
        
        -    Plug 'vim-scripts/indentpython.vim', {'for': 'python'}

      
        32
        
        -    Plug 'Olical/vim-scheme',            {'for': 'scheme'}

      
        33
        31
             Plug 'kovetskiy/sxhkd-vim',          {'for': 'sxhkd'}

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

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

      
        36
        
        -    Plug 'dag/vim-fish',                 {'for': 'fish'}

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

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

      
        39
        
        -    "Plug 'mitsuhiko/vim-jinja'

      
        40
        35
         call plug#end()

      
        41
        36
         

      
        42
        37
         " Colors

      ···
        63
        58
         

      
        64
        59
         " File encoding

      
        65
        60
         set encoding=utf-8

      
        66
        
        -set fileencodings=utf8,cp1251

      
        
        61
        +set fileencodings=utf8

      
        67
        62
         

      
        68
        63
         " Line wrap

      
        69
        64
         set nowrap

      ···
        110
        105
         \ }, }

      
        111
        106
         

      
        112
        107
         " Nerdtree

      
        113
        
        -let NERDTreeIgnore = ['__pycache__', '\.pyc$', '\.o$', '\.so$', '\.a$', '\.swp', '*\.swp', '\.swo', '\.swn', '\.swh', '\.swm', '\.swl', '\.swk', '\.sw*$', '[a-zA-Z]*egg[a-zA-Z]*', '.DS_Store']

      
        
        108
        +let NERDTreeIgnore = ['__pycache__', '.DS_Store', '.git']

      
        114
        109
         let g:NERDTreeWinPos        = "right"

      
        115
        110
         let g:NERDTreeWinSize       = 28

      
        116
        111
         let NERDTreeMinimalUI       = 1

      ···
        118
        113
         let NERDTreeShowHidden      = 0

      
        119
        114
         map <C-b> :NERDTreeToggle<CR>

      
        120
        115
         

      
        
        116
        +" VimWiki

      
        
        117
        +let g:vimwiki_markdown_link_ext = 0

      
        
        118
        +let g:vimwiki_list = [{

      
        
        119
        +\ 'path': '~/Documents/Notes',

      
        
        120
        +\ 'syntax': 'markdown',

      
        
        121
        +\ 'ext': '.md',

      
        
        122
        +\ }]

      
        
        123
        +

      
        121
        124
         " Coc

      
        122
        125
         inoremap <expr> <Tab> pumvisible() ? "\<C-n>" : "\<Tab>"

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

      ···
        134
        137
         nmap FS <Plug>(easymotion-bd-w)

      
        135
        138
         

      
        136
        139
         " CtrlP

      
        
        140
        +let g:ctrlp_custom_ignore = '\v[\/]\.git$'

      
        137
        141
         imap <C-p> :CtrlP<CR>

      
        138
        142
         nmap <C-p> :CtrlP<CR>

      
        139
        143
         

      ···
        173
        177
         let g:floaterm_width     = 0.6

      
        174
        178
         let g:floaterm_autoclose = 2

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

      
        176
        
        -imap <A-t> :FloatermNew<CR>

      
        177
        180
         

      
        178
        181
         " == Maping

      
        179
        182
         let mapleader=","

      ···
        207
        210
         noremap <A-9> :tabn 9<CR>

      
        208
        211
         

      
        209
        212
         " Buffer(s)

      
        210
        
        -noremap <C-a> :bnext<CR>

      
        211
        
        -noremap <C-s> :bprev<CR>

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

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

      
        
        215
        +

      
        
        216
        +" Autostart

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

      
M config/picom.conf
···
        49
        49
         log-level = "warn";

      
        50
        50
         wintypes: {

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

      
        52
        
        -  menu          = { fade = true; shadow = false; };

      
        
        52
        +  menu          = { fade = true; shadow = false; opacity = 1; };

      
        53
        53
           popup_menu    = { fade = true; shadow = false; };

      
        54
        54
           dropdown_menu = { fade = true; shadow = false; };

      
        55
        55
           utility       = { fade = true; shadow = false; };

      
M config/polybar/config
···
        1
        1
         [settings]

      
        
        2
        +screenchange-reload = true

      
        2
        3
         pseudo-transparency = true

      
        3
        4
         

      
        4
        5
         [colors]

      
        5
        6
         background = #262A2B

      
        6
        
        -foreground = #ffffff

      
        
        7
        +foreground = #DFDFDF

      
        7
        8
         secondary = #008DCD

      
        8
        
        -alert = #008DCD

      
        
        9
        +alert = #FF6C6B

      
        9
        10
         

      
        10
        11
         [bar/i3bar]

      
        11
        12
         width = 100%

      
        12
        13
         height = 24

      
        13
        
        -

      
        14
        14
         fixed-center = true

      
        15
        15
         wm-restack = i3

      
        16
        16
         background = ${colors.background}

      ···
        20
        20
         font-0 = Iosevka Nerd Font:style=Medium:size=8;3

      
        21
        21
         font-1 = FontAwesome5Free:style=Solid:size=7.5;2.5

      
        22
        22
         font-2 = Weather Icons:size=7;2

      
        23
        
        -

      
        24
        
        -modules-left =  i3

      
        25
        
        -modules-right = keyboard pulseaudio backlight wifi-signal time

      
        
        23
        +modules-left =  i3 pacman-up

      
        
        24
        +modules-right = keyboard pulseaudio backlight wifi-signal time date

      
        26
        25
         tray-position = right

      
        27
        26
         

      
        28
        
        -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

      
        29
        
        -[settings]

      
        30
        
        -screenchange-reload = true

      
        31
        
        -

      
        32
        27
         [module/i3]

      
        33
        28
         type = internal/i3

      
        34
        29
         format = <label-state><label-mode>

      ···
        69
        64
         ws-icon-7 = "8;8 "

      
        70
        65
         ws-icon-8 = "9;9 "

      
        71
        66
         

      
        72
        
        -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

      
        73
        
        -;; INCLUDE MODULES

      
        74
        
        -;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

      
        75
        67
         [module/backlight]

      
        76
        68
         type = internal/xbacklight

      
        77
        69
         format = <ramp> <label>

      
        78
        70
         label = %percentage%%

      
        79
        71
         ramp-0 = 

      
        80
        72
         

      
        81
        
        -

      
        82
        73
         [module/wifi-name]

      
        83
        74
         type = internal/network

      
        84
        75
         interface = wlp3s0

      
        85
        76
         format-connected = <ramp-signal> <label-connected>

      
        86
        77
         label-connected = %essid%

      
        87
        
        -format-disconnected =   No sig

      
        
        78
        +format-disconnected =

      
        88
        79
         ramp-signal-0 = 

      
        89
        
        -interval = 3.0

      
        90
        
        -

      
        
        80
        +interval = 3

      
        91
        81
         

      
        92
        82
         [module/wifi-signal]

      
        93
        83
         type = custom/script

      
        94
        84
         label =  %output:%%

      
        95
        85
         exec = ~/.config/polybar/scripts/wifi-signal.sh

      
        96
        
        -interval = 3.0

      
        97
        
        -

      
        98
        
        -

      
        99
        
        -[module/filesystem]

      
        100
        
        -type = internal/fs

      
        101
        
        -interval = 25

      
        102
        
        -mount-0 = /

      
        103
        
        -mount-1 = /home

      
        104
        
        -label-mounted =  %mountpoint%: %percentage_used%%

      
        105
        
        -label-unmounted = %mountpoint% not mounted

      
        106
        
        -label-unmounted-foreground = ${colors.foreground}

      
        107
        
        -

      
        
        86
        +interval = 3

      
        108
        87
         

      
        109
        88
         [module/pulseaudio]

      
        110
        89
         type = internal/pulseaudio

      
        
        90
        +interval = 2

      
        111
        91
         format-volume = <ramp-volume> <label-volume> 

      
        112
        92
         label-volume = %percentage%%

      
        113
        93
         label-volume-foreground = ${root.foreground}

      
        114
        94
         label-muted = 

      
        115
        
        -

      
        116
        
        -ramp-volume-0 = 

      
        117
        
        -ramp-volume-1 = 

      
        118
        
        -ramp-volume-2 = 

      
        119
        
        -ramp-volume-3 = 

      
        120
        
        -ramp-volume-4 = 

      
        121
        
        -

      
        122
        
        -

      
        123
        
        -[module/cpu]

      
        124
        
        -type = internal/cpu

      
        125
        
        -interval = 2

      
        126
        
        -format-prefix = " "

      
        127
        
        -format-prefix-foreground = ${colors.foreground}

      
        128
        
        -label =  CPU %percentage%% 

      
        129
        
        -

      
        130
        
        -

      
        131
        
        -[module/memory]

      
        132
        
        -type = internal/memory

      
        133
        
        -interval = 2

      
        134
        
        -format-prefix = " "

      
        135
        
        -label =  MEM %percentage_used%%

      
        136
        
        -

      
        
        95
        +ramp-volume-0 = 

      
        137
        96
         

      
        138
        97
         [module/weather]

      
        139
        98
         type = custom/script

      
        140
        99
         exec = python3 ~/.config/polybar/scripts/weather.py

      
        141
        100
         interval = 60

      
        142
        
        -label-font = 1

      
        143
        
        -

      
        144
        101
         

      
        145
        
        -[module/spotify]

      
        146
        
        -type = custom/script

      
        147
        
        -interval = 1

      
        148
        
        -format = <label>

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

      
        150
        
        -format-underline = ${colors.alert}

      
        151
        
        -

      
        152
        
        -[module/updates-pacman]

      
        
        102
        +[module/pacman-up]

      
        153
        103
         type = custom/script

      
        154
        104
         exec = ~/.config/polybar/scripts/updates-pacman-aur.sh

      
        155
        105
         interval = 60

      
        156
        106
         

      
        157
        
        -

      
        158
        107
         [module/keyboard]

      
        159
        108
         type = internal/xkeyboard

      
        160
        
        -label-NAME-maxlen = 10

      
        161
        109
         format-prefix = ""

      
        162
        110
         label-layout =  %layout%

      
        163
        
        -

      
        164
        111
         blacklist-0 = num lock

      
        165
        112
         blacklist-1 = scroll lock

      
        166
        113
         blacklist-2= caps lock

      
        167
        114
         

      
        168
        
        -

      
        169
        
        -[module/microphone]

      
        170
        
        -type = custom/script

      
        171
        
        -label = %output:0:40:...%

      
        172
        
        -exec = ~/.config/polybar/scripts/microphone.sh  

      
        173
        
        -click-left = ~/.config/polybar/scripts/microphone.sh --click

      
        174
        
        -interval = 0

      
        175
        
        -

      
        176
        
        -

      
        177
        
        -[module/sp2]

      
        178
        
        -type = custom/text

      
        179
        
        -content = "┇"

      
        180
        
        -

      
        181
        
        -

      
        182
        115
         [module/date]

      
        183
        116
         type = internal/date

      
        184
        117
         interval = 600

      
        185
        
        -date = %b %e

      
        
        118
        +date = %d.%m.%Y

      
        186
        119
         label =  %date%

      
        187
        120
         

      
        188
        
        -

      
        189
        121
         [module/time]

      
        190
        122
         type = internal/date

      
        191
        
        -interval = 0

      
        192
        123
         time = %H:%M

      
        193
        124
         label =  %time%

      
        194
        
        -

      
        195
        
        -

      
        196
        
        -[module/title]

      
        197
        
        -type = internal/xwindow

      
        198
        
        -label = %title:0:50:...%

      
        199
        
        -label-empty =

      
        200
        
        -label-maxlen = 50

      
        201
        
        -

      
        202
        
        -

      
        203
        
        -[module/clipmenu]

      
        204
        
        -type = custom/text

      
        205
        
        -content = ""

      
        206
        
        -click-left = "CM_LAUNCHER=rofi clipmenu"

      
        207
        
        -interval = 0

      
M config/vifm/vifmrc
···
        45
        45
         fileviewer <text/*> env -uCOLORTERM bat --color always --wrap never --pager never %c -p

      
        46
        46
         

      
        47
        47
         filextype *.pdf zathura %c %i &

      
        
        48
        +fileviewer *.pdf

      
        
        49
        +        \ vifmimg pdfpreview %px %py %pw %ph %c

      
        
        50
        +        \ %pc

      
        
        51
        +        \ vifmimg clear

      
        
        52
        +        " \ pdftotext -nopgbrk %c -

      
        
        53
        +

      
        48
        54
         filetype <audio/*> mocp %c %i &

      
        49
        55
         filetype <video/*> mpv %c %i &

      
        50
        56
         

      
        51
        57
         filextype <image/*> sxiv %c %i &

      
        52
        
        -fileviewer <image/*>

      
        53
        
        -	\ kitty icat --place=%pwx%ph@%pxx%py %c 

      
        54
        
        -	\ %pc

      
        55
        
        -	\ kitty icat --clear

      
        
        58
        +fileviewer *.bmp,*.jpg,*.jpeg,*.png,*.xpm

      
        
        59
        +        \ ~/.config/vifm/vifmimg draw %px %py %pw %ph %c

      
        
        60
        +        \ %pc

      
        
        61
        +        \ ~/.config/vifm/vifmimg clear

      
        56
        62
         

      
        57
        63
         filextype *.py nvim %c %i &

      
        58
        64
         

      
M script/dmenu/dmenu-config-edit.sh
···
        1
        1
         #!/bin/sh

      
        2
        2
         declare options=("i3

      
        3
        
        -berry

      
        4
        3
         qtile

      
        
        4
        +berry

      
        5
        5
         openbox

      
        6
        
        -spectrwm

      
        7
        6
         polybar

      
        8
        7
         picom

      
        9
        8
         dunst

      
        10
        9
         qutebrowser

      
        11
        10
         taskwarrior

      
        12
        11
         tmux

      
        13
        
        -vim

      
        
        12
        +alacritty

      
        
        13
        +kitty

      
        
        14
        +neovim

      
        14
        15
         ranger

      
        15
        
        -term

      
        16
        16
         sh")

      
        17
        17
         

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

      
        19
        19
         case "$choice" in

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

      
        
        21
        +    neovim) choice="$HOME/.config/nvim/init.vim" ;;

      
        
        22
        +    taskwarior) choice="$HOME/.taskrc" ;;

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

      
        
        24
        +    kitty) choice="$HOME/.config/kitty/kitty.conf" ;;

      
        
        25
        +    alacritty) choice="$hoME/.config/alacritty.yml" ;;

      
        
        26
        +	polybar) choice="$HOME/.config/polybar/config" ;;

      
        
        27
        +    tmux) choice="$HOME/.tmux.conf" ;;

      
        20
        28
         	i3) choice="$HOME/.config/i3/config" ;;

      
        21
        29
             qtile) 

      
        22
        30
                 opt=$(echo -e "config.py\nautostart.sh"|dmenu -p 'Qtile' $@)

      ···
        42
        50
                     "reload") openbox --reconfigure && pkill kitty ;;

      
        43
        51
                 esac

      
        44
        52
             ;;

      
        45
        
        -    spectrwm)

      
        46
        
        -        why=$(echo -e "spectrwm.conf\nsectrwm-bar.sh"|dmenu -p Spectrwm $@)

      
        47
        
        -        case "$why" in

      
        48
        
        -            "spectrwm.conf") choice="$HOME/.spectrwm.conf" ;;

      
        49
        
        -            "spectrwm-bar.sh") choice="$HOME/.script/spectrwm-bar.sh" ;;

      
        50
        
        -        esac

      
        51
        
        -    ;;

      
        52
        
        -	picom) choice="$HOME/.config/picom.conf" ;;

      
        53
        
        -	polybar) choice="$HOME/.config/polybar/config" ;;

      
        54
        53
             qutebrowser)

      
        55
        54
                 why=$(echo -e "config.py\nquickmarks"|dmenu -p 'Qutebrowser' $@)

      
        56
        55
                 case "$why" in

      ···
        65
        64
                     "rifle.conf") choice="$HOME/.config/ranger/rifle.conf" ;;

      
        66
        65
                 esac

      
        67
        66
             ;;

      
        68
        
        -	vim) 

      
        69
        
        -        why=$(echo -e "nvim\nvim"|dmenu -p 'Vim' $@)

      
        70
        
        -        case "$why" in

      
        71
        
        -            vim) choice="$HOME/.vimrc" ;;

      
        72
        
        -            nvim) choice="$HOME/.config/nvim/init.vim" ;;

      
        73
        
        -        esac

      
        74
        
        -    ;;

      
        75
        
        -    tmux) choice="$HOME/.tmux.conf" ;;

      
        76
        
        -    term)

      
        77
        
        -        why=$(echo -e "kitty\nalacritty"|dmenu -p Term $@)

      
        78
        
        -        case "$why" in

      
        79
        
        -            kitty) choice="$HOME/.config/kitty/kitty.conf" ;;

      
        80
        
        -            alacritty) choice="$hoME/.config/alacritty/alacritty.yml" ;;

      
        81
        
        -        esac

      
        82
        
        -    ;;

      
        83
        
        -	dunst) choice="$HOME/.config/dunst/dunstrc" ;;

      
        84
        67
             sh)

      
        85
        68
                 why=$(echo -e "zsh\nfish\nbash"|dmenu -p "Shell" $@)

      
        86
        69
                 case "$why" in

      ···
        89
        72
                     bash) choice="$hoME/.bashrc"

      
        90
        73
                 esac

      
        91
        74
             ;;

      
        92
        
        -    taskwarior) choice="$HOME/.taskrc" ;;

      
        93
        75
         	*) exit 1 ;;

      
        94
        76
         esac

      
        95
        
        -kitty -e nvim "$choice"

      
        
        77
        +alacritty -e nvim "$choice"

      
D spectrwm.conf
···
        1
        
        -modkey = Mod4

      
        2
        
        -

      
        3
        
        -# Autostart

      
        4
        
        -autorun = ws[1]:setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps"

      
        5
        
        -autorun = ws[1]:nitrogen --restore

      
        6
        
        -autorun = ws[1]:picom -b

      
        7
        
        -

      
        8
        
        -# Program 

      
        9
        
        -program[term] = kitty

      
        10
        
        -program[browser] = firefox

      
        11
        
        -program[dmenu] = dmenu_run -h 18 -p Run

      
        12
        
        -program[menu] = j4-dmenu-desktop --dmenu="dmenu -h 18 -p Run"

      
        13
        
        -program[edit-config] = ~/.script/dmenu/dmenu-config-edit.sh -h 18

      
        14
        
        -program[power-menu] = ~/.script/dmenu/dmenu-power.sh -h 18

      
        15
        
        -program[passmenu] = passmenu -h 18 -p Password

      
        16
        
        -program[filemanager] = pcmanfm

      
        17
        
        -program[codeeditor] = gnvim

      
        18
        
        -

      
        19
        
        -# User keybindings

      
        20
        
        -bind[term] = MOD+Return

      
        21
        
        -bind[menu] = MOD+Shift+Return

      
        22
        
        -bind[dmenu] = MOD+Shift+apostrophe

      
        23
        
        -bind[browser] = MOD+F2

      
        24
        
        -bind[codeeditor] = MOD+F3

      
        25
        
        -bind[filemanager] = MOD+F4

      
        26
        
        -bind[edit-config] = MOD+Control+U

      
        27
        
        -bind[passmenu] = MOD+Control+i

      
        28
        
        -bind[power-menu] = MOD+Escape

      
        29
        
        -

      
        30
        
        -

      
        31
        
        -# Volume keys

      
        32
        
        -program[volumeplus] = pulseaudio-ctl up

      
        33
        
        -program[volumeminu] = pulseaudio-ctl down

      
        34
        
        -program[volumemute] = pulseaudio-ctl mute

      
        35
        
        -bind[volumeplus] = MOD+equal

      
        36
        
        -bind[volumeminu] = MOD+minus

      
        37
        
        -bind[volumemute] = MOD+Shift+minus

      
        38
        
        -

      
        39
        
        -# Workspace

      
        40
        
        -workspace_limit = 9

      
        41
        
        -focus_mode = follow

      
        42
        
        -focus_close	= last

      
        43
        
        -focus_close_wrap = 1

      
        44
        
        -focus_default = first

      
        45
        
        -spawn_position = next

      
        46
        
        -workspace_clamp = 0

      
        47
        
        -warp_focus = 1

      
        48
        
        -warp_pointer = 1

      
        49
        
        -

      
        50
        
        -name = ws[1]:term

      
        51
        
        -name = ws[2]:www

      
        52
        
        -name = ws[3]:dev

      
        53
        
        -name = ws[4]:sys

      
        54
        
        -name = ws[5]:doc

      
        55
        
        -name = ws[6]:chat

      
        56
        
        -name = ws[7]:pass

      
        57
        
        -name = ws[8]:mus

      
        58
        
        -name = ws[9]:flo

      
        59
        
        -

      
        60
        
        -# Window Decoration

      
        61
        
        -border_width = 2

      
        62
        
        -color_focus = rgb:00/8D/CD

      
        63
        
        -color_focus_maximized = rgb:00/8D/CD

      
        64
        
        -color_unfocus = rgb:CE/D4/DA

      
        65
        
        -color_unfocus_maximized	= rgb:CE/D4/DA

      
        66
        
        -region_padding = 0 

      
        67
        
        -tile_gap = 0

      
        68
        
        -

      
        69
        
        -# Bar Settings

      
        70
        
        -bar_action              = ~/.script/spectrwm-bar.sh

      
        71
        
        -bar_delay               = 0

      
        72
        
        -bar_action_expand       = 1

      
        73
        
        -bar_enabled	        	= 1

      
        74
        
        -bar_border_width	    = 0

      
        75
        
        -bar_border[1]	    	= rgb:28/2A/36

      
        76
        
        -bar_border_unfocus[1]	= rgb:CE/D4/DA

      
        77
        
        -bar_color[1]	    	= rgb:26/2A/2B

      
        78
        
        -bar_color_selected[1]	= rgb:00/80/80

      
        79
        
        -bar_font_color[1]   	= rgb:FF/FF/FF, rgb:CE/D4/DA, rgb:C6/78/DD, rgb:FF/6C/6B, rgb:EC/BE/7B, rgb:51/AF/EF

      
        80
        
        -bar_font_color_selected	= black

      
        81
        
        -bar_font	        	= Jatbrains Mono:size=12, FontAwesome

      
        82
        
        -bar_font_pua            = FontAwesome

      
        83
        
        -bar_format	        	= +|L+1<+I +D +@fg=1;+W +|R+A+1<+@fg=5;  %d.%m.%y   %R

      
        84
        
        -workspace_indicator 	= listactive,markcurrent

      
        85
        
        -bar_justify	        	= center

      
        86
        
        -stack_enabled	    	= 1

      
        87
        
        -iconic_enabled      	= 1

      
        88
        
        -window_class_enabled	= 1

      
        89
        
        -window_instance_enabled	= 1

      
        90
        
        -window_name_enabled 	= 1

      
        91
        
        -verbose_layout	    	= 1

      
        92
        
        -urgent_enabled	    	= 1

      
        93
        
        -

      
        94
        
        -# Window keys

      
        95
        
        -bind[width_grow]	= MOD+Control+l

      
        96
        
        -bind[width_shrink]	= MOD+Control+h

      
        97
        
        -bind[height_grow]	= MOD+Control+j

      
        98
        
        -bind[height_shrink]	= MOD+Control+k

      
        99
        
        -bind[master_grow]	= MOD+Control+l

      
        100
        
        -bind[master_shrink]	= MOD+Control+h

      
        101
        
        -#bind[swap_next]		= MOD+Shift+j

      
        102
        
        -#bind[swap_prev]		= MOD+Shift+k

      
        103
        
        -

      
        104
        
        -# WM keys

      
        105
        
        -bind[wind_kill]     = MOD+q

      
        106
        
        -bind[restart]       = MOD+Control+r

      
        107
        
        -bind[cycle_layout]	= MOD+space

      
        108
        
        -bind[float_toggle]	= MOD+t

      
        109
        
        -bind[focus_main]	= MOD+m

      
        110
        
        -bind[focus_next]	= MOD+j

      
        111
        
        -bind[focus_next]	= MOD+Tab

      
        112
        
        -bind[focus_prev]	= MOD+k

      
        113
        
        -bind[focus_urgent]	= MOD+u

      
        114
        
        -bind[iconify]		= MOD+w

      
        115
        
        -bind[initscr]		= MOD+Shift+i

      
        116
        
        -bind[master_add]	= MOD+Shift+comma

      
        117
        
        -bind[master_del]	= MOD+Shift+period

      
        118
        
        -bind[ws_1]		    = MOD+1

      
        119
        
        -bind[ws_2]		    = MOD+2

      
        120
        
        -bind[ws_3]		    = MOD+3

      
        121
        
        -bind[ws_4]		    = MOD+4

      
        122
        
        -bind[ws_5]		    = MOD+5

      
        123
        
        -bind[ws_6]	    	= MOD+6

      
        124
        
        -bind[ws_7]	    	= MOD+7

      
        125
        
        -bind[ws_8]  		= MOD+8

      
        126
        
        -bind[ws_9]		    = MOD+9

      
        127
        
        -bind[mvws_1]		= MOD+Shift+1

      
        128
        
        -bind[mvws_2]		= MOD+Shift+2

      
        129
        
        -bind[mvws_3]		= MOD+Shift+3

      
        130
        
        -bind[mvws_4]		= MOD+Shift+4

      
        131
        
        -bind[mvws_5]		= MOD+Shift+5

      
        132
        
        -bind[mvws_6]		= MOD+Shift+6

      
        133
        
        -bind[mvws_7]		= MOD+Shift+7

      
        134
        
        -bind[mvws_8]		= MOD+Shift+8

      
        135
        
        -bind[mvws_9]		= MOD+Shift+9

      
        136
        
        -

      
        137
        
        -# Unbind

      
        138
        
        -bind[] = MOD+x

      
        139
        
        -bind[] = MOD+p

      
        140
        
        -bind[] = MOD+w

      
        141
        
        -bind[] = MOD+Down

      
        142
        
        -bind[] = MOD+Left

      
        143
        
        -bind[] = MOD+Right

      
        144
        
        -bind[] = MOD+Up

      
        145
        
        -bind[] = MOD+Shift+Right

      
        146
        
        -bind[] = MOD+Shift+Left

      
        147
        
        -bind[] = MOD+Shift+Down

      
        148
        
        -bind[] = MOD+Shift+Up

      
        149
        
        -bind[] = MOD+v

      
        150
        
        -bind[] = MOD+Shift+v

      
        151
        
        -bind[] = MOD+Shift+w

      
        152
        
        -bind[] = MOD+Shift+backslash

      
        153
        
        -bind[] = MOD+s

      
        154
        
        -bind[] = MOD+Shift+s

      
        155
        
        -bind[] = MOD+f

      
        156
        
        -bind[] = MOD+Shift+period

      
        157
        
        -bind[] = MOD+Shift+End

      
        158
        
        -bind[] = MOD+Shift+Down

      
        159
        
        -bind[] = MOD+Shift+Next

      
        160
        
        -bind[] = MOD+Shift+Left

      
        161
        
        -bind[] = MOD+Shift+Begin

      
        162
        
        -bind[] = MOD+Shift+Right

      
        163
        
        -bind[] = MOD+Shift+Home

      
        164
        
        -bind[] = MOD+Shift+Up

      
        165
        
        -bind[] = MOD+Shift+Prior

      
        166
        
        -bind[] = MOD+Shift+j

      
        167
        
        -bind[] = MOD+Shift+l

      
        168
        
        -bind[] = MOD+Shift+h

      
        169
        
        -bind[] = MOD+Shift+k

      
        170
        
        -bind[] = MOD+e

      
M zshrc
···
        17
        17
         export UPDATE_ZSH_DAYS=7        # Change how often to auto-update.

      
        18
        18
         export LANG=en_US.UTF-8         # Set locale

      
        19
        19
         

      
        20
        
        -plugins=(pip python pass golang sudo heroku git taskwarrior encode64)

      
        
        20
        +plugins=(pip python golang pass sudo heroku git taskwarrior encode64)

      
        21
        21
         source $ZSH/oh-my-zsh.sh

      
        22
        22
         

      
        23
        23
         

      
        24
        24
         ### Variables ###

      
        25
        25
         export EDITOR="nvim"

      
        26
        26
         export VISUAL="nvim"

      
        
        27
        +export GOPATH="$HOME/.go"

      
        27
        28
         

      
        28
        29
         ### Function ###

      
        29
        30
         function bgcolor {

      ···
        34
        35
         ### Aliases ###

      
        35
        36
         alias cls="clear"

      
        36
        37
         alias :q="exit"

      
        
        38
        +alias :q!="exit"

      
        37
        39
         alias q="exit"

      
        38
        40
         alias :qw="exit"

      
        39
        41
         alias tmux="tmux -2"

      
        40
        42
         alias vim="nvim"

      
        41
        43
         alias mkdir="mkdir -p"

      
        
        44
        +alias mkd="mkdir"

      
        42
        45
         alias sl="ls"

      
        43
        46
         alias cp="cp -r"

      
        44
        47
         alias du="du -sh"

      
        45
        48
         alias df="df -h"

      
        
        49
        +alias lns="ln -s"

      
        
        50
        +alias uln="unlink"

      
        
        51
        +alias ipython="ipython --no-banner"

      
        46
        52
         alias icat="kitty +kitten icat"

      
        47
        53
         alias ..="cd .."

      
        48
        54
         alias ...="cd ../.."

      ···
        50
        56
         alias .4="cd ../../../.."

      
        51
        57
         alias .5="cd ../../../../.."

      
        52
        58
         alias .6="cd ../../../../../.."

      
        53
        
        -

      
        54
        59
         eval $(thefuck --alias)