Browse Source

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

master
Von Random 4 months ago
parent
commit
eb70146f38
  1. 4
      i3_config
  2. 12
      kitty.conf
  3. 7
      tmux.conf
  4. 39
      vimplugrc
  5. 2
      xresources

4
i3_config

@ -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

12
kitty.conf

@ -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

7
tmux.conf

@ -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"

39
vimplugrc

@ -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
set guicursor=a:blinkon0,a:block,i:ver1-Cursor/lCursor,r:hor1-Cursor/lCursor
set bg=dark guiheadroom=0 guioptions=aei mouse=a
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>
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
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
let &t_8f = "\<Esc>[38;2;%lu;%lu;%lum"
let &t_8b = "\<Esc>[48;2;%lu;%lu;%lum"
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

2
xresources

@ -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

Loading…
Cancel
Save