From 8c2a527acbcb68123d86e40fb59c48967b203c23 Mon Sep 17 00:00:00 2001 From: Eduardo Bizarro Date: Wed, 4 Apr 2018 14:33:16 -0300 Subject: [PATCH] polybar and i3 --- i3/.config/polybar/config | 111 ++++++++++++++------------------------ i3/.i3/config | 43 ++++++++++++--- xresources/.Xresources | 17 ++---- 3 files changed, 81 insertions(+), 90 deletions(-) diff --git a/i3/.config/polybar/config b/i3/.config/polybar/config index b2e6f63..135113e 100755 --- a/i3/.config/polybar/config +++ b/i3/.config/polybar/config @@ -23,26 +23,25 @@ override-redirect = true [bar/bottom] -#monitor = HDMI-1 margin-top = 5 padding-right = 2 padding-left = 2 width = 100% height = 32 -font-0 = Misc Ohsnap:size=14 +font-0 = Misc Ohsnap:size=16 font-1 = icomoon:size=12 -font-2 = cryptocoins:style=Regular:size=12 +font-2 = mplus Nerd Font:style=Regular:size=14 font-3 = Wuncon Siji:style=Regular:size=12 bottom = true background = ${colors.background} foreground = ${colors.foreground} modules-right = mpd modules-left = crypto +modules-center = date [bar/top] -#monitor = HDMI-1 width = 100% -height = 32 +height = 30 border-size = 0 border-top-size = 0 border-left-size = 0 @@ -50,38 +49,32 @@ border-right-size = 0 border-bottom-size = 0 radius = 0 line-size = 0 -spacing = 1 +spacing = 0 offset-x = 0 offset-y = 0 padding-left = 0 padding-right = 2 -font-0 = Misc Ohsnap:size=14 +font-0 = Misc Ohsnap:size=16 font-1 = icomoon:size=12 -font-2 = cryptocoins:style=Regular:size=12 +font-2 = mplus Nerd Font:style=Regular:size=14 font-3 = Wuncon Siji:style=Regular:size=12 background = ${colors.background} foreground = ${colors.foreground} -module-margin-left = 1 +module-margin-left = 3 module-margin-right = 0 modules-left = i3 -modules-center = date +modules-center = xwindow modules-right = volume wlan battery powermenu -tray-position = +tray-position = right +tray-background = ${colors.background} [module/crypto] type = custom/script interval = 300 exec = ~/.config/polybar/crypto.py -[module/memory] -type = internal/memory -interval = 2 -format-prefix = " " -format-prefix-foreground = ${colors.foreground} -label = %percentage_used%% - [module/xwindow] type = internal/xwindow label = %title:0:30:...% @@ -124,15 +117,15 @@ label-visible = %icon% label-visible-background = ${colors.background} label-visible-padding = 2 -ws-icon-0 = 1; -ws-icon-1 = 2; -ws-icon-2 = 3; -ws-icon-3 = 4; -ws-icon-4 = 5; -ws-icon-5 = 6; -ws-icon-6 = 7; -ws-icon-7 = 8; -ws-icon-default = +ws-icon-0 = 1; +ws-icon-1 = 2; +ws-icon-2 = 3; +ws-icon-3 = 4; +ws-icon-4 = 5; +ws-icon-5 = 6; +ws-icon-6 = 7; +ws-icon-7 = 8; +ws-icon-default = [module/mpd] type = internal/mpd @@ -146,11 +139,11 @@ format-online = label-song = %artist% - %title% label-offline = --- format-offline = -icon-prev =  +icon-prev =  icon-stop =  -icon-play =  -icon-pause =  -icon-next =  +icon-play =  +icon-pause =  +icon-next =  icon-random =  icon-repeat =  @@ -160,59 +153,35 @@ toggle-off-foreground = ${colors.foreground-alt} bar-progress-width = 30 bar-progress-format = %{A4:mpdseek+2: A5:mpdseek-2:}%fill%%indicator%%empty%%{A A} -bar-progress-indicator = | +bar-progress-indicator = > bar-progress-indicator-foreground = ${colors.foreground} -bar-progress-fill = ─ +bar-progress-fill = - bar-progress-fill-foreground = ${colors.foreground} -bar-progress-empty = ─ +bar-progress-empty = - bar-progress-empty-foreground = ${colors.foreground} -[module/xbacklight] -type = internal/xbacklight - -format =