7 files changed,
174 insertions(+),
46 deletions(-)
Author:
Smirnov Olexandr
ss2316544@gmail.com
Committed at:
2020-12-13 14:05:56 +0200
Parent:
917b691
M
config/kitty/kitty.conf
··· 2 2 clear_all_shortcuts yes 3 3 4 4 # Font 5 -font_family Jetbrains Mono 6 -bold_font auto 7 -italic_font auto 8 -bold_italic_font auto 9 -font_size 12.0 5 +font_family Jetbrains Mono 6 +bold_font auto 7 +italic_font auto 8 +bold_italic_font auto 9 +font_size 12.0 10 10 adjust_line_height 0 11 11 adjust_column_width 0 12 -disable_ligatures never 13 -font_features none 14 -box_drawing_scale 0.001, 1, 1.5, 2 12 +disable_ligatures never 13 +font_features none 14 +box_drawing_scale 0.001, 1, 1.5, 2 15 15 16 16 # Cursor 17 -cursor #dfdfdf 18 -cursor_text_color #7d7d7d 19 -cursor_shape beam 20 -cursor_beam_thickness 1.5 21 -cursor_underline_thickness 2.0 22 -cursor_blink_interval 0 23 -cursor_stop_blinking_after 15.0 17 +cursor #dfdfdf 18 +cursor_text_color #7d7d7d 19 +cursor_shape beam 20 +cursor_beam_thickness 1.5 21 +cursor_underline_thickness 2.0 22 +cursor_blink_interval 0 23 +cursor_stop_blinking_after 15.0 24 24 25 25 # Bell 26 -enable_audio_bell no 27 -visual_bell_duration 0.0 28 -window_alert_on_bell no 29 -command_on_bell none 30 -bell_on_tab no 26 +enable_audio_bell no 27 +visual_bell_duration 0.0 28 +window_alert_on_bell no 29 +command_on_bell none 30 +bell_on_tab no 31 31 32 32 # Scrollback (History) 33 33 scrollback_lines 500 ··· 70 70 map shift+insert paste_from_selection 71 71 map ctrl+shift+u kitten unicode_input 72 72 map shift+up scroll_line_up 73 +map alt+k scroll_line_up 73 74 map shift+down scroll_line_down 75 +map alt+j scroll_line_down 74 76 map shift+page_up scroll_page_up 75 77 map shift+page_down scroll_page_down 76 78 map shift+home scroll_home
M
config/qtile/autostart.sh
··· 1 1 #!/bin/sh 2 -setxkbmap "us,ru,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" 2 +setxkbmap "us,ua" ",winkeys" "grp:alt_shift_toggle" -option "ctrl:nocaps" 3 3 /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 & 4 4 nitrogen --restore & 5 5 picom -b &
M
config/qtile/config.py
··· 179 179 ] 180 180 181 181 # Workspaces name, keys 182 -group_names = [("term", {"layout": "monadtall"}), 182 +group_names = [("term", {"layout": "columns"}), 183 183 ("www", {"layout": "max"}), 184 - ("dev", {"layout": "monadtall"}), 185 - ("sys", {"layout": "monadtall"}), 186 - ("doc", {"layout": "monadtall"}), 187 - ("chat", {"layout": "monadtall"}), 188 - ("pass", {"layout": "monadtall"}), 184 + ("dev", {"layout": "columns"}), 185 + ("sys", {"layout": "columns"}), 186 + ("doc", {"layout": "columns"}), 187 + ("chat", {"layout": "columns"}), 188 + ("pass", {"layout": "columns"}), 189 189 ("mus", {"layout": "max"}), 190 - ("flo", {"layout": "monadtall"}) 190 + ("flo", {"layout": "floating"}) 191 191 ] 192 192 groups = [Group(name, **kwargs) for name, kwargs in group_names] 193 193 for i, (name, kwargs) in enumerate(group_names, 1):
M
config/ranger/rc.conf
··· 46 46 set update_tmux_title false 47 47 set shorten_title 3 48 48 set hostname_in_titlebar false 49 -set tilde_in_titlebar trues 49 +set tilde_in_titlebar true 50 50 51 51 ### History 52 52 set max_history_size 20 ··· 94 94 # "a" key 95 95 map a rename_append 96 96 map A eval fm.open_console('rename ' + fm.thisfile.relative_path.replace("%", "%%")) 97 -map as shell zip -rf 'file.zip' %s 98 -map ad shell tar -czvf file.tar.gz %s 99 -map az extract 100 -map ax extract_to_dirs 101 -map ac compress 97 + 98 +# "s" key 99 +map sa shell zip -r file.zip %s 100 +map ss shell tar -czvf file.tar.gz %s 101 +map sd shell 7z a file.7z %s 102 +map se shell extract %s 102 103 103 104 # "q"/quit keys 104 105 map Q quitall ··· 138 139 map ? help 139 140 map W display_log 140 141 map w taskview_open 141 -map S shell $SHELL 142 142 143 143 map : console 144 -map ; console 145 144 map ! console shell%space 146 -map @ console -p6 shell %%s 147 -map # console shell -p%space 148 -map s console shell%space 145 +map @ shell $SHELL 149 146 map r chain draw_possible_programs; console open_with%space 150 147 map f console find%space 151 148 map cd console cd%space ··· 203 200 204 201 # Go keys 205 202 map gh cd ~ 206 -map gd cd ~/Code 203 +map gc cd ~/Code 207 204 map gd cd ~/Documents 208 205 map gb cd ~/Documents/Books 209 -map dl cd ~/.dotfiles 210 - 211 - 212 - 206 +map gm cd ~/.dotfiles 207 +map gn cd ~/bin 208 +map gz cd ~/.script 213 209 214 210 # File keys 215 211 map dD shell mv %s /home/${USER}/.local/share/Trash/files/ ··· 229 225 map pd console paste dest= 230 226 map p`<any> paste dest=%any_path 231 227 map p'<any> paste dest=%any_path 232 - 233 - 234 228 map yy copy 235 229 map uy uncut 236 230 map ya copy mode=add 237 231 map yr copy mode=remove 238 232 map yt copy mode=toggle 233 + 239 234 240 235 map dgg eval fm.cut(dirarg=dict(to=0), narg=quantifier) 241 236 map dG eval fm.cut(dirarg=dict(to=-1), narg=quantifier)
A
config/vifm/colors/nten16.vifm
··· 1 +highlight clear 2 + 3 +highlight Win cterm=none ctermfg=default ctermbg=default 4 +highlight Directory cterm=bold ctermfg=blue ctermbg=default 5 +highlight Link cterm=bold ctermfg=cyan ctermbg=default 6 +highlight BrokenLink cterm=bold ctermfg=red ctermbg=default 7 +highlight Socket cterm=bold ctermfg=magenta ctermbg=default 8 +highlight Device cterm=bold ctermfg=red ctermbg=default 9 +highlight Fifo cterm=bold ctermfg=cyan ctermbg=default 10 +highlight Executable cterm=bold ctermfg=green ctermbg=default 11 +highlight Selected cterm=bold ctermfg=magenta ctermbg=default 12 +highlight CurrLine cterm=bold,reverse ctermfg=4 ctermbg=black 13 +highlight TopLine cterm=none ctermfg=white ctermbg=32 14 +highlight TopLineSel cterm=bold ctermfg=white ctermbg=default 15 +highlight StatusLine cterm=bold ctermfg=white ctermbg=default 16 +highlight WildMenu cterm=underline,reverse ctermfg=white ctermbg=black 17 +highlight CmdLine cterm=none ctermfg=white ctermbg=default 18 +highlight ErrorMsg cterm=none ctermfg=red ctermbg=default 19 +highlight Border cterm=none ctermfg=default ctermbg=default 20 +highlight JobLine cterm=bold,reverse ctermfg=black ctermbg=white 21 +highlight SuggestBox cterm=bold ctermfg=default ctermbg=default 22 +highlight CmpMismatch cterm=bold ctermfg=white ctermbg=red 23 +highlight AuxWin cterm=bold,underline,reverse,standout,italic ctermfg=default ctermbg=default 24 +highlight TabLine cterm=none ctermfg=white ctermbg=default 25 +highlight TabLineSel cterm=bold,reverse ctermfg=default ctermbg=default
A
config/vifm/vifmrc
··· 1 +colorscheme nten16 2 +set vicmd=nvim 3 +set syscalls 4 +view 5 +set history=100 6 +set nofollowlinks 7 +set sortnumbers 8 +set undolevels=100 9 +set norunexec 10 +set timefmt=%m/%d\ %H:%M 11 +set wildmenu 12 +set wildstyle=popup 13 +set suggestoptions=normal,visual,view,otherpane,keys,marks,registers 14 +set ignorecase 15 +set smartcase 16 +set nohlsearch 17 +set incsearch 18 +set scrolloff=4 19 +set trashdir=$HOME/.local/share/Trash/files 20 +set vifminfo=dhistory,chistory,state,shistory,phistory,fhistory,dirstack,registers,bookmarks,bmarks 21 + 22 +" === commands 23 + 24 +command! zip zip -r %f.zip %f 25 +command! targz tar -czvf %f.tar.gz %f 26 +command! vgrep nvim "+grep %a" 27 +set rulerformat= 28 + 29 +" === files 30 + 31 +filetype *.csv,*.xlsx libreoffice %c %i 32 +fileviewer *.csv sed "s/,,,,/,,-,,/g;s/,,/ /g" %c | column -t | sed "s/ - / /g" | cut -c -%pw 33 + 34 +fileviewer *.html w3m -dump %c 35 +filextype *.html,*.htm qutebrowser %f 2>/dev/null & 36 + 37 +filetype <text/*> nvim 38 +fileviewer <text/*> env -uCOLORTERM bat --color always --wrap never --pager never %c -p 39 + 40 +filextype *.pdf zathura %c %i & 41 +fileviewer *.pdf 42 + \ vifmimg pdf %px %py %pw %ph %c 43 + \ %pc 44 + \ vifmimg clear 45 + 46 +filetype <audio/*> mocp %c %i & 47 +fileviewer <audio/*> 48 + \ vifmimg audio %px %py %pw %ph %c 49 + \ %pc 50 + \ vifmimg clear 51 + 52 +filetype <video/*> mpv %c %i & 53 +fileviewer <video/*> 54 + \ vifmimg video %px %py %pw %ph %c 55 + \ %pc 56 + \ vifmimg clear 57 + 58 +filextype <image/*> sxiv %c %i & 59 +fileviewer <image/*> 60 + \ kitty icat --place=%pwx%ph@%pxx%py %c 61 + \ %pc 62 + \ kitty icat --clear 63 + 64 +filextype *.py nvim %c %i & 65 + 66 +fileviewer *.zip,*.jar zip -sf %c 67 +fileviewer *.tgz,*.tar.gz tar -tzf %c 68 +fileviewer *.tar tar -tf %c 69 +fileviewer *.rar unrar v %c 70 +fileviewer *.7z 7z l %c 71 + 72 +fileviewer */ ls --color --group-directories-first 73 +fileviewer .*/ ls --color --group-directories-first 74 + 75 +filetype * xdg-open %c 76 +fileviewer * file -b %c 77 + 78 +" === Key maps 79 +nmap q ZQ 80 +nnoremap gg ggj 81 +nnoremap ! :shell<cr> 82 +nnoremap w :view<cr> 83 +nnoremap S :sort<cr> 84 +nnoremap a cw 85 + 86 +" go keys 87 +nnoremap gh :cd ~<cr> 88 +nnoremap gc :cd ~/Code<cr> 89 +nnoremap gd :cd ~/Documents<cr> 90 +nnoremap gb :cd ~/Documents/Books<cr> 91 +nnoremap gm :cd ~/.dotfiles<cr> 92 +nnoremap gn :cd ~/bin<cr> 93 +nnoremap gz :cd ~/.script<cr> 94 + 95 +" extract 96 +nnoremap se :!$HOME/bin/extract %f &<cr> 97 + 98 +" === file icons 99 +set classify=' :dir:/, :exe:, :reg:, :link:' 100 +set classify+=' ::../::, ::*.sh::, ::*.[hc]pp::, ::*.[hc]::, ::/^copying|license$/::, ::.git/,,*.git/::, ::*.epub,,*.fb2,,*.djvu::, ::*.pdf::, ::*.htm,,*.html,,**.[sx]html,,*.xml::' 101 +set classify+=' ::*.7z,,*.ace,,*.arj,,*.bz2,,*.cpio,,*.deb,,*.dz,,*.gz,,*.jar,,*.lzh,,*.lzma,,*.rar,,*.rpm,,*.rz,,*.tar,,*.taz,,*.tb2,,*.tbz,,*.tbz2,,*.tgz,,*.tlz,,*.trz,,*.txz,,*.tz,,*.tz2,,*.xz,,*.z,,*.zip,,*.zoo::' 102 +set classify+=' ::*.bmp,,*.gif,,*.jpeg,,*.jpg,,*.ico,,*.png,,*.ppm,,*.svg,,*.svgz,,*.tga,,*.tif,,*.tiff,,*.xbm,,*.xcf,,*.xpm,,*.xspf,,*.xwd::' 103 +set classify+=' ::*.aac,,*.anx,,*.asf,,*.au,,*.axa,,*.flac,,*.m2a,,*.m4a,,*.mid,,*.midi,,*.mp3,,*.mpc,,*.oga,,*.ogg,,*.ogx,,*.ra,,*.ram,,*.rm,,*.spx,,*.wav,,*.wma,,*.ac3::' 104 +set classify+=' ::*.avi,,*.ts,,*.axv,,*.divx,,*.m2v,,*.m4p,,*.m4v,,.mka,,*.mkv,,*.mov,,*.mp4,,*.flv,,*.mp4v,,*.mpeg,,*.mpg,,*.nuv,,*.ogv,,*.pbm,,*.pgm,,*.qt,,*.vob,,*.wmv,,*.xvid::' 105 +set classify+=' ::*.doc,,*.docx::, ::*.xls,,*.xls[mx]::, ::*.pptx,,*.ppt::'