Use compton for fancy windows

This commit is contained in:
Daniel Lundin 2019-07-04 17:15:47 +02:00
parent 988fe8e5d0
commit f879626638
9 changed files with 29 additions and 20 deletions

View file

@ -7,6 +7,9 @@ Xft.autohint: 0
Xft.hintstyle: hintfull
Xft.lcdfilter: lcddefault
Xcursor.theme: Bibata_Oil
Xcursor.size: 48
XTerm*metaSendsEscape: true
XTerm.VT100.translations: #override \
Meta <Key> minus: smaller-vt-font() \n\

View file

@ -1,5 +1,5 @@
auto_close=2
ssh_args=-o StrictHostKeyChecking=no -o ForwardAgent=yes
terminal=xterm
terminal_args=-fa "xft:Pragmata Pro Mono:size=5"
terminal_args=-fa "xft:Pragmata Pro Mono:size=7"
terminal_bg_style=dark

View file

@ -30,17 +30,14 @@ window:
y: 0
# Spread additional padding evenly around the terminal content.
dynamic_padding: false
dynamic_padding: true
# Window decorations
#
# Values for `decorations`:
# - full: Borders and title bar
# - none: Neither borders nor title bar
decorations: none
# When true, alacritty starts maximized.
start_maximized: false
decorations: full
scrolling:
# Maximum number of lines in the scrollback buffer.
@ -121,12 +118,6 @@ font:
x: 0
y: 0
# Display the time it takes to redraw each frame.
render_timer: false
# Keep the log file after quitting Alacritty.
persistent_logging: false
# If `true`, bold text is drawn using the bright color variants.
draw_bold_text_with_bright_colors: true
@ -287,7 +278,7 @@ cursor:
# - ▇ Block
# - _ Underline
# - | Beam
style: Block
style: Beam
# If this is `true`, the cursor will be rendered as a hollow box when the
# window is not focused.

View file

@ -9,7 +9,7 @@
"/deployment.jsonnet",
"/deployment.json"
],
"url": "https://raw.githubusercontent.com/garethr/kubernetes-json-schema/master/v1.12.2/deployment.json"
"url": "https://raw.githubusercontent.com/garethr/kubernetes-json-schema/master/v1.14.0/deployment.json"
}
],
"yaml.schemas": {
@ -36,7 +36,8 @@
"args": ["--stdio"]
},
"golang": {
"command": "bingo",
"command": "gopls",
"args": [],
"rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
"filetypes": ["go"]
}

View file

@ -350,3 +350,4 @@ call <sid>hi("GitGutterChange",s:light_blue_300, "", "")
call <sid>hi("GitGutterDelete",s:yellow_300, "", "")
call <sid>hi("ALEErrorSign",s:black_1000, s:red_400, "none")
call <sid>hi("ALEWarningSign",s:orange_200, "", "none")
call <sid>hi("CursorColumn", "", s:yellow_50, "none")

View file

@ -66,6 +66,9 @@ Plug 'Shougo/neosnippet-snippets'
" Plug 'vim-syntastic/syntastic'
Plug 'w0rp/ale'
" Powershell
Plug 'PProvost/vim-ps1'
" Git
Plug 'airblade/vim-gitgutter'
@ -75,6 +78,9 @@ Plug 'junegunn/gv.vim'
" PowerShell
Plug 'PProvost/vim-ps1'
" Webdev
Plug 'burner/vim-svelte'
call plug#end()
" language en_US

View file

@ -143,3 +143,5 @@ diff-chunk = magenta default bold
process = git-lfs filter-process
required = true
clean = git-lfs clean -- %f
[credential]
helper = store

View file

@ -83,13 +83,14 @@ bind Tab last-pane
bind C-p select-pane -U
bind K confirm kill-server
bind C-k clear-history
bind -n C-l send-keys C-l \; clear-history
setw -g window-status-format ""
setw -g window-status-current-format "#W"
setw -g window-status-separator ""
set -g status-fg "#6699aa"
set -g status-bg "#1a2a3a"
set -g status-fg "#B0BEC5"
set -g status-bg "#37474F"
set -g status-left '#[bg=#335566,fg=#1a2a3a] #I #[default] '
# set -g status-right '#[fg=#666666]|#[bg=#222222,fg=#99cc99] #{?#(tmux show-buffer -b project),#(tmux show-buffer -b project),-} #[bg=#222222,fg=#666666]| #{battery_percentage} #{battery_remain} |  %a %h-%d %H:%M | #(date +"%R") '

View file

@ -1,7 +1,11 @@
#!/bin/bash
xsetroot -solid \#99aab0
xsetroot -solid \#99aab0 -cursor_name left_ptr
xmodmap $HOME/.Xmodmap
compton --daemon -c -t -25 -l -25 --shadow-radius=25 --inactive-opacity 0.99 --inactive-dim 0.2 -e 0.7
setxkbmap -option ctrl:nocaps,grp:switch,grp_led:scroll us,se
alacritty -e tmux attach -t0 &
xcalib $HOME/.config/B140QAN02_0.icm
exec $HOME/bin/dwm
alacritty -e tmux attach -t0 &
# exec $HOME/bin/dwm
xrdb $HOME/.Xresources
hsetroot -solid \#99aab0
exec $HOME/bin/2bwm