Update stuff

This commit is contained in:
Sergey 2022-06-06 23:38:10 +04:00
parent 3cd7d3e61d
commit b5bd5b8e97
18 changed files with 243 additions and 144 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
.notion/*.bkp
.notion/*session*
.notion/log.txt
mozilla/firefox/profile/userjs_backups/

View File

@ -1,4 +1,4 @@
Xft*dpi: 96
Xft*dpi: 120
Xft*antialias: true
Xft.hinting: true
Xft.hintstyle: hintslight

View File

@ -1,4 +1,4 @@
#? Config file for btop v. 1.2.2
#? Config file for btop v. 1.2.6
#* Name of a btop++/bpytop/bashtop formatted ".theme" file, "Default" and "TTY" for builtin themes.
#* Themes should be placed in "../share/btop/themes" relative to binary or "$HOME/.config/btop/themes"
@ -20,7 +20,7 @@ force_tty = False
#* Example: "cpu:0:default,mem:0:tty,proc:1:default cpu:0:braille,proc:0:tty"
presets = "cpu:1:default,proc:0:default cpu:0:default,mem:0:default,net:0:default cpu:0:block,net:0:tty"
#* Set to True to enable "h,j,k,l" keys for directional control in lists.
#* Set to True to enable "h,j,k,l,g,G" keys for directional control in lists.
#* Conflicting keys for h:"help" and k:"kill" is accessible while holding shift.
vim_keys = True
@ -47,20 +47,20 @@ graph_symbol_net = "default"
graph_symbol_proc = "default"
#* Manually set which boxes to show. Available values are "cpu mem net proc", separate values with whitespace.
shown_boxes = "mem net proc cpu"
shown_boxes = "mem cpu net proc"
#* Update time in milliseconds, recommended 2000 ms or above for better sample times for graphs.
update_ms = 2000
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu responsive",
#* "cpu lazy" sorts top process over time (easier to follow), "cpu responsive" updates top process directly.
proc_sorting = "cpu direct"
#* Processes sorting, "pid" "program" "arguments" "threads" "user" "memory" "cpu lazy" "cpu direct",
#* "cpu lazy" sorts top process over time (easier to follow), "cpu direct" updates top process directly.
proc_sorting = "command"
#* Reverse sorting order, True or False.
proc_reversed = False
#* Show processes as a tree.
proc_tree = False
proc_tree = True
#* Use the cpu graph colors in the process list.
proc_colors = True

View File

@ -3,6 +3,11 @@ ignore private-etc
noblacklist ${HOME}/bin/preview-html
noblacklist ${HOME}/.mbsyncrc
noblacklist ${HOME}/.password-store
noblacklist ${HOME}/.msmtprc
noblacklist ${HOME}/.config/msmtp
noblacklist ${HOME}/.config/nvim
noblacklist /usr/share/nvim
noblacklist ${HOME}/.local/share/nvim/
include /etc/firejail/neomutt.profile
@ -12,3 +17,8 @@ include whitelist-dotfiles-private.inc
whitelist ${HOME}/bin/preview-html
whitelist ${HOME}/.mbsyncrc
whitelist ${HOME}/.password-store
whitelist ${HOME}/.msmtprc
whitelist ${HOME}/.config/msmtp
whitelist ${HOME}/.config/nvim
whitelist /usr/share/nvim
whitelist ${HOME}/.local/share/nvim/

View File

@ -9,7 +9,7 @@ SETUVAR FZF_TMUX_HEIGHT:40\x25
SETUVAR __fish_init_2_39_8:\x1d
SETUVAR __fish_init_2_3_0:\x1d
SETUVAR __fish_init_3_x:\x1d
SETUVAR __fish_initialized:3100
SETUVAR __fish_initialized:3400
SETUVAR _fisher_edc_2F_bass_files:/home/krsh/\x2econfig/fish/functions/__bass\x2epy\x1e/home/krsh/\x2econfig/fish/functions/bass\x2efish
SETUVAR _fisher_franciscolourenco_2F_done_files:/home/krsh/\x2econfig/fish/conf\x2ed/done\x2efish
SETUVAR _fisher_jethrokuan_2F_fzf_files:/home/krsh/\x2econfig/fish/functions/__fzf_cd\x2efish\x1e/home/krsh/\x2econfig/fish/functions/__fzf_complete\x2efish\x1e/home/krsh/\x2econfig/fish/functions/__fzf_complete_preview\x2efish\x1e/home/krsh/\x2econfig/fish/functions/__fzf_find_file\x2efish\x1e/home/krsh/\x2econfig/fish/functions/__fzf_get_dir\x2efish\x1e/home/krsh/\x2econfig/fish/functions/__fzf_open\x2efish\x1e/home/krsh/\x2econfig/fish/functions/__fzf_parse_commandline\x2efish\x1e/home/krsh/\x2econfig/fish/functions/__fzf_reverse_isearch\x2efish\x1e/home/krsh/\x2econfig/fish/functions/__fzfcmd\x2efish\x1e/home/krsh/\x2econfig/fish/conf\x2ed/fzf\x2efish
@ -45,6 +45,7 @@ SETUVAR fish_pager_color_completion:normal
SETUVAR fish_pager_color_description:B3A06D\x1eyellow
SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline
SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan
SETUVAR fish_pager_color_selected_background:\x2dr
SETUVAR --export fish_user_paths:/home/krsh/\x2erbenv/bin
SETUVAR grc_plugin_execs:cat\x1ecvs\x1edf\x1ediff\x1edig\x1egcc\x1eg\x2b\x2b\x1eifconfig\x1emake\x1emount\x1emtr\x1enetstat\x1eping\x1eps\x1etail\x1etraceroute\x1ewdiff\x1eblkid\x1edu\x1ednf\x1edocker\x1edocker\x2dcompose\x1edocker\x2dmachine\x1eenv\x1eid\x1eip\x1eiostat\x1ejournalctl\x1ekubectl\x1elast\x1elsattr\x1elsblk\x1elspci\x1elsmod\x1elsof\x1egetfacl\x1egetsebool\x1eulimit\x1euptime\x1enmap\x1efdisk\x1efindmnt\x1efree\x1esemanage\x1esar\x1ess\x1esysctl\x1esystemctl\x1estat\x1eshowmount\x1etcpdump\x1etune2fs\x1evmstat\x1ew\x1ewho\x1esockstat
SETUVAR pure_version:2\x2e1\x2e8

View File

@ -1,17 +0,0 @@
function _rb_prompt
# rbenv local > /dev/null 2>&1 && echo " ["(rbenv local | awk '{print $1}')"]"
echo ''
end
function fish_right_prompt
set -l normal (set_color normal)
set -l cyan (set_color cyan)
set -l grey (set_color 3C3836)
set -l date (date "+%H:%M")
set -l date "$grey$date$normal"
set -l ruby_version $cyan(_rb_prompt)
set -l ruby_version "$ruby_version$normal"
echo -s $date$ruby_version
end

View File

@ -5,7 +5,7 @@ config_reader_min_version=2
fields=0 48 17 18 38 39 40 2 46 47 49 1
sort_key=46
sort_direction=-1
tree_sort_key=46
tree_sort_key=47
tree_sort_direction=-1
hide_kernel_threads=0
hide_userland_threads=0

View File

@ -16,6 +16,32 @@ set $mod Mod4
# font pango:Fixedsys Excelsior 10
font pango:DejaVu Sans Condensed Bold 8
################################
#### Gruvbox Material Light ####
################################
# set $bg #fbf1c7
# set $fg #654735
# set $red #c14a4a
# set $orange #c35e0a
# set $green #6c782e
# set $blue #45707a
# set $purple #945e80
# set $aqua #4c7a5d
# set $darkgray #fbf1c7
###############################
#### Gruvbox Material Dark ####
###############################
set $bg #282828
set $fg #d4be98
set $red #ea6962
set $orange #e78a4e
set $green #a9b665
set $blue #7daea3
set $purple #d3869b
set $aqua #89b482
set $darkgray #282828
# This font is widely installed, provides lots of unicode glyphs, right-to-left
# text rendering and scalability on retina/hidpi displays (thanks to pango).
#font pango:DejaVu Sans Mono 8
@ -39,12 +65,11 @@ workspace_auto_back_and_forth no
workspace_layout default
for_window [class="(?i)firefox"] move container to workspace $ws1
for_window [class="(?i)vivaldi"] move container to workspace $ws1
for_window [class="(?i)telegram"] move container to workspace $ws2
for_window [class="mpv"] floating enable border none
for_window [class="(?i)zooout"] floating enable
for_window [class="(?i)netsurf"] floating enable
for_window [class="(?i)proton"] floating enable border none
for_window [class="(?i)proton-bridge"] move container to workspace $ws9 floating enable border none
for_window [class="(?i)cadence"] move container to workspace $ws7 floating enable
for_window [class="(?i)catia"] move container to workspace $ws7 floating enable
@ -57,12 +82,23 @@ for_window [class="(?i)ilok"] floating enable
for_window [class="Space"] floating enable
# class border backgr. text indicator child_border
client.focused #B8BB26 #B8BB26 #1D2021 #2e9ef4 #B8BB26
client.focused_inactive #83A598 #83A598 #1D2021 #484e50 #83A598
client.unfocused #333333 #222222 #bdae93 #292d2e #222222
client.urgent #2f343a #900000 #fbf1c7 #900000 #900000
client.placeholder #000000 #0c0c0c #fbf1c7 #000000 #0c0c0c
client.background #ffffff
# client.focused #B8BB26 #B8BB26 #1D2021 #2e9ef4 #B8BB26
# client.focused_inactive #83A598 #83A598 #1D2021 #484e50 #83A598
# client.unfocused #333333 #222222 #bdae93 #292d2e #222222
# client.urgent #2f343a #900000 #fbf1c7 #900000 #900000
# client.placeholder #000000 #0c0c0c #fbf1c7 #000000 #0c0c0c
# client.background #ffffff
#######################
#### i3 appearance ####
#######################
# Gruvbox Theme brdr bg text indictr chld_brdr
client.focused $green $green $bg $green $green
client.focused_inactive $blue $blue $bg $blue $blue
client.unfocused $bg $bg $bg $bg $bg
client.urgent $red $red $bg $red $red
client.placeholder $bg $bg $bg $bg $bg
client.background $bg
# start a terminal
bindsym $mod+Return exec terminal
@ -188,7 +224,6 @@ bindsym $mod+Shift+r restart
bindsym $mod+Shift+x exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'"
bindsym $mod+z exec "stop_and_lock"
bindsym $mod+x exec "stop_and_lock & xset dpms force off"
bindsym $mod+Shift+z exec "suspend-and-lock"
# resize window (you can also use the mouse for that)
@ -219,15 +254,27 @@ bar {
output nonprimary
font pango:Iosevka Term, FontAwesome Bold 12px
colors {
background #000000
statusline #d5c4a1
separator #666666
# bar background color
background $bg
# text color used for blocks that do not have a color specified.
statusline $fg
focused_workspace #B8BB26 #B8BB26 #3c3836
active_workspace #5f676a #5f676a #fbf1c7
inactive_workspace #5f676a #5f676a #fbf1c7
urgent_workspace #fb4934 #fb4934 #fbf1c7
binding_mode #fb4934 #fb4934 #1d2021
# workspaces section
# border backgr. text
focused_workspace $orange $orange $bg
inactive_workspace $bg $aqua $bg
active_workspace $bg $blue $bg
urgent_workspace $red $red $fg
# background #000000
# statusline #d5c4a1
# separator #666666
#
# focused_workspace #B8BB26 #B8BB26 #3c3836
# active_workspace #5f676a #5f676a #fbf1c7
# inactive_workspace #5f676a #5f676a #fbf1c7
# urgent_workspace #fb4934 #fb4934 #fbf1c7
# binding_mode #fb4934 #fb4934 #1d2021
}
}
@ -238,7 +285,7 @@ bar {
output primary
tray_output primary
status_command i3status-rs-with-env ~/.config/i3status-rs/config.toml
font pango:Iosevka Term, FontAwesome Bold 12px
font pango:Iosevka Term, FontAwesome Bold 14px
colors {
background #000000
statusline #d5c4a1
@ -253,8 +300,8 @@ bar {
}
# Backlight control
# bindsym XF86MonBrightnessUp exec --no-startup-id sudo light -A 5
# bindsym XF86MonBrightnessDown exec --no-startup-id sudo light -U 5
bindsym XF86MonBrightnessUp exec --no-startup-id sudo light -A 5
bindsym XF86MonBrightnessDown exec --no-startup-id sudo light -U 5
# bindsym XF86Search exec --no-startup-id suspend-and-lock
# Volume control

View File

@ -1,16 +1,26 @@
include colors/base16/base16-gruvbox-dark-hard-256.conf
include colors/gruvbox_dark.conf
shell shell
shell fish
font_family Iosevka\ Term Medium
font_size 11
bold_font Iosevka\ Term Medium
italic_font Iosevka\ Term Medium Oblique
bold_italic_font Iosevka\ Term Medium Oblique
adjust_line_height 95%
font_family Iosevka Custom Medium
font_size 12.0
bold_font Iosevka Custom Bold
italic_font Iosevka Custom Medium
bold_italic_font Iosevka Custom Bold
adjust_line_height 98%
padding_width 0
border_width 0
cursor_shape block
shell_integration no-cursor
scrollback_lines 2000
repaint_delay 10
input_delay 3
sync_to_monitor yes
remember_window_size no
window_padding_width 0
window_border_width 0
window_border_width 1
window_padding_width 0
window_margin_width 0
@ -20,6 +30,10 @@ draw_minimal_borders True
hide_window_decorations False
placement_strategy top-left
enable_audio_bell no
visual_bell_duration 0.2
visual_bell_color #fb4934
tab_bar_style separator
tab_separator " ┇ "
@ -45,7 +59,7 @@ map ctrl+shift+backspace no_op
map ctrl+shift+w no_op
# Crutch to disable escaping space
send_text all alt+space \x20\x7f
# send_text all alt+space \x20\x7f
map ctrl+alt+equal change_font_size all +2.0
map ctrl+alt+minus change_font_size all -2.0

View File

@ -1,21 +1,19 @@
source ~/.config/mutt/colors-gruvbox-shuber.muttrc
# For neomutt uncomment this line:
source ~/.config/mutt/colors-gruvbox-shuber-extended.muttrc
# Sidebar
#
# Color of the highlighted, but not open, mailbox.
color sidebar_highlight black color8
# Color of the divider separating the Sidebar from NeoMutt panels
color sidebar_divider color8 color234
color sidebar_divider color8 color235
# Color to give mailboxes containing flagged mail
color sidebar_flagged default color234
color sidebar_flagged default color235
# Color to give mailboxes containing new mail
color sidebar_new color108 color234
color sidebar_new color108 color235
# color sidebar_spoolfile green default
# color sidebar_spoolfile yellow color234
# color sidebar_spoolfile yellow color235
# Color to give mailboxes containing no new/flagged mail, etc.
color sidebar_ordinary default color234
color sidebar_ordinary default color235
# Color if the attachment is autoviewed
color attach_headers brightgreen default "Autoview"
@ -39,9 +37,9 @@ color attach_headers brightmagenta default "invalid node with packet
# Author name, %A %a %F %L %n
# Give the author column a dark grey background
color index_author default color234 '.*'
color index_author default color235 '.*'
# Highlight a particular from (~f)
# color index_author brightyellow color234 '~fRay Charles'
# color index_author brightyellow color235 '~fRay Charles'
# Message flags, %S %Z
# Highlight the flags for flagged (~F) emails
color index_flags default red '~F'

View File

@ -1,6 +0,0 @@
color compose header color223 color234
color compose security_encrypt color175 color234
color compose security_sign color109 color234
color compose security_both color142 color234
color compose security_none color208 color234

View File

@ -25,57 +25,63 @@
# See http://www.mutt.org/doc/manual/#color
color attachment color109 color234
color bold color229 color234
color error color167 color234
color hdrdefault color246 color234
color indicator color223 color237
color markers color243 color234
color normal color223 color234
color quoted color250 color234
color quoted1 color108 color234
color quoted2 color250 color234
color quoted3 color108 color234
color quoted4 color250 color234
color quoted5 color108 color234
color attachment color109 color235
color bold color229 color235
color error color167 color235
color hdrdefault color246 color235
color indicator color223 color235
color markers color243 color235
color normal color223 color235
color quoted color250 color235
color quoted1 color108 color235
color quoted2 color250 color235
color quoted3 color108 color235
color quoted4 color250 color235
color quoted5 color108 color235
color search color234 color208
color signature color108 color234
color signature color108 color235
color status color234 color250
color tilde color243 color234
color tree color142 color234
color underline color223 color239
color tilde color243 color235
color tree color142 color235
color underline color223 color235
color sidebar_divider color250 color234
color sidebar_new color142 color234
color sidebar_divider color250 color235
color sidebar_new color142 color235
color index color142 color234 ~N
color index color108 color234 ~O
color index color109 color234 ~P
color index color214 color234 ~F
color index color175 color234 ~Q
color index color167 color234 ~=
color index color142 color235 ~N
color index color108 color235 ~O
color index color109 color235 ~P
color index color214 color235 ~F
color index color175 color235 ~Q
color index color167 color235 ~=
color index color234 color223 ~T
color index color234 color167 ~D
color header color214 color234 "^(To:|From:)"
color header color142 color234 "^Subject:"
color header color108 color234 "^X-Spam-Status:"
color header color108 color234 "^Received:"
color header color214 color235 "^(To:|From:)"
color header color142 color235 "^Subject:"
color header color108 color235 "^X-Spam-Status:"
color header color108 color235 "^Received:"
color body color142 color234 "[a-z]{3,256}://[-a-zA-Z0-9@:%._\\+~#=/?&,]+"
#color body color142 color234 "[a-zA-Z]([-a-zA-Z0-9_]+\\.){2,256}[-a-zA-Z0-9_]{2,256}"
color body color208 color234 "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
color body color208 color234 "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
color body color142 color235 "[a-z]{3,256}://[-a-zA-Z0-9@:%._\\+~#=/?&,]+"
#color body color142 color235 "[a-zA-Z]([-a-zA-Z0-9_]+\\.){2,256}[-a-zA-Z0-9_]{2,256}"
color body color208 color235 "[-a-z_0-9.%$]+@[-a-z_0-9.]+\\.[-a-z][-a-z]+"
color body color208 color235 "mailto:[-a-z_0-9.]+@[-a-z_0-9.]+"
color body color234 color214 "[;:]-*[)>(<lt;|]"
color body color229 color234 "\\*[- A-Za-z]+\\*"
color body color229 color235 "\\*[- A-Za-z]+\\*"
color body color214 color234 "^-.*PGP.*-*"
color body color142 color234 "^gpg: Good signature from"
color body color167 color234 "^gpg: Can't.*$"
color body color214 color234 "^gpg: WARNING:.*$"
color body color167 color234 "^gpg: BAD signature from"
color body color167 color234 "^gpg: Note: This key has expired!"
color body color214 color234 "^gpg: There is no indication that the signature belongs to the owner."
color body color214 color234 "^gpg: can't handle these multiple signatures"
color body color214 color234 "^gpg: signature verification suppressed"
color body color214 color234 "^gpg: invalid node with packet of type"
color body color214 color235 "^-.*PGP.*-*"
color body color142 color235 "^gpg: Good signature from"
color body color167 color235 "^gpg: Can't.*$"
color body color214 color235 "^gpg: WARNING:.*$"
color body color167 color235 "^gpg: BAD signature from"
color body color167 color235 "^gpg: Note: This key has expired!"
color body color214 color235 "^gpg: There is no indication that the signature belongs to the owner."
color body color214 color235 "^gpg: can't handle these multiple signatures"
color body color214 color235 "^gpg: signature verification suppressed"
color body color214 color235 "^gpg: invalid node with packet of type"
color compose header color223 color235
color compose security_encrypt color175 color235
color compose security_sign color109 color235
color compose security_both color142 color235
color compose security_none color208 color235

View File

@ -5,19 +5,19 @@ call plug#begin('$HOME/.config/nvim/bundle')
Plug 'tpope/vim-sensible'
" Colors
Plug 'chriskempson/base16-vim'
" Gruvbox colors
" Plug 'ellisonleao/gruvbox.nvim'
Plug '~/Projects/libs/gruvbox.nvim'
Plug 'terryma/vim-multiple-cursors'
Plug 'Lokaltog/vim-easymotion'
Plug 'simrat39/rust-tools.nvim'
Plug 'vim-ruby/vim-ruby'
" Plug 'vim-ruby/vim-ruby'
Plug 'tpope/vim-rails'
Plug 'tpope/vim-rake'
Plug 'tpope/vim-bundler'
Plug 'tpope/vim-markdown'
Plug 'calviken/vim-gdscript3'
Plug 'ledger/vim-ledger'
Plug 'slim-template/vim-slim'
Plug 'fatih/vim-go'
@ -26,6 +26,8 @@ Plug 'HerringtonDarkholme/yats.vim'
Plug 'm-pilia/vim-ccls'
Plug 'm-pilia/vim-yggdrasil'
Plug 'nvim-treesitter/nvim-treesitter', {'do': ':TSUpdate'}
" Fish shell
Plug 'dag/vim-fish'
@ -48,7 +50,6 @@ Plug 'L3MON4D3/LuaSnip'
" Appearance
Plug 'itchyny/lightline.vim'
Plug 'shinchu/lightline-gruvbox.vim'
Plug 'bsedin/lightline-lsp'
Plug 'editorconfig/editorconfig-vim'
@ -96,11 +97,19 @@ Plug 'nvim-telescope/telescope.nvim'
call plug#end()
" Colorscheme
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
set t_Co=256
set termguicolors
" Gruvbox colors
" autocmd vimenter * ++nested colorscheme mygruvbox
" let g:gruvbox_contrast_dark='medium'
" let g:gruvbox_contrast_light='medium'
colorscheme gruvbox
set background=dark
let base16colorspace=256
colorscheme base16-gruvbox-dark-hard
silent! map <F5> :set background=dark<CR>
silent! map <F6> :set background=light<CR>
" Required for operations modifying multiple buffers like rename.
set hidden
@ -109,6 +118,8 @@ set hidden
autocmd FileType ledger setlocal sw=4 ts=4 sts=4
autocmd FileType rust setlocal sw=4 ts=4 sts=4
au BufNewFile,BufRead *.es6 :setlocal filetype=javascript
" For conceal markers.
if has('conceal')
set conceallevel=0 concealcursor=niv
@ -123,6 +134,36 @@ let g:neosnippet#snippets_directory='$HOME/.config/nvim/bundle/vim-snippets/snip
lua << EOF
-- tree-sitter
require'nvim-treesitter.configs'.setup {
-- A list of parser names, or "all"
-- ensure_installed = { "all" },
-- Install parsers synchronously (only applied to `ensure_installed`)
sync_install = false,
-- List of parsers to ignore installing (for "all")
-- ignore_install = { "javascript" },
highlight = {
-- `false` will disable the whole extension
enable = true,
-- NOTE: these are the names of the parsers and not the filetype. (for example if you want to
-- disable highlighting for the `tex` filetype, you need to include `latex` in this list as this is
-- the name of the parser)
-- list of language that will be disabled
-- disable = { "c", "rust" },
-- Setting this to true will run `:h syntax` and tree-sitter at the same time.
-- Set this to `true` if you depend on 'syntax' being enabled (like for indentation).
-- Using this option may slow down your editor, and you may see some duplicate highlights.
-- Instead of true it can also be a list of languages
additional_vim_regex_highlighting = false,
},
}
-- telescope
require('telescope').setup{
@ -381,7 +422,7 @@ let g:NERDTreeMapPreview="<F3>"
let g:lightline = {
\ 'colorscheme': 'gruvbox',
\ 'component_function': {
\ 'gitbranch': 'fugitive#head'
\ 'gitbranch': 'FugitiveHead'
\ },
\ }
@ -438,12 +479,6 @@ let g:gitgutter_sign_modified_removed = '~'
let g:gitgutter_highlight_linenrs = 1
let g:gitgutter_highlight_lines = 0
highlight GitGutterChangeLineNr ctermfg=16 ctermbg=18 guifg=#83a598 guibg=#3c3836
highlight GitGutterChangeDeleteLineNr ctermfg=16 ctermbg=18 guifg=#d3869b guibg=#3c3836
highlight link GitGutterAddLineNr GitGutterAddLine
highlight link GitGutterDeleteLineNr GitGutterDeleteLine
" Replace current word with yanked or deleted text
" nnoremap S "_diwP
@ -571,7 +606,6 @@ inoremap <End> <NOP>
set splitbelow
set splitright
set title
set completeopt=menuone,noinsert,noselect
" Quicker window movement

View File

@ -2,5 +2,5 @@
--mark-watched
-f bestvideo[height<=?1080]+bestaudio/best
--retries infinite
--socket-timeout 1
--socket-timeout 30
--external-downloader aria2c

View File

@ -8,14 +8,12 @@
currdir=$(pwd)
## get the full path of this script (readlink for Linux, greadlink for Mac with coreutils installed)
sfp=$(readlink -f "${BASH_SOURCE[0]}" 2>/dev/null || greadlink -f "${BASH_SOURCE[0]}" 2>/dev/null)
## fallback for Macs without coreutils
if [ -z "$sfp" ]; then sfp=${BASH_SOURCE[0]}; fi
sfp=$HOME/.mozilla/firefox/profile
## change directory to the Firefox profile directory
cd "$(dirname "${sfp}")"
cd $sfp
echo $(pwd)
fQuit() {
## change directory back to the original working directory

View File

@ -89,3 +89,11 @@ user_pref("privacy.cpd.cookies", false);
* define on which sites to save extra session data such as form content, cookies and POST data
* 0=everywhere, 1=unencrypted sites, 2=nowhere ***/
user_pref("browser.sessionstore.privacy_level", 0);
/* chrome/userChrome.css support */
user_pref("toolkit.legacyUserProfileCustomizations.stylesheets", true);
/* dark letterbox */
user_pref("ui.systemUsesDarkTheme", 1);
user_pref("webgl.disabled", false);

View File

@ -1448,3 +1448,7 @@ user_pref("privacy.cpd.cookies", false);
* [NOTE] privacy.cpd.openWindows has a bug that causes an additional window to open ***/
// user_pref("privacy.clearOnShutdown.openWindows", true);
// user_pref("privacy.cpd.openWindows", true);
/* 1003: disable storing extra session data [SETUP-CHROME]
* define on which sites to save extra session data such as form content, cookies and POST data
* 0=everywhere, 1=unencrypted sites, 2=nowhere ***/
user_pref("browser.sessionstore.privacy_level", 0);

View File

@ -1,8 +1,8 @@
#!/bin/bash
export BROWSER=browser
export TERMINAL=st
export XTERM=st
export TERMINAL=kitty
export XTERM=kitty
export LANGUAGE=en_US:en_GB:en
export LC_TIME=ru_RU.UTF-8
export COLORTERM=truecolor