mirror of
https://github.com/olexsmir/dotfiles.git
synced 2026-01-15 08:41:34 +02:00
Add alacritty, bettrscreenlock config & update qtile, nvim
This commit is contained in:
parent
88cbabb443
commit
f407ac09bc
13 changed files with 304 additions and 36 deletions
78
config/alacritty.yml
Normal file
78
config/alacritty.yml
Normal file
|
|
@ -0,0 +1,78 @@
|
|||
env:
|
||||
TERM: xterm-256color
|
||||
|
||||
window:
|
||||
title: Alacritty
|
||||
class:
|
||||
instance: Alacritty
|
||||
general: Alacritty
|
||||
padding:
|
||||
x: 0
|
||||
y: 0
|
||||
|
||||
scrolling:
|
||||
history: 1000
|
||||
|
||||
font:
|
||||
antialias: lcd
|
||||
hinting: true
|
||||
size: 12.0
|
||||
normal:
|
||||
family: Hack
|
||||
style: Regular
|
||||
bold:
|
||||
family: Hack
|
||||
style: Bold
|
||||
italic:
|
||||
family: Hack
|
||||
style: Italic
|
||||
bold_italic:
|
||||
family: Hack
|
||||
style: Bold Italic
|
||||
offset:
|
||||
x: 1
|
||||
y: 0
|
||||
|
||||
debug.render_timer: false
|
||||
draw_bold_text_with_bright_colors: false
|
||||
background_opacity: 0.85
|
||||
#dynamic_title: true
|
||||
|
||||
colors:
|
||||
primary:
|
||||
background: '0x262A2D'
|
||||
foreground: '0xDFDFDF'
|
||||
cursor:
|
||||
text: '0x7D7D7D'
|
||||
cursor: '0xDFDFDF'
|
||||
selection:
|
||||
text: '0xEDEBD7'
|
||||
background: '0x262A3B'
|
||||
normal:
|
||||
black: '0x1c1f24'
|
||||
red: '0xff6c6b'
|
||||
green: '0x98be65'
|
||||
yellow: '0xda8548'
|
||||
blue: '0x51afef'
|
||||
magenta: '0xc678dd'
|
||||
cyan: '0x5699af'
|
||||
white: '0x202328'
|
||||
bright:
|
||||
black: '0x5b6268'
|
||||
red: '0xda8548'
|
||||
green: '0x4db5bd'
|
||||
yellow: '0xecbe7b'
|
||||
blue: '0x3071db'
|
||||
magenta: '0xa9a1e1'
|
||||
cyan: '0x46d9ff'
|
||||
white: '0xdfdfdf'
|
||||
|
||||
cursor:
|
||||
style: Block
|
||||
|
||||
key_bindings:
|
||||
- { key: V, mods: Control|Shift, action: Paste }
|
||||
- { key: C, mods: Control|Shift, action: Copy }
|
||||
- { key: Key0, mods: Control, action: ResetFontSize }
|
||||
- { key: Equals, mods: Alt, action: IncreaseFontSize }
|
||||
- { key: Minus, mods: Alt, action: DecreaseFontSize }
|
||||
13
config/betterlockscreenrc
Normal file
13
config/betterlockscreenrc
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
insidecolor=#00000000
|
||||
ringcolor=#ffffff
|
||||
keyhlcolor=#51AFEF
|
||||
bshlcolor=#51AFEF
|
||||
separatorcolor=#00000000
|
||||
insidevercolor=#ff6c6b
|
||||
insidewrongcolor=#51AFEF
|
||||
ringvercolor=#ffffff
|
||||
ringwrongcolor=#ffffff
|
||||
verifcolor=#ffffff
|
||||
timecolor=#ffffff
|
||||
datecolor=#ced4da
|
||||
loginbox=#000066
|
||||
|
|
@ -86,8 +86,8 @@ map alt+ctrl+backspace change_font_size all 0
|
|||
|
||||
# Theming
|
||||
foreground #dfdfdf
|
||||
#background_opacity 0.85
|
||||
background_opacity 1
|
||||
background_opacity 0.85
|
||||
#background_opacity 1
|
||||
background_image none
|
||||
background_image_layout tiled
|
||||
background_image_linear no
|
||||
|
|
@ -96,7 +96,8 @@ background_tint 0.0
|
|||
dim_opacity 0.75
|
||||
selection_foreground #edebd7
|
||||
selection_background #073642
|
||||
background #262a2b
|
||||
background #262a3b
|
||||
#background #262a2b
|
||||
foreground #ffffff
|
||||
cursorColor #d2dae2
|
||||
selection_background #262a3b
|
||||
|
|
|
|||
|
|
@ -20,6 +20,7 @@ call plug#begin('~/.vim/plugged')
|
|||
Plug 'pangloss/vim-javascript', { 'for': 'javascript' }
|
||||
Plug 'PotatoesMaster/i3-vim-syntax', { 'for': 'i3' }
|
||||
Plug 'kovetskiy/sxhkd-vim', { 'for': 'sxhkd' }
|
||||
Plug 'fatih/vim-go', { 'do': ':GoUpdateBinaries', 'for': 'go' }
|
||||
Plug 'mattn/emmet-vim', { 'on': 'Emmet' }
|
||||
Plug 'Olical/vim-scheme', { 'for': 'scheme' }
|
||||
Plug 'cakebaker/scss-syntax.vim', { 'for': 'scss' }
|
||||
|
|
@ -117,8 +118,7 @@ nmap <C-p> :CtrlP<CR>
|
|||
let g:indent_guides_enable_on_vim_startup = 1
|
||||
|
||||
" Floaterm
|
||||
nmap <A-t> :FloatermNew --name=vimterminal --position=top --autoclose=2<CR>
|
||||
imap <A-t> :FloatermNew --name=vimterminal --position=top --autoclose=2<CR>
|
||||
nmap <A-t> :FloatermNew --title=vimterminal --position=top --autoclose=2<CR>
|
||||
|
||||
" == Maping
|
||||
"imap fd <Esc>
|
||||
|
|
@ -142,14 +142,14 @@ noremap <C-S-Tab> :tabprev<CR>
|
|||
noremap <C-n> :tabnew<CR>
|
||||
noremap <C-t> :tabnew<CR>
|
||||
noremap <C-S-w> :tabclose<CR>
|
||||
noremap <leader>1 :tabn 1<CR>
|
||||
noremap <leader>2 :tabn 2<CR>
|
||||
noremap <leader>3 :tabn 3<CR>
|
||||
noremap <leader>4 :tabn 4<CR>
|
||||
noremap <leader>5 :tabn 5<CR>
|
||||
noremap <leader>6 :tabn 6<CR>
|
||||
noremap <leader>7 :tabn 7<CR>
|
||||
noremap <leader>8 :tabn 8<CR>
|
||||
noremap <leader>9 :tabn 9<CR>
|
||||
noremap <A-1> :tabn 1<CR>
|
||||
noremap <A-2> :tabn 2<CR>
|
||||
noremap <A-3> :tabn 3<CR>
|
||||
noremap <A-4> :tabn 4<CR>
|
||||
noremap <A-5> :tabn 5<CR>
|
||||
noremap <A-6> :tabn 6<CR>
|
||||
noremap <A-7> :tabn 7<CR>
|
||||
noremap <A-8> :tabn 8<CR>
|
||||
noremap <A-9> :tabn 9<CR>
|
||||
noremap <leader>n :bnext<CR>
|
||||
noremap <leader>p :bprev<CR>
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import os
|
|||
mod = "mod4"
|
||||
alt = "mod1"
|
||||
|
||||
terminal = "kitty"
|
||||
terminal = "alacritty"
|
||||
browser = "firefox"
|
||||
filemanager="pcmanfm"
|
||||
user = "sasha"
|
||||
|
|
@ -45,7 +45,7 @@ keys = [
|
|||
desc="Launch filemanager"
|
||||
),
|
||||
Key([mod, alt], "t",
|
||||
lazy.spawn(f"{terminal} -e \"nvim /home/{user}/.todo\""),
|
||||
lazy.spawn(f"{terminal} -e nvim /home/{user}/.todo"),
|
||||
desc="Open ~/.todo file in nvim"
|
||||
),
|
||||
|
||||
|
|
@ -200,8 +200,8 @@ for i, (name, kwargs) in enumerate(group_names, 1):
|
|||
|
||||
# Window layout(s)
|
||||
layout_theme = {
|
||||
"border_width": 2,
|
||||
"margin": 3,
|
||||
"border_width": 1,
|
||||
"margin": 2,
|
||||
"border_focus": color[2],
|
||||
"border_normal": color[1],
|
||||
"font": "Jatbrains Mono"
|
||||
|
|
|
|||
|
|
@ -24,8 +24,8 @@ set vcs_msg_length 30
|
|||
|
||||
### Preview
|
||||
set preview_images true
|
||||
set preview_images_method kitty
|
||||
#set preview_images_method ueberzug
|
||||
#set preview_images_method kitty
|
||||
set preview_images_method ueberzug
|
||||
|
||||
set unicode_ellipsis false
|
||||
set bidi_support false
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue