removing redundant polybar ramp code

This commit is contained in:
aj 2019-02-10 13:19:07 +00:00
parent 5bb59c4b60
commit c40e8672d0
2 changed files with 25 additions and 45 deletions

View File

@ -89,6 +89,7 @@ interval = 600
label = %output%
format-background = ${xrdb:color5:#222}
format-foreground = #ffffff
format-padding = 2
[module/i3]
@ -131,7 +132,9 @@ interval = 5
format-connected = <label-connected>
format-connected-background = ${xrdb:color6:#222}
format-connected-foreground = #ffffff
format-disconnected-background = ${xrdb:color6:#222}
format-disconnected-foreground = #ffffff
format-connected-padding = 2
format-disconnected-padding = 2
@ -143,7 +146,7 @@ format-disconnected = <label-disconnected>
; <label-connected> (default)
; <label-packetloss>
; <animation-packetloss>
format-packetloss = <animation-packetloss> <label-connected>
format-packetloss = <label-connected>
; Available tokens:
; %ifname% [wireless+wired]
@ -175,22 +178,6 @@ label-disconnected-foreground = #66ffffff
label-packetloss = %essid%
label-packetloss-foreground = #eefafafa
; Only applies if <ramp-signal> is used
ramp-signal-0 = 😱
ramp-signal-1 = 😠
ramp-signal-2 = 😒
ramp-signal-3 = 😊
ramp-signal-4 = 😃
ramp-signal-5 = 😈
; Only applies if <animation-packetloss> is used
animation-packetloss-0 = ⚠
animation-packetloss-0-foreground = #ffa64c
animation-packetloss-1 = 📶
animation-packetloss-1-foreground = #000000
; Framerate in milliseconds
animation-packetloss-framerate = 500
[module/date]
type = internal/date
@ -221,7 +208,9 @@ type = internal/battery
full-at = 98
format-discharging-background = ${xrdb:color4:#222}
format-discharging-foreground = #ffffff
format-charging-background = ${xrdb:color4:#222}
format-charging-foreground = #ffffff
format-charging-padding = 2
format-discharging-padding = 2
@ -237,14 +226,14 @@ time-format = %H:%M
; <bar-capacity>
; <ramp-capacity>
; <animation-charging>
format-charging = <animation-charging> <label-charging>
format-charging = <label-charging>
; Available tags:
; <label-discharging> (default)
; <bar-capacity>
; <ramp-capacity>
; <animation-discharging>
format-discharging = <ramp-capacity> <label-discharging>
format-discharging = <label-discharging>
; Available tags:
; <label-full> (default)
@ -268,33 +257,8 @@ label-discharging = dis: %percentage%%
; %percentage% (default)
label-full = full
; Only applies if <ramp-capacity> is used
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
ramp-capacity-3 = 
ramp-capacity-4 = 
; Only applies if <bar-capacity> is used
bar-capacity-width = 10
; Only applies if <animation-charging> is used
animation-charging-0 = 
animation-charging-1 = 
animation-charging-2 = 
animation-charging-3 = 
animation-charging-4 = 
; Framerate in milliseconds
animation-charging-framerate = 750
; Only applies if <animation-discharging> is used
animation-discharging-0 = 
animation-discharging-1 = 
animation-discharging-2 = 
animation-discharging-3 = 
animation-discharging-4 = 
; Framerate in milliseconds
animation-discharging-framerate = 500
;bar-capacity-width = 10
[module/xwindow]
type = internal/xwindow

View File

@ -6,3 +6,19 @@ so ~/.vim/plugins.vim
map <C-n> :NERDTreeToggle<CR>
set laststatus=2
set noshowmode
set showmatch
let g:lightline = {
\ 'colorscheme': 'srcery_drk',
\ }
set number
syntax on
let g:NERDTreeDirArrowExpandable = '▸'
let g:NERDTreeDirArrowCollapsible = '▾'
autocmd StdinReadPre * let s:std_in=1
autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
autocmd bufenter * if (winnr("$") == 1 && exists("b:NERDTree") && b:NERDTree.isTabTree()) | q | endif