Polybar fix

lightmode
E. Almqvist 4 years ago
parent 66b29608ee
commit c5f610e773
  1. 28
      polybar/config
  2. 9
      vimrc

@ -8,7 +8,7 @@ line = #bbb
border = #bbb border = #bbb
accent = #434d5e accent = #434d5e
accent2 = #637291 accent2 = #637291
selected = #2590db selected = #81a2be
focused = #f0c674 focused = #f0c674
#background = ${xrdb:color0:#222} #background = ${xrdb:color0:#222}
@ -55,8 +55,8 @@ padding-right = 8
module-margin = 1 module-margin = 1
modules-left = dwm modules-left = dwm
modules-center = time modules-center = cmus
modules-right = cmus pulseaudio wlan eth date modules-right = kernel filesystem pulseaudio wlan date time
################################################# #################################################
# MODULES # # MODULES #
@ -135,9 +135,9 @@ label-visible-underline = ${self.label-focused-underline}
label-visible-padding = ${self.label-focused-padding} label-visible-padding = ${self.label-focused-padding}
# urgent = Unselected tag with window that has urgency hint set # urgent = Unselected tag with window that has urgency hint set
label-urgent = [%name%] label-urgent = %name%
#label-urgent-background = ${colors.selected} label-urgent-background = ${colors.selected}
label-urgent-foreground = ${colors.selected} label-urgent-foreground = ${colors.foreground}
label-urgent-padding = 1 label-urgent-padding = 1
# empty = Unselected and unoccupied tag # empty = Unselected and unoccupied tag
@ -214,6 +214,22 @@ label = %time%
time = %H:%M:%S time = %H:%M:%S
interval = 1 interval = 1
[module/filesystem]
type = internal/fs
mount-0 = /
interval= 60
fixed-values = true
spacing = 2
format-mounted = <label-mounted>
label-mounted = %mountpoint% %free%
[module/kernel]
type = custom/script
exec = uname -r
interval = 600
format = " <label>"
label = %output%
[module/pulseaudio] [module/pulseaudio]
type = internal/pulseaudio type = internal/pulseaudio

@ -40,9 +40,9 @@ call plug#begin('~/.vim/plugged')
Plug 'preservim/nerdtree' " Tree navigation Plug 'preservim/nerdtree' " Tree navigation
Plug 'rafi/awesome-vim-colorschemes' " Theme collection Plug 'rafi/awesome-vim-colorschemes' " Theme collection
Plug 'chriskempson/base16-vim' " Theme Plug 'chriskempson/base16-vim' " Theme
Plug 'vim-airline/vim-airline' " Airline " Plug 'vim-airline/vim-airline' " Airline
Plug 'vim-airline/vim-airline-themes' " Airline themes " Plug 'vim-airline/vim-airline-themes' " Airline themes
Plug 'ajh17/vimcompletesme' " YCM but Vim " Plug 'ajh17/vimcompletesme' " YCM but Vim
Plug 'sonph/onehalf', { 'rtp': 'vim' } " theme Plug 'sonph/onehalf', { 'rtp': 'vim' } " theme
call plug#end() call plug#end()
@ -62,6 +62,9 @@ hi Normal guibg=NONE ctermbg=NONE
highlight clear LineNr highlight clear LineNr
highlight LineNr ctermfg=grey ctermbg=NONE highlight LineNr ctermfg=grey ctermbg=NONE
" Assembly
let b:asmsyntax = "nasm"
" YCM " YCM
set completeopt-=preview set completeopt-=preview
let g:ycm_show_diagnostics_ui = 0 let g:ycm_show_diagnostics_ui = 0

Loading…
Cancel
Save