From 7f58deac6296396f6d79fc2c209639eb0337bc26 Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Fri, 14 Apr 2017 15:03:39 -0500 Subject: [PATCH] Finish bar updates, vim icon font fixes, fix brightness keys --- apps/neovim/init.vim | 2 +- de/bar/polybar-config | 12 ++++++------ de/sxhkdrc | 4 ++-- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/apps/neovim/init.vim b/apps/neovim/init.vim index a235581..4a9fad6 100644 --- a/apps/neovim/init.vim +++ b/apps/neovim/init.vim @@ -80,7 +80,7 @@ else endif Plug 'vim-airline/vim-airline' " statusline -" let g:airline_powerline_fonts = 0 +let g:airline_powerline_fonts = 1 let g:airline#extensions#tabline#enabled = 1 " automatically displays all buffers when there's only one tab open let g:airline#extensions#tabline#fnamemod = ':t' " set laststatus=2 " always show statusline diff --git a/de/bar/polybar-config b/de/bar/polybar-config index 22b5ee0..cc352df 100644 --- a/de/bar/polybar-config +++ b/de/bar/polybar-config @@ -48,7 +48,7 @@ font-3 = ${env:BAR_ICON_FONT_DECLARATION} modules-left = bspwm modules-center = -modules-right = filesystem xbacklight volume xkeyboard memory cpu battery temperature date powermenu +modules-right = xbacklight volume xkeyboard filesystem memory cpu battery temperature date powermenu tray-position = right tray-padding = 2 @@ -94,7 +94,7 @@ mount-0 = /home format = label-mounted = %percentage_used%% -label-mounted-foreground = ${xrdb:color5} +label-mounted-foreground = ${xrdb:color6} format-mounted-prefix = " " format-mounted-prefix-foreground = ${colors.foreground-alt} @@ -233,18 +233,18 @@ format-disconnected = type = internal/date interval = 1 -date = "%Y-%m-%d" +date = "%Y-%m-%d " date-alt = time = %H:%M:%S time-alt = %H:%M -label-foreground = ${xrdb:color7} -format-prefix = +label-foreground = ${xrdb:color1} +format-prefix = " " format-prefix-foreground = ${colors.foreground-alt} ; format-underline = #0a6cf5 -label = %date% %time% +label = %date%%time% [module/volume] type = internal/volume diff --git a/de/sxhkdrc b/de/sxhkdrc index 919ce60..95ed8f5 100755 --- a/de/sxhkdrc +++ b/de/sxhkdrc @@ -207,10 +207,10 @@ XF86AudioPrev # monitor brightness controls for monitor birghtness keys {_,shift + }XF86MonBrightnessUp - add_percent_brightness {0.1,0.01} && update_bar_DisplayBrightness + xbacklight + 10 {_,shift + }XF86MonBrightnessDown - sub_percent_brightness {0.1,0.01} && update_bar_DisplayBrightness + xbacklight - 10 # close the current application super + c