1
0
Fork 0

i3, kitty: fonts, stuff; tmux, vim: powerline style is back; xresources: cursor

This commit is contained in:
Von Random 2021-06-23 19:52:39 +03:00
parent 0b0623fe46
commit eb70146f38
5 changed files with 33 additions and 29 deletions

View file

@ -4,9 +4,9 @@
set $mod Mod4
set $i3_term default-terminal-emulator
set $font Fira Sans:size=12
set $font PT Sans Expert:size=11
font pango:Fira Sans 12
font pango:PT Sans Expert 11
# Use Mouse+$mod to drag floating windows to their wanted position
floating_modifier $mod

View file

@ -1,14 +1,15 @@
# I am config
font_family Fantasque Sans Mono
font_size 14
font_family Cascadia Code PL
font_size 13
box_drawing_scale 0.1, 0.5, 1, 1.5
cursor_shape underline
cursor_underline_thickness 3.0
cursor_blink_interval 0
disable_ligatures cursor
enable_audio_bell no
tab_bar_style separator
wayland_titlebar_color #2f343f
window_padding_width 1
placement_strategy top-left
@ -19,6 +20,7 @@ initial_window_height 30c
rectangle_select_modifiers alt
strip_trailing_spaces always
map alt+c copy_to_clipboard
map ctrl+alt+c copy_to_clipboard
map alt+v paste_from_clipboard
@ -28,7 +30,7 @@ open_url_modifiers alt
open_url_withopen_url_with default
selection_foreground #fdf6e3
selection_background #b58900
selection_background #268bd2
foreground #657b83
background #fdf6e3
cursor #cb4b16

View file

@ -36,8 +36,9 @@ set -g pane-active-border-style "fg=colour4"
set -g message-style "bg=colour4,fg=colour7"
set -g message-command-style "bg=colour1,fg=colour7"
set -g status on
set -g status-style "bg=default,fg=default"
set -g status-format[0] "#[bg=colour4,fg=colour7] #h[#S] #[default]#{W: #I:#W ,#[reverse] #I:#W #[default]}#[align=right]#[fg=colour7,bg=colour2] %a %e %k:%M "
set -g status-style "reverse"
#set -g status-format[0] "#[none] #h[#S] #[default] #{W: #I]#W ,#[none] #I:#W #[default]}#[align=right,none] %a %e %k:%M "
set -g status-format[0] "#[none] #h:#S #[reverse]#[default]#{W: #I  #W ,#[none] #I  #W #[default]}#[align=right,default]#[none] %a %e %k:%M "
set -g status-interval 2
set -g status-position "bottom"
set -g status-justify "left"
@ -45,5 +46,5 @@ set -g status-left-length "100"
set -g status-right-length "100"
# relevant to local only
set -g terminal-overrides "alacritty:Tc,kitty-xterm:Tc,xterm-256color:Tc"
set -g terminal-overrides "alacritty:Tc,kitty-xterm:Tc,xterm-256color:Tc,rxvt-unicode*:Tc"
set -g default-terminal "tmux-256color"

View file

@ -10,6 +10,7 @@ Plug 'junegunn/vim-plug'
" general plugins
"Plug 'sheerun/vim-polyglot'
Plug 'itchyny/lightline.vim'
Plug 'junegunn/fzf.vim'
Plug 'junegunn/vim-easy-align'
Plug 'lifepillar/vim-solarized8'
@ -37,26 +38,26 @@ nmap <Leader>ft :Filetypes<CR>
let g:vimwiki_list = [{'path': '$HOME/vimwiki/', 'syntax': 'markdown', 'ext': '.md'}]
if has('gui_running')
set guifont=Fantasque\ Sans\ Mono\ 14
if $TERM !~ '^linux'
if has('gui_running')
set guifont=Cascadia\ Mono\ PL\ 13
set guicursor=a:blinkon0,a:block,i:ver1-Cursor/lCursor,r:hor1-Cursor/lCursor
set bg=dark guiheadroom=0 guioptions=aei mouse=a
map <S-Insert> <MiddleMouse>
map! <S-Insert> <MiddleMouse>
colorscheme gruvbox8
elseif $TERM =~ '^tmux' || $TERM =~ '^xterm' || $TERM =~ '^st' || $TERM =~ '^alacritty'
set bg=dark tgc
let g:gruvbox_filetype_hi_groups = 1
else
set bg=dark tgc guicursor=
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
let &t_ut = ""
endif
let g:gruvbox_filetype_hi_groups = 1
let g:lightline = {
\ 'colorscheme': 'gruvbox8',
\ 'separator': { 'left': "\ue0b0", 'right': "\ue0b2" },
\ 'subseparator': { 'left': "\ue0b1", 'right': "\ue0b3" }
\ }
colorscheme gruvbox8
elseif $TERM !~ '^linux'
set bg=light
let g:solarized_extra_hi_groups = 1
let g:solarized_use16 = 1
colorscheme solarized8
endif

View file

@ -1,5 +1,5 @@
! {{{ xft and cursor configuration, aliases
Xcursor.theme: Numix-Cursor
Xcursor.theme: Vanilla-DMZ
Xft.antialias: true
Xft.lcdfilter: true
Xft.rgba: rgb