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% label = %output%
format-background = ${xrdb:color5:#222} format-background = ${xrdb:color5:#222}
format-foreground = #ffffff
format-padding = 2 format-padding = 2
[module/i3] [module/i3]
@ -131,7 +132,9 @@ interval = 5
format-connected = <label-connected> format-connected = <label-connected>
format-connected-background = ${xrdb:color6:#222} format-connected-background = ${xrdb:color6:#222}
format-connected-foreground = #ffffff
format-disconnected-background = ${xrdb:color6:#222} format-disconnected-background = ${xrdb:color6:#222}
format-disconnected-foreground = #ffffff
format-connected-padding = 2 format-connected-padding = 2
format-disconnected-padding = 2 format-disconnected-padding = 2
@ -143,7 +146,7 @@ format-disconnected = <label-disconnected>
; <label-connected> (default) ; <label-connected> (default)
; <label-packetloss> ; <label-packetloss>
; <animation-packetloss> ; <animation-packetloss>
format-packetloss = <animation-packetloss> <label-connected> format-packetloss = <label-connected>
; Available tokens: ; Available tokens:
; %ifname% [wireless+wired] ; %ifname% [wireless+wired]
@ -175,22 +178,6 @@ label-disconnected-foreground = #66ffffff
label-packetloss = %essid% label-packetloss = %essid%
label-packetloss-foreground = #eefafafa 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] [module/date]
type = internal/date type = internal/date
@ -221,7 +208,9 @@ type = internal/battery
full-at = 98 full-at = 98
format-discharging-background = ${xrdb:color4:#222} format-discharging-background = ${xrdb:color4:#222}
format-discharging-foreground = #ffffff
format-charging-background = ${xrdb:color4:#222} format-charging-background = ${xrdb:color4:#222}
format-charging-foreground = #ffffff
format-charging-padding = 2 format-charging-padding = 2
format-discharging-padding = 2 format-discharging-padding = 2
@ -237,14 +226,14 @@ time-format = %H:%M
; <bar-capacity> ; <bar-capacity>
; <ramp-capacity> ; <ramp-capacity>
; <animation-charging> ; <animation-charging>
format-charging = <animation-charging> <label-charging> format-charging = <label-charging>
; Available tags: ; Available tags:
; <label-discharging> (default) ; <label-discharging> (default)
; <bar-capacity> ; <bar-capacity>
; <ramp-capacity> ; <ramp-capacity>
; <animation-discharging> ; <animation-discharging>
format-discharging = <ramp-capacity> <label-discharging> format-discharging = <label-discharging>
; Available tags: ; Available tags:
; <label-full> (default) ; <label-full> (default)
@ -268,33 +257,8 @@ label-discharging = dis: %percentage%%
; %percentage% (default) ; %percentage% (default)
label-full = full 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 ; Only applies if <bar-capacity> is used
bar-capacity-width = 10 ;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
[module/xwindow] [module/xwindow]
type = internal/xwindow type = internal/xwindow

View File

@ -6,3 +6,19 @@ so ~/.vim/plugins.vim
map <C-n> :NERDTreeToggle<CR> map <C-n> :NERDTreeToggle<CR>
set laststatus=2 set laststatus=2
set noshowmode 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