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.hintstyle: hintfull
Xft.lcdfilter: lcddefault Xft.lcdfilter: lcddefault
Xcursor.theme: Bibata_Oil
Xcursor.size: 48
XTerm*metaSendsEscape: true XTerm*metaSendsEscape: true
XTerm.VT100.translations: #override \ XTerm.VT100.translations: #override \
Meta <Key> minus: smaller-vt-font() \n\ Meta <Key> minus: smaller-vt-font() \n\

View file

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

View file

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

View file

@ -9,7 +9,7 @@
"/deployment.jsonnet", "/deployment.jsonnet",
"/deployment.json" "/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": { "yaml.schemas": {
@ -36,7 +36,8 @@
"args": ["--stdio"] "args": ["--stdio"]
}, },
"golang": { "golang": {
"command": "bingo", "command": "gopls",
"args": [],
"rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"], "rootPatterns": ["go.mod", ".vim/", ".git/", ".hg/"],
"filetypes": ["go"] "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("GitGutterDelete",s:yellow_300, "", "")
call <sid>hi("ALEErrorSign",s:black_1000, s:red_400, "none") call <sid>hi("ALEErrorSign",s:black_1000, s:red_400, "none")
call <sid>hi("ALEWarningSign",s:orange_200, "", "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 'vim-syntastic/syntastic'
Plug 'w0rp/ale' Plug 'w0rp/ale'
" Powershell
Plug 'PProvost/vim-ps1'
" Git " Git
Plug 'airblade/vim-gitgutter' Plug 'airblade/vim-gitgutter'
@ -75,6 +78,9 @@ Plug 'junegunn/gv.vim'
" PowerShell " PowerShell
Plug 'PProvost/vim-ps1' Plug 'PProvost/vim-ps1'
" Webdev
Plug 'burner/vim-svelte'
call plug#end() call plug#end()
" language en_US " language en_US

View file

@ -143,3 +143,5 @@ diff-chunk = magenta default bold
process = git-lfs filter-process process = git-lfs filter-process
required = true required = true
clean = git-lfs clean -- %f 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 C-p select-pane -U
bind K confirm kill-server bind K confirm kill-server
bind C-k clear-history bind C-k clear-history
bind -n C-l send-keys C-l \; clear-history
setw -g window-status-format "" setw -g window-status-format ""
setw -g window-status-current-format "#W" setw -g window-status-current-format "#W"
setw -g window-status-separator "" setw -g window-status-separator ""
set -g status-fg "#6699aa" set -g status-fg "#B0BEC5"
set -g status-bg "#1a2a3a" set -g status-bg "#37474F"
set -g status-left '#[bg=#335566,fg=#1a2a3a] #I #[default] ' 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") ' # 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 #!/bin/bash
xsetroot -solid \#99aab0 xsetroot -solid \#99aab0 -cursor_name left_ptr
xmodmap $HOME/.Xmodmap 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 setxkbmap -option ctrl:nocaps,grp:switch,grp_led:scroll us,se
alacritty -e tmux attach -t0 &
xcalib $HOME/.config/B140QAN02_0.icm 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