From 3d5e10ea137070bc0bfa40756d53e856c9ead4b3 Mon Sep 17 00:00:00 2001 From: M1dgard Date: Tue, 17 Apr 2018 11:10:54 +0200 Subject: [PATCH] More stuff in my Polybar It's getting too crowded there. I should clean this mess up somehow. --- polybar/config.ini | 62 ++++++++++++++++++++++++++++++++++++---------- 1 file changed, 49 insertions(+), 13 deletions(-) diff --git a/polybar/config.ini b/polybar/config.ini index 12bdee3..c1ea630 100644 --- a/polybar/config.ini +++ b/polybar/config.ini @@ -13,9 +13,9 @@ background = #000 background-alt = #444 ;foreground = ${xrdb:color7:#222} foreground = #dfdfdf -foreground-alt = #555 +foreground-alt = #777 primary = #ffb52a -secondary = #e60053 +secondary = #ff4e4e alert = #bd2c40 [bar/midbard] @@ -63,7 +63,7 @@ font-6 = "Weather Icons:size=10;1" modules-left = i3 modules-center = date -modules-right = mpd volume battery temperature eth wlan +modules-right = mpd volume battery cpu memory temperature eth wlan tray-position = right tray-padding = 2 @@ -211,18 +211,50 @@ card = intel_backlight [module/cpu] type = internal/cpu interval = 2 -format-prefix = " " +;format-prefix = " " +format = format-prefix-foreground = ${colors.foreground-alt} format-underline = #f90000 -label = %percentage:2%% +;label = %percentage:2%% + + +; Available tokens: +; %percentage% (default) - total cpu load +; %percentage-cores% - load percentage for each core +; %percentage-core[1-9]% - load percentage for specific core +label = %percentage%% + +ramp-coreload-0 = ▁ +ramp-coreload-1 = ▂ +ramp-coreload-2 = ▃ +ramp-coreload-3 = ▄ +ramp-coreload-4 = ▅ +ramp-coreload-5 = ▆ +ramp-coreload-6 = ▇ +ramp-coreload-7 = █ [module/memory] type = internal/memory interval = 2 -format-prefix = " " -format-prefix-foreground = ${colors.foreground-alt} +format = "" +;format-prefix = " " +;format-prefix-foreground = ${colors.foreground-alt} format-underline = #4bffdc -label = %percentage_used%% +label = "%gb_used%" + +bar-used-indicator = +bar-used-width = 9 +;bar-used-foreground-0 = #55aa55 +;bar-used-foreground-1 = #557755 +;bar-used-foreground-2 = #f5a70a +;bar-used-foreground-3 = #ff5555 +bar-used-foreground-0 = ${colors.foreground} +bar-used-foreground-1 = ${colors.foreground} +bar-used-foreground-2 = ${colors.foreground} +bar-used-foreground-3 = ${colors.foreground} +bar-used-fill = | +bar-used-empty = | +bar-used-empty-foreground = #444444 [module/wlan] type = internal/network @@ -231,9 +263,11 @@ interval = 3.0 format-connected = format-connected-underline = #9f78e1 -label-connected = %essid% +label-connected = %essid% ↑%upspeed% ↓%downspeed% -format-disconnected =  +format-disconnected = +label-disconnected =  +label-disconnected-foreground = ${colors.foreground-alt} ;format-disconnected = ;format-disconnected-underline = ${self.format-connected-underline} ;label-disconnected = %ifname% disconnected @@ -253,8 +287,10 @@ interval = 3.0 format-connected-underline = #55aa55 format-connected-prefix = " " -format-connected-prefix-foreground = ${colors.foreground-alt} -label-connected = %local_ip% +format-connected-prefix-foreground = ${colors.foreground} +label-connected-foreground = ${colors.foreground-alt} +;label-connected = %local_ip% +label-connected = "↑%{T6}%upspeed%%{T-} %{T6}↓%downspeed%%{T-}" format-disconnected = ;format-disconnected = @@ -351,10 +387,10 @@ format-underline = #f50a4d ;format-warn = format-warn = "%{T4} %{T6}%{T-}" format-warn-underline = ${self.format-underline} +format-warn-foreground = ${colors.secondary} label = %temperature% label-warn = %temperature% -label-warn-foreground = ${colors.secondary} ramp-0 =  ramp-1 = 