This commit is contained in:
Marco Thomas
2020-09-23 00:04:24 +02:00
parent afbe448b02
commit 24fc842639
8 changed files with 75 additions and 38 deletions

View File

@@ -10,14 +10,14 @@
+ Bar: polybar + Bar: polybar
+ Notifications: dunst + Notifications: dunst
+ Compositor: [picom](https://github.com/ibhagwan/picom) + Compositor: [picom](https://github.com/ibhagwan/picom)
+ Set Wallpaper: feh + Image Viewer: feh
+ Info: [fet.sh](https://github.com/6gk/fet.sh) + Info: [fet.sh](https://github.com/6gk/fet.sh)
+ Screenshots: Flameshot + Screenshots: Flameshot
## Dependencies ## Dependencies
+ vim-plug: `curl -fLo ~/.vim/autoload/plug.vim --create-dirs \ + [vim-plug](https://github.com/junegunn/vim-plug)
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim` + fzf
### Nvim LSP ### Nvim LSP

View File

@@ -87,34 +87,34 @@ font:
# x: 0 # x: 0
# y: 0 # y: 0
# Colors (Solarized Dark) # Colors (One Dark)
colors: colors:
# Default colors # Default colors
primary: primary:
background: '0x002b36' background: '0x1e2127'
foreground: '0x839496' foreground: '0xabb2bf'
# Normal colors # Normal colors
normal: normal:
black: '0x073642' black: '0x1e2127'
red: '0xdc322f' red: '0xe06c75'
green: '0x859900' green: '0x98c379'
yellow: '0xb58900' yellow: '0xd19a66'
blue: '0x268bd2' blue: '0x61afef'
magenta: '0xd33682' magenta: '0xc678dd'
cyan: '0x2aa198' cyan: '0x56b6c2'
white: '0xeee8d5' white: '0xabb2bf'
# Bright colors # Bright colors
bright: bright:
black: '0x002b36' black: '0x5c6370'
red: '0xcb4b16' red: '0xe06c75'
green: '0x586e75' green: '0x98c379'
yellow: '0x657b83' yellow: '0xd19a66'
blue: '0x839496' blue: '0x61afef'
magenta: '0x6c71c4' magenta: '0xc678dd'
cyan: '0x93a1a1' cyan: '0x56b6c2'
white: '0xfdf6e3' white: '0xffffff'
background_opacity: 0.95 background_opacity: 0.95

View File

@@ -140,8 +140,8 @@ new_window 1pixel
# Set Border # Set Border
for_window [class="^.*"] border pixel 1 for_window [class="^.*"] border pixel 1
set $red "#dc322f" set $red "#e06c75"
set $termbg "#002b36" set $termbg "#1e2127"
# class border backgr. text indic. child_border # class border backgr. text indic. child_border
client.focused #ffffff #ffffff #000000 #ffffff #ffffff client.focused #ffffff #ffffff #000000 #ffffff #ffffff

View File

@@ -3,8 +3,7 @@
[colors] [colors]
background = #000000 background = #000000
foreground = #ffffff foreground = #ffffff
urgent = ${xrdb:color1} urgent = #e06c75
#urgent = #ff0000
[bar/laptop] [bar/laptop]
monitor = ${env:MONITOR} monitor = ${env:MONITOR}
@@ -25,7 +24,7 @@ padding-right = 1
separator = / separator = /
modules-left = i3 xwindow modules-left = i3 xwindow
modules-right = spotify network networkupdown volume backlight battery date modules-right = spotify network volume backlight battery date
foreground = ${colors.foreground} foreground = ${colors.foreground}
background = ${colors.background} background = ${colors.background}
@@ -70,14 +69,13 @@ label-maxlen = 100
[module/date] [module/date]
type = internal/date type = internal/date
date = %H:%M - %a %d.%m.%Y% date = %a, %d %H:%M
[module/backlight] [module/backlight]
type = internal/backlight type = internal/backlight
#ls -1 /sys/class/backlight #ls -1 /sys/class/backlight
card = amdgpu_bl0 card = amdgpu_bl0
format-prefix = "" label =  %percentage%%
label = %percentage%%
[module/battery] [module/battery]
type = internal/battery type = internal/battery
@@ -132,7 +130,7 @@ interface = wlo1
interval = 3.0 interval = 3.0
accumulate-stats = true accumulate-stats = true
unknown-as-up = true unknown-as-up = true
label-connected = %essid%: %signal%% label-connected = %essid%
label-disconnected = no wifi label-disconnected = no wifi
[module/networkupdown] [module/networkupdown]

View File

@@ -1,4 +1,4 @@
set -g default-terminal "tmux-256color" set -g default-terminal "xterm-256color"
#some vi behaviour #some vi behaviour
bind-key -r h select-pane -L bind-key -r h select-pane -L

View File

@@ -12,11 +12,13 @@ let mapleader = "\<Space>"
" ============================== vim-plug " ============================== vim-plug
call plug#begin() call plug#begin()
Plug 'altercation/vim-colors-solarized' " Colorscheme Plug 'joshdick/onedark.vim' " Colorscheme
Plug 'tpope/vim-sleuth' " Automatic intendations Plug 'tpope/vim-sleuth' " Automatic intendations
Plug 'jiangmiao/auto-pairs' " Pair Completion Plug 'jiangmiao/auto-pairs' " Pair ompletion
Plug 'airblade/vim-gitgutter' " Show git changes
if executable("fzf") if executable("fzf")
Plug 'junegunn/fzf' Plug 'junegunn/fzf'
@@ -24,8 +26,10 @@ if executable("fzf")
endif endif
if has ("nvim") if has ("nvim")
Plug 'neovim/nvim-lspconfig' " language client Plug 'neovim/nvim-lspconfig' " LSP
Plug 'nvim-lua/completion-nvim' " fancy autocomplete Plug 'Shougo/neosnippet.vim'
Plug 'Shougo/neosnippet-snippets'
Plug 'nvim-lua/completion-nvim' " Fancy autocomplete
endif endif
call plug#end() call plug#end()
@@ -33,8 +37,9 @@ call plug#end()
" ============================== Colors " ============================== Colors
syntax on syntax on
set background=dark set background=dark
colorscheme solarized colorscheme onedark
hi Normal ctermbg=NONE guibg=NONE hi Normal ctermbg=NONE guibg=NONE
set termguicolors
filetype indent plugin on filetype indent plugin on
" ============================== General " ============================== General
@@ -114,6 +119,39 @@ if has ("nvim")
" Avoid showing message extra message when using completion " Avoid showing message extra message when using completion
set shortmess+=c set shortmess+=c
let g:completion_trigger_keyword_length = 1
let g:completion_matching_ignore_case = 1
let g:completion_trigger_on_delete = 1
let g:completion_enable_snippet = 'Neosnippet'
let g:completion_chain_complete_list = {
\ 'default' : {
\ 'default': [
\ {'complete_items': ['lsp', 'snippet', 'path']},
\ {'mode': '<c-p>'},
\ {'mode': '<c-n>'}],
\ }
\}
set pumheight=10
endif
" ++++++++++ lsp Settings
if has ("nvim")
" Show definition
nnoremap <silent> gd <cmd>lua vim.lsp.buf.definition()<CR>
" Go to references
nnoremap <silent> gr <cmd>lua vim.lsp.buf.references()<CR>
nnoremap <silent> K <cmd>lua vim.lsp.buf.hover()<CR>
endif
" ++++++++++ neosnippet Settings
if has ("nvim")
imap <C-k> <Plug>(neosnippet_expand_or_jump)
smap <C-k> <Plug>(neosnippet_expand_or_jump)
xmap <C-k> <Plug>(neosnippet_expand_target)
endif endif
" ++++++++++ Enable Language Servers " ++++++++++ Enable Language Servers

View File

@@ -12,7 +12,8 @@ autoload -U colors && colors
precmd_vcs_info() { vcs_info } precmd_vcs_info() { vcs_info }
precmd_functions+=( precmd_vcs_info ) precmd_functions+=( precmd_vcs_info )
setopt prompt_subst setopt prompt_subst
export PROMPT="%{$fg[yellow]%}%m %{$fg[blue]%}%~%{$fg[cyan]%}\$vcs_info_msg_0_ %{$reset_color%}" GIT="%{$fg[cyan]%}\$vcs_info_msg_0_"
export PROMPT="%{$fg[yellow]%}%m %{$fg[blue]%}%~$GIT %{$reset_color%}"
zstyle ':vcs_info:git:*' formats '|%b ' zstyle ':vcs_info:git:*' formats '|%b '
# ============================== Exports # ============================== Exports

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.1 MiB

After

Width:  |  Height:  |  Size: 1.3 MiB