From 94fa75142dcca6b9b639b658814aa2895a3d3a85 Mon Sep 17 00:00:00 2001 From: Marco Thomas Date: Tue, 2 Feb 2021 10:56:01 +0100 Subject: [PATCH] Some nice i3 changes --- files/.config/i3/config | 13 ++++++------- files/.vimrc | 4 +++- 2 files changed, 9 insertions(+), 8 deletions(-) diff --git a/files/.config/i3/config b/files/.config/i3/config index e2c9c89..3369a11 100644 --- a/files/.config/i3/config +++ b/files/.config/i3/config @@ -40,22 +40,21 @@ bindsym $mod+Shift+q kill bindsym $mod+f fullscreen toggle bindsym $mod+Shift+space floating toggle -bindsym $mod+s layout toggle stacking splith +#bindsym $mod+s layout toggle stacking splith # Create splits just like in vim bindsym $mod+Shift+s split v bindsym $mod+Shift+v split h -bindsym $mod+n workspace next -bindsym $mod+p workspace prev +bindsym $mod+comma workspace prev +bindsym $mod+period workspace next # dmenu set $fg '#ffffff' -set $bg '#000000' +set $bg '#1C1B1D' set $accent '#98c379' set $font 'Product Sans:pixelsize=15' -bindsym $mod+d exec "dmenu_run -fn $font -nb $bg -sb $accent -nf $fg -sf $bg" -bindsym $mod+space exec "dmenu_run -fn $font -nb $bg -sb $accent -nf $fg -sf $bg" +bindsym $mod+d exec "dmenu_run -b -fn $font -nb $bg -sb $bg -nf $fg -sf $accent" # Screenhot bindsym $mod+Shift+p exec "flameshot gui" @@ -159,7 +158,7 @@ client.background $border # i3-gaps gaps inner 4 -smart_gaps on +#smart_gaps on # ============================== Start exec setxkbmap -layout za diff --git a/files/.vimrc b/files/.vimrc index 57d53d2..cae5dcf 100644 --- a/files/.vimrc +++ b/files/.vimrc @@ -95,10 +95,12 @@ let g:lightline.separator = { 'left': '', 'right': '' } " tab bar let g:lightline.tabline = {'left': [['buffers']]} -let g:lightline#bufferline#show_number = 1 +let g:lightline#bufferline#show_number = 2 let g:lightline#bufferline#shorten_path = 0 let g:lightline#bufferline#unnamed = '[No Name]' +"let g:lightline#bufferline#auto_hide = 4000 "let g:lightline#bufferline#enable_devicons = 1 +autocmd BufWritePost,TextChanged,TextChangedI * call lightline#update() let g:lightline.component_expand = {'buffers': 'lightline#bufferline#buffers'} let g:lightline.component_type = {'buffers': 'tabsel'}