From f8796266386f7fcdfb14e6b87da325ef1e329dc6 Mon Sep 17 00:00:00 2001 From: Daniel Lundin Date: Thu, 4 Jul 2019 17:15:47 +0200 Subject: [PATCH] Use compton for fancy windows --- .Xresources | 3 +++ .clusterssh/config | 2 +- .config/alacritty/alacritty-light.yml | 15 +++------------ .config/nvim/coc-settings.json | 5 +++-- .config/nvim/colors/dln-light.vim | 1 + .config/nvim/init.vim | 6 ++++++ .gitconfig | 2 ++ .tmux.conf | 5 +++-- .xinitrc | 10 +++++++--- 9 files changed, 29 insertions(+), 20 deletions(-) diff --git a/.Xresources b/.Xresources index a936060..7c24be6 100644 --- a/.Xresources +++ b/.Xresources @@ -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 minus: smaller-vt-font() \n\ diff --git a/.clusterssh/config b/.clusterssh/config index e2f84af..8dc33e4 100644 --- a/.clusterssh/config +++ b/.clusterssh/config @@ -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 diff --git a/.config/alacritty/alacritty-light.yml b/.config/alacritty/alacritty-light.yml index 6c306e3..48a72ca 100644 --- a/.config/alacritty/alacritty-light.yml +++ b/.config/alacritty/alacritty-light.yml @@ -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. diff --git a/.config/nvim/coc-settings.json b/.config/nvim/coc-settings.json index fbba298..86be8d1 100644 --- a/.config/nvim/coc-settings.json +++ b/.config/nvim/coc-settings.json @@ -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"] } diff --git a/.config/nvim/colors/dln-light.vim b/.config/nvim/colors/dln-light.vim index c454499..12b528e 100644 --- a/.config/nvim/colors/dln-light.vim +++ b/.config/nvim/colors/dln-light.vim @@ -350,3 +350,4 @@ call hi("GitGutterChange",s:light_blue_300, "", "") call hi("GitGutterDelete",s:yellow_300, "", "") call hi("ALEErrorSign",s:black_1000, s:red_400, "none") call hi("ALEWarningSign",s:orange_200, "", "none") +call hi("CursorColumn", "", s:yellow_50, "none") diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim index 9856d7a..f54aaa3 100644 --- a/.config/nvim/init.vim +++ b/.config/nvim/init.vim @@ -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 diff --git a/.gitconfig b/.gitconfig index 7cda251..85b6b9d 100644 --- a/.gitconfig +++ b/.gitconfig @@ -143,3 +143,5 @@ diff-chunk = magenta default bold process = git-lfs filter-process required = true clean = git-lfs clean -- %f +[credential] + helper = store diff --git a/.tmux.conf b/.tmux.conf index 9493691..7f01d3e 100644 --- a/.tmux.conf +++ b/.tmux.conf @@ -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") ' diff --git a/.xinitrc b/.xinitrc index 89c3556..fa72f9b 100755 --- a/.xinitrc +++ b/.xinitrc @@ -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