Show Us Your Polybar

I am looking , I am still missing something in polybar config file ( on DK ) due to which I am unable to see ws ( active and non-active ) .

Post your current polybar and dkrc configs

Here
polybar config

dkrc

You can’t even see the active ws?

yes , no ws whatsoever , I have to remember where to I moved a open window and go there by super+digit e.g super+3 is where I just moved open pcmanfm but I cant see it on polybar as a ws, nor do i see ws1 where this firefox is open now

I’d have to try this config on my AL install later, can’t see what’s wrong with the config rn

1 Like

Kill and start your polybar from a terminal. If a module isn’t working, polybar can/might show an error message.

Edit - your polybar workspaces module works on my ArchLabs system. I started polybar from a terminal and no error messages.

3 Likes

How are you trying to start polybar, from your ~/.config/dk/dkrc or from another startup file like ~/.xinitrc

You have this line in your dkrc:

$HOME/.config/polybar/polybar saleem &

You would need to have polybar installed in $HOME/.config/polybar and the bar would need to be named saleem. The bar in your config file is named β€œbottom”.

Do you see any of your polybar?

2 Likes

@PackRat thats how I test my polybar and with this method I see no error output in terminal

@PackRat from my .xprofile , I tried to start it from dkrc but it wont start ( forgot to remove that line from dkrc )

My polybar is installed in " $HOME/.config/polybar" and current one is bottom ( I am testing this bottom bar now and both polybar saleem and polybar bottom start from .xprofile whichever I enable , shows other modules icons but both show none of the ws ( active or non active )

yes I can see a polybar whichever I start i.e bottom or saleem

you can see in the screenshot that on the right side icons for different modules are visible and on left side jgmenu icon is visible but there are no ws visible even that I have many windows open in different ws at this moment

@PackRat I guess I found out why ws do not show on polybar for me .

shouldn’t it be
[module/ewmh]
type = internal/xworkspaces

rather than
[module/xdesktops]
type = internal/xworkspaces
as shown in module for xdesktops in polyar posted by you?

Does that work for you?

I could see the workspaces with your config files on my AL setup, and the active workspace was hilighted. This might be more than a polybar issue for you.

Can you switch to workspace 2, 3 etc… in dk (I don’t remember if you pointed that out up thread)? Or do you only have the one?

1 Like

afaik the name doesn’t really matter as longs as it is type = internal/xworkspaces

1 Like

@saleem try this whole config instead of yours. Don’t mind the icons and fonts, just check if you can see the workspaces

config

;=====================================================
; The system tray and other default values for bars
; inheriting from master are enabled in master.conf
;
; modules.conf contains all the modules that can be
; added to a bar (NOTE: some will require configuration)

[section/base]
include-file = /home/rml/.config/polybar/master.conf
include-file = /home/rml/.config/polybar/modules.conf


;=====================================================
; Yaxwm Bars

[bar/yax-bar]
inherit = bar/master

; Use $ xrandr -q | grep " connected" | cut -d ' ' -f1
monitor =

modules-left   = xdesktops 
modules-center =
modules-right  = eth wlan cpu mem ssd updates-arch-combined pulseaudio battery sep date

master.conf

;=====================================================
;     Colors & Settings
;=====================================================

[colors]
background = #202020
;background = #005577
;foreground = #bbbbbb
;foreground = #afafd7
foreground = #dcdcfa

;colors for icons #475166 #928374

[settings]
throttle-output = 5
throttle-output-for = 10
throttle-input-for = 30
compositing-background = source
compositing-foreground = source
compositing-overline = source
compositing-underline = source
compositing-border = source
screenchange-reload = true
format-foreground = ${colors.foreground}
format-background = ${colors.background}

;=====================================================
;    Master Bar
;=====================================================

[bar/master]
width = 100%
height = 15
border-size = 0
border-top-size = 0
border-bottom-size = 0
radius = 0
bottom = false
line-size = 3

font-0 = "Siji:size=8;2"
font-1 = monospace:style=Regular:antialias=true:size=8;2
;font-1 = mononoki Nerd Font mono:style=Regular:antialias=true:autohint=true:size=7;2
font-2 = FontAwesome5Free:style=Solid:size=7;2
font-3 = FontAwesome5Free:style=Regular:size=7;2
font-4 = FontAwesome5Brands:style=Regular:size=7;2
;font-2 = JoyPixels:scale=18:style=Regular;1
;font-3 = Inconsolata Nerd Font:style=Medium:antialias=true:autohint=true:size=7.5;1

offset-x = 0
offset-y = 0
fixed-center = true
;border-color = ${colors.blue}
background = ${colors.background}
foreground = ${colors.foreground}
module-margin = 0
padding-right = 0
padding-left = 0
;separator = "|"
tray-position = right

; shows which modules have click actions
;cursor-click = pointer

;wm-restack = bspwm
enable-ipc = true

modules.conf

[module/xdesktops]

type = internal/xworkspaces

; Only show workspaces defined on the same output as the bar

;

; Useful if you want to show monitor specific workspaces

; on different bars

;

; Default: false

pin-workspaces = true

; Create click handler used to focus desktop

; Default: true

enable-click = true

; Create scroll handlers used to cycle desktops

; Default: true

enable-scroll = false

reverse-scroll = false

fuzzy-match = false

; icon-[0-9]+ = <desktop-name>;<icon>

; NOTE: The desktop name needs to match the name configured by the WM

; You can get a list of the defined desktops using:

; $ xprop -root _NET_DESKTOP_NAMES

icon-0 = 1;

icon-1 = 2;

icon-2 = 3;

icon-3 = 4;

icon-4 = 5;

icon-5 = 6;

icon-6 = 7;

icon-7 = 8;

icon-8 = 9;

icon-9 = 10;

icon-default =

; Available tags:

; <label-monitor>

; <label-state> - gets replaced with <label-(active urgent occupied empty)>

; Default: <label-state>

format = <label-state>

; Available tokens:

; %name%

; Default: %name%

label-monitor = %name%

; Available tokens:

; %name%

; %icon%

; %index%

; Default: %icon% %name%

label-active = "%{T5}%name%%{T-}"

;label-active-background = #225588

;label-active-background = #005577

;label-active-foreground = #eeeeee

label-active-foreground = #6699CC

;label-active-foreground = #5bb955

;label-active-foreground = #eeeeee

label-active-padding = 1

; Available tokens:

; %name%

; %icon%

; %index%

; Default: %icon% %name%

label-occupied = "%{T5}%name%%{T-}"

label-occupied-foreground = #bcbcdc

;label-occupied-foreground = ${colors.foreground}

label-occupied-background = #202020

label-occupied-padding = 1

; Available tokens:

; %name%

; %icon%

; %index%

; Default: %icon% %name%

label-urgent = "%{T5}%name%%{T-}"

label-urgent-foreground = ${colors.foreground}

label-urgent-background = #dd2727

label-urgent-padding = 1

; Available tokens:

; %name%

; %icon%

; %index%

; Default: %icon% %name%

;label-empty =

label-empty = "%{T5}%name%%{T-}"

label-empty-foreground = #444444

label-empty-background = #202020

label-empty-padding = 1

[module/date]

type = internal/date

interval = 60

date = %a

time = "%d-%m-%y %R "

format-padding = 0

format-background = #202020

;format-foreground = 96c6f8

format-foreground = ${colors.foreground}

;format-prefix ="πŸ“…"

format-prefix =""

;format-prefix ="ο€—"

format-prefix-foreground = #667c9d

label = %date% %time%

[module/cpu]

type = internal/cpu

;label = ο‚€ %percentage%%

format = <label>

format-background = #202020

;format-foreground = #7f3fbf

;format-foreground = ${colors.foreground}

format-prefix = ξ‚‚

;format-prefix = ο‹›

;format-prefix = πŸ’»

format-prefix-foreground = #667c9d

format-prefix-background = #202020

label = %percentage%%

label-padding = 0

;label-foreground = #475166

format-prefix-padding = 0

[module/pulseaudio]

type = internal/pulseaudio

; Sink to be used, if it exists (find using `pacmd list-sinks`, name field)

; If not, uses default sink

sink = alsa_output.pci-0000_12_00.3.analog-stereo

; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false

; Default: true

use-ui-max = true

; Interval for volume increase/decrease (in percent points)

; Default: 5

interval = 5

; Available tags:

; <label-volume> (default)

; <ramp-volume>

; <bar-volume>

label-volume = %percentage%%

format-volume = <ramp-volume><label-volume>

format-volume-background = #202020

;label-volume =   ο­Ύ ο©½  β™ͺ ο’…

label-volume-padding = 0

;label-volume-foreground = #208273

;label-volume-foreground = ${colors.foreground}

format-muted-prefix = ""

format-muted-prefix-foreground = #667c9d

format-muted-background = #202020

;label-muted = "πŸ”‡"

label-muted = "muted"

;label-muted = ""

label-muted-foreground = ${colors.foreground}

ramp-volume-0 = 

ramp-volume-1 = 

ramp-volume-2 = 

ramp-volume-3 = 

ramp-volume-4 = 

;ramp-volume-0 = πŸ”ˆ

;ramp-volume-1 = πŸ”‰

;ramp-volume-2 = πŸ”‰

;ramp-volume-3 = πŸ”Š

;ramp-volume-0 = 

;ramp-volume-1 = 

;ramp-volume-2 = 

;ramp-volume-3 = 

ramp-volume-foreground = #667c9d

;ramp-volume-foreground = #208273

[module/eth]

type = internal/network

interface = enp3s0

interval = 3.0

format-connected-prefix = ξ€Œ

;format-connected-prefix = ο›Ώ

;format-connected-foreground = #208273

format-connected-prefix-foreground = #667c9d

;format-prefix-foreground = #475166

format-connected-background = #202020

format-connected-prefix-background = #202020

;label-connected = 🌐

label-connected = %ifname%

format-disconnected =

;format-disconnected = <label-disconnected>

format-disconnected-prefix = ξ‚³

format-disconnected-prefix-foreground = #96c6f8

format-disconnected-background = #202020

;label-disconnected = eth

;label-disconnected = ❎

[module/wlan]

type = internal/network

interface = wlan0

interval = 300

;format-connected = πŸ“Ά<label-connected>%

;format-connected = <label-connected>%

format-connected = <ramp-signal><label-connected>%

format-connected-background = #202020

;format-connected-foreground = #96c6f8

;format-connected-foreground = ${colors.foreground}

format-connected-padding = 0

label-connected = %signal%

format-disconnected = <label-disconnected>

format-disconnected-prefix = ξ‚³

;format-disconnected-prefix = πŸ“‘

format-disconnected-prefix-foreground = #667c9d

;format-disconnected-foreground = #96c6f8

format-disconnected-background = #202020

label-disconnected = x

; Only applies if <ramp-signal> is used

ramp-signal-0 = 

ramp-signal-1 = 

ramp-signal-2 = 

ramp-signal-3 = 

ramp-signal-4 = 

ramp-signal-foreground = #475166

[module/internet]

type = custom/script

exec = ~/.local/bin/statusbar/internet

interval = 10

format-foreground = ${colors.foreground}

format-background = #202020

[module/battery]

type = internal/battery

battery = BAT0

adapter = ADP1

full-at = 100

;format-charging = <animation-charging> <label-charging>

;label-charging =  %percentage%%

;format-charging-foreground = #dbcb75

;;format-charging-foreground = ${colors.foreground}

;format-charging-background = ${colors.background}

;

;format-discharging = <ramp-capacity> <label-discharging>

;label-discharging =  %percentage%%

;format-discharging-foreground = #dbcb75

;;format-discharging-foreground = ${colors.foreground}

;format-discharging-background = ${colors.background}

;

;format-full-prefix = " "

;format-full-prefix-foreground = #dbcb75

;format-full-foreground = #dbcb75

;;format-full-foreground = ${colors.foreground}

;format-full-background = ${colors.background}

;

;ramp-capacity-0 = 

;ramp-capacity-1 = 

;ramp-capacity-2 = 

;ramp-capacity-3 = 

;ramp-capacity-4 = 

;ramp-capacity-foreground = #dbcb75

;

;animation-charging-0 = 

;animation-charging-1 = 

;animation-charging-2 = 

;animation-charging-3 = 

;animation-charging-4 = 

;animation-charging-foreground = #dbcb75

;animation-charging-framerate = 750

format-charging = <animation-charging><label-charging>

;format-charging = πŸ”Œ<label-charging>

format-charging-background = #202020

format-charging-foreground = ${colors.foreground}

format-charging-padding = 0

label-charging = %percentage%%

;format-discharging = πŸ”‹<label-discharging>

format-discharging = <ramp-capacity><label-discharging>

format-discharging-background = #202020

format-discharging-foreground = ${colors.foreground}

format-discharging-padding = 0

label-discharging = %percentage%%

format-full-background = #202020

format-full-foreground = ${colors.foreground}

format-full-padding = 0

;format-full-prefix =πŸ”Œ

format-full-prefix =ξ€³

format-full-prefix-foreground = #667c9d

label-full = 100%

; Only applies if <ramp-capacity> is used

ramp-capacity-0 = ξ€°

ramp-capacity-1 = ξ€°

ramp-capacity-2 = ξ€±

ramp-capacity-3 = ξ€±

ramp-capacity-4 = ξ€²

ramp-capacity-5 = ξ€²

ramp-capacity-6 = ξ€²

ramp-capacity-7 = ξ€³

ramp-capacity-8 = ξ€³

ramp-capacity-9 = ξ€³

ramp-capacity-foreground = #667c9d

; Only applies if <animation-charging> is used

animation-charging-0 = ξ€°

animation-charging-1 = ξ€±

animation-charging-2 = ξ€²

animation-charging-3 = ξ€³

animation-charging-foreground = #667c9d

; Framerate in milliseconds

animation-charging-framerate = 750

[module/updates-arch-combined]

type = custom/script

exec = ~/.config/polybar/scripts/updates-arch-combined.sh

interval = 600

label = %output%

;format-foreground = #96c6f8

;format-foreground = ${colors.foreground}

format-background = #202020

format-padding = 0

;format-prefix = ""

;format-prefix = "πŸ“¦"

format-prefix = ""

;format-prefix-background = #202020

format-prefix-foreground = #667c9d

[module/xwindow]

type = internal/xwindow

label = " %title:0:80:...% "

format-foreground = ${colors.foreground}

;format-foreground = #eeeeee

;format-foreground = #111111

;format-foreground = #8383ba

;format-background = #475166

[module/ssd]

type = custom/script

exec = ~/.config/polybar/scripts/disk

interval = 600

label = %output%

label-padding =

;format-foreground = #667c9d

;format-foreground = ${colors.foreground}

format-background = #202020

;format-prefix = "🏠"

;format-prefix = "ο‚ "

format-prefix = "ξ‚²"

format-prefix-foreground = #667c9d

[module/mem]

type = custom/script

exec = ~/.config/polybar/scripts/mem.sh

interval = 3

label = %output%

label-padding =

;format-foreground = #e07221

;format-foreground = ${colors.foreground}

format-background = #202020

;format-prefix = "🧠"

format-prefix = ""

;format-prefix = "ο”Έ"

format-prefix-foreground = #667c9d
3 Likes

Yes I can switch to different work spaces by super+number ( e.g super+2 or 3 …so on ) to different workstations but they never show in bar , I have to remember where an open window e.g a browser was or just guess it or keep switching between wks till I find my desired one.

You are right , this is more than a polybar issue , I just used polybar settings pasted by @rml and I still don`t see any ws. One weird thing is whenever I start firefox it snaps to ws 9 always ( now I remember the ws number where it snaps to ) . Same occurs for pcmanfm , it snaps to ws 3 everytime and as usual none of these workstations are visible on polybar

tested and does not work as I mentioned in reply to @PackRat in earlier post

Current polybar for dk window manager on ArchLabs -

config - the system tray is still a bit buggy but usually works

;; polybar configuration file
;; 09-28-2018
;;

;; file includes

;; change USER to actual user name
[section/base]
include-file = /home/USER/.config/polybar/master.conf
include-file = /home/USER/.config/polybar/modules.conf

[bar/yaxwm-bar]
inherit = bar/master

modules-left = appmenu yaxwm-desktops
modules-center =
modules-right = coregraph ramgraph battgraph wifi-net chronos

; Position of the system tray window
; If empty or undefined, tray support will be disabled
; NOTE: A center aligned tray will cover center aligned modules
;
; Available positions:
;   left
;   center
;   right
tray-position = right

; If true, the bar will not shift its
; contents when the tray changes
;tray-detached = false

; Tray icon max size
tray-maxsize = 18

; Enable pseudo transparency
; Will automatically be enabled if a fully transparent
; background color is defined using `tray-background`
; tray-transparent = false

; Background color for the tray container
; By default the tray container will use the bar
; background color.
; Note: 32 bit alpha blending is not supported.
;tray-background = ${colors.background}

; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
;tray-offset-x = 0
;tray-offset-y = 0

; Pad the sides of each tray icon
tray-padding = 1

; Scale factor for tray clients
;tray-scale = 1.0

master.conf

;; master settings
;;

;; colors

[colors]
background = #F2191A1A
foreground = #CFCFCF
border     = #BF232323
black      = #090909
white      = #F3F3F3
gray       = #808080
dimgray    = #696969
palegray   = #313E47
darkgray   = #24262C
red        = #990000
dimred     = #A62E2E
orange     = #CD8500
dimorange  = #A67432
yellow     = #D1D119
dimyellow  = #A6A62E
green      = #3A594F
dimgreen   = #576657
blue       = #123599
dimblue    = #334E69
purple     = #521082
dimpurple  = #942F94
cyan       = #15ADAD
dimcyan    = #3F8B8B
darkcyan   = #0D2C36
urgent     = #E01B30
golden     = #5E5946
brown      = #A53E2A
dimbrown   = #CC543D

[settings]
throttle-output        = 5
throttle-output-for    = 10
;throttle-input-for     = 30
compositing-background = source
compositing-foreground = source
compositing-overline   = source
compositing-underline  = source
compositing-border     = source
screenchange-reload    = true

format-foreground = ${colors.foreground}
format-background = ${colors.background}

[bar/master]
; Use either of the following command to list available outputs:
; If unspecified, the application will pick the first one it finds.
; $ polybar -m | cut -d ':' -f 1
; $ xrandr -q | grep " connected" | cut -d ' ' -f1
monitor = LVDS1

; Use the specified monitor as a fallback if the main one is not found.
monitor-fallback = LVDS1

; Require the monitor to be in connected state
; XRandR sometimes report my monitor as being disconnected (when in use)
monitor-strict = false

width              = 100%
height             = 20
border-size        = 0
border-top-size    = 0
border-bottom-size = 1
;radius             = 0
radius-top         = 0
radius-bottom      = 0
bottom             = false
line-size          = 2
offset-x           = 0
offset-y           = 0
fixed-center       = true
wm-name            = ZoeBar

border-color       = ${colors.border}
background         = ${colors.background}
foreground         = ${colors.foreground}

module-margin = 2
padding-right = 0
padding-left = 0
;separator = :

;click-right = jgmenu_run
click-middle = pkill -USR1 -x polybar
;click-left = rofi-show
;scroll-up =
;scroll-down =
;double-click-left =
;double-click-middle =
;double-click-right =

font-0 = "Roboto Mono:size=10:regular:antialias=true:hintstyle=slight;2"
font-1 = "DejaVu Markup:style=Book:size=10:antialias=true:hintstyle=slight;2"
font-2 = "DejaVu Sans Mono:size=10:book:antialias=true:hintstyle=slight;2"
font-3 = "Mononoki Nerd Font:size=10:regular:antialias=true:hintstyle=slight;2"

[global/wm]
; Adjust the _NET_WM_STRUT_PARTIAL top value
; Used for top aligned bars
; match margin setting in wm like openbox
margin-bottom = 0

; Adjust the _NET_WM_STRUT_PARTIAL bottom value
;   Used for bottom aligned bars
margin-top = 0

modules.conf

;;;;;;;;;;;;;;;
;;   jgmenu  ;;
;;;;;;;;;;;;;;;
[module/appmenu]
type = custom/script
format-background = ${colors.background}
format-foreground = ${colors.dimgray}
label         = %output%
label-padding = 2
interval      = 10
;exec          = echo ""
exec          = echo ""
;; change path and file as needed
click-left    = jgmenu --config-file=/home/doug/.config/jgmenu/jgbarmenurc
click-right   = jgmenu --config-file=/home/doug/.config/jgmenu/jgbarmenurc
click-middle  = rofi_run -l

;;; yaxwm
;;;
[module/yaxwm-desktops]
type = internal/xworkspaces

; Only show workspaces defined on the same output as the bar
;
; Useful if you want to show monitor specific workspaces
; on different bars
;
; Default: false
pin-workspaces = false

; Create click handler used to focus desktop
; Default: true
enable-click = true

; Create scroll handlers used to cycle desktops
; Default: true
enable-scroll = false
reverse-scroll = false
fuzzy-match = true

; icon-[0-9]+ = <desktop-name>;<icon>
; NOTE: The desktop name needs to match the name configured by the WM
; You can get a list of the defined desktops using:
; $ xprop -root _NET_DESKTOP_NAMES
icon-0 = 1;
icon-1 = 2;
icon-2 = 3;
icon-3 = 4;
icon-4 = 5;
icon-5 = 6;
icon-6 = 7;
icon-7 = 8;
icon-8 = 9;
icon-9 = 10;
icon-default =

; Available tags:
;   <label-monitor>
;   <label-state> - gets replaced with <label-(active|urgent|occupied|empty)>
; Default: <label-state>
format = <label-state>

; Available tokens:
;   %name%
; Default: %name%
label-monitor = %name%

; Available tokens:
;   %name%
;   %icon%
;   %index%
; Default: %icon%  %name%
label-active = " %name% "
label-active-foreground = ${colors.white}
label-active-background = ${colors.dimblue}
label-active-underline = ${colors.dimblue}

; Available tokens:
;   %name%
;   %icon%
;   %index%
; Default: %icon%  %name%
label-occupied = " %name% "
label-occupied-foreground = ${colors.white}
label-occupied-background = ${colors.darkgray}
label-occupied-underline = ${colors.darkgray}


; Available tokens:
;   %name%
;   %icon%
;   %index%
; Default: %icon%  %name%
label-urgent = " %name "
label-urgent-foreground = ${colors.foreground}
label-urgent-background = ${colors.urgent}
;label-urgent-underline = ${colors.urgent}

; Available tokens:
;   %name%
;   %icon%
;   %index%
; Default: %icon%  %name%
label-empty = " %name% "
label-empty-foreground = ${colors.dimgray}
label-empty-background = ${colors.background}

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Single Core - avg all cores ;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[module/coregraph]
type = internal/cpu

; Seconds to sleep between updates
; Default: 1
interval = 1

; Available tags:
;   <label> (default)
;   <bar-load>
;   <ramp-load>
;   <ramp-coreload>
format = "<label> <bar-load>"
; format = <label>

format-padding = 0
format-background = ${colors.background}
format-foreground = ${colors.dimgray}

; Available tokens:
;   %percentage% (default) - total cpu load
;   %percentage-cores% - load percentage for each core
;   %percentage-core[1-9]% - load percentage for specific core
; label = CPU:%percentage:3%%
label = ""

ramp-coreload-0 = 
ramp-coreload-0-foreground = ${colors.dimgray}
ramp-coreload-1 = 
ramp-coreload-1-foreground = ${colors.dimgray}
ramp-coreload-2 = 
ramp-coreload-2-foreground = ${colors.green}
ramp-coreload-3 = 
ramp-coreload-3-foreground = ${colors.green}
ramp-coreload-4 = 
ramp-coreload-4-foreground = ${colors.yellow}
ramp-coreload-5 = 
ramp-coreload-5-foreground = ${colors.yellow}
ramp-coreload-6 = 
ramp-coreload-6-foreground = ${colors.pink}
ramp-coreload-7 = 
ramp-coreload-7-foreground = ${colors.urgent}

ramp-load-0 = 
ramp-load-0-foreground = ${colors.dimgray}
ramp-load-1 = 
ramp-load-1-foreground = ${colors.cyan}
ramp-load-2 = 
ramp-load-2-foreground = ${colors.green}
ramp-load-3 = 
ramp-load-3-foreground = ${colors.yellow}
ramp-load-4 = 
ramp-load-4-foreground = ${colors.orange}
ramp-load-5 = 
ramp-load-5-foreground = ${colors.red}
ramp-load-6 = 
ramp-load-6-foreground = ${colors.urgent}

; Only applies if <bar-load> is used
bar-load-indicator =
bar-load-width = 11
bar-load-foreground-0 = ${colors.dimgray}
bar-load-foreground-1 = ${colors.dimgray}
bar-load-foreground-2 = ${colors.dimgray}
bar-load-foreground-3 = ${colors.dimgray}
bar-load-foreground-4 = ${colors.dimgray}
bar-load-foreground-5 = ${colors.dimgray}
bar-load-foreground-6 = ${colors.dimgray}
bar-load-foreground-7 = ${colors.dimgray}
bar-load-foreground-8 = ${colors.dimyellow}
bar-load-foreground-9 = ${colors.dimred}
;bar-load-foreground-10 = ${colors.urgent}
bar-load-fill = ▐
bar-load-empty = ▐
bar-load-empty-foreground = ${colors.darkgray}

;;;;;;;;;
;; MEM ;;
;;;;;;;;;
[module/ramgraph]
type = internal/memory

format-padding = 0
format-background = ${colors.background}
format-foreground = ${colors.dimgray}

; Seconds to sleep between updates
; Default: 1
interval = 1

; Available tags:
;   <label> (default)
;   <bar-used>
;   <bar-free>
;   <ramp-used>
;   <ramp-free>
format = <label> <bar-used>
;format = <bar-used>
;format = <label>

; Available tokens:
;   %percentage_used% (default)
;   %percentage_free%
;   %gb_used%
;   %gb_free%
;   %gb_total%
;   %mb_used%
;   %mb_free%
;   %mb_total%
;   %percentage_swap_used%
;   %percentage_swap_free%
;   %mb_swap_total%
;   %mb_swap_free%
;   %mb_swap_used%
;   %gb_swap_total%
;   %gb_swap_free%
;   %gb_swap_used%

; label = " RAM:%percentage_used:3%% "
label = "ο‹›"

; Only applies if <bar-used> is used
bar-used-indicator =
bar-used-width = 11
bar-used-foreground-0 = ${colors.dimgray}
bar-used-foreground-1 = ${colors.dimgray}
bar-used-foreground-2 = ${colors.dimgray}
bar-used-foreground-3 = ${colors.dimgray}
bar-used-foreground-4 = ${colors.dimgray}
bar-used-foreground-5 = ${colors.dimgray}
bar-used-foreground-6 = ${colors.dimgray}
bar-used-foreground-7 = ${colors.dimgray}
bar-used-foreground-8 = ${colors.dimyellow}
bar-used-foreground-9 = ${colors.dimred}
;bar-used-foreground-10 = ${colors.urgent}
bar-used-fill = ▐
bar-used-empty = ▐
bar-used-empty-foreground = ${colors.darkgray}

; Only applies if <ramp-used> is used
ramp-used-0 = ▁
ramp-used-1 = β–‚
ramp-used-2 = β–ƒ
ramp-used-3 = β–„
ramp-used-4 = β–…
ramp-used-5 = β–†
ramp-used-6 = β–‡
ramp-used-7 = β–ˆ

; Only applies if <ramp-free> is used
ramp-free-0 = ▁
ramp-free-1 = β–‚
ramp-free-2 = β–ƒ
ramp-free-3 = β–„
ramp-free-4 = β–…
ramp-free-5 = β–†
ramp-free-6 = β–‡
ramp-free-7 = β–ˆ

;;===========================;;
;; battery                   ;;
;;===========================;;

[module/battgraph]
type = internal/battery

; This is useful in case the battery never reports 100% charge
full-at = 105

; Use the following command to list batteries and adapters:
; $ ls -1 /sys/class/power_supply/
battery = BAT0
adapter = AC0

; If an inotify event haven't been reported in this many
; seconds, manually poll for new values.
;
; Needed as a fallback for systems that don't report events
; on sysfs/procfs.
;
; Disable polling by setting the interval to 0.
;
; Default: 5
poll-interval = 3

; see "man date" for details on how to format the time string
; NOTE: if you want to use syntax tags here you need to use %%{...}
; Default: %H:%M:%S
time-format = %H:%M

;; "%{A1:/home/doug/bin/battery-info.sh:}BAT0:  %percentage:3%%{A}"

; Available tokens:
;   %percentage% (default)
; label-full = "BAT0: %percentage:3%%"
label-full = "%{A1:notify-send "`acpi -b | awk '/Battery 0/'`":} * %{A}"
label-full-foreground = ${colors.dimgray}

; Available tokens:
;   %percentage% (default)
;   %time%
;   %consumption% (shows current charge rate in watts)
; label-charging = "BAT0: %percentage:3%%"
; label-charging = Charging %percentage%% <bar-capacity>
label-charging = "%{A1:notify-send "`acpi -b | awk '/Battery 0/'`":} + %{A}"
label-charging-foreground = ${colors.dimgray}

; Available tokens:
;   %percentage% (default)
;   %time%
;   %consumption% (shows current discharge rate in watts)
; label-discharging = "BAT0: %percentage:3%%"
label-discharging = "%{A1:notify-send "`acpi -b | awk '/Battery 0/'`":} - %{A}"
label-discharging-foreground = ${colors.dimgray}

; Available tags:
;   <label-charging> (default)
;   <bar-capacity>
;   <ramp-capacity>
;   <animation-charging>
format-charging = "<label-charging> <bar-capacity>"

; Available tags:
;   <label-discharging> (default)
;   <bar-capacity>
;   <ramp-capacity>
;   <animation-discharging> (unreleased)
format-discharging = "<label-discharging> <bar-capacity>"

; Available tags:
;   <label-full> (default)
;   <bar-capacity>
;   <ramp-capacity>
format-full =  "<label-full> <bar-capacity>"

; Only applies if <bar-capacity> is used
bar-capacity-indicator =
bar-capacity-width = 11
bar-capacity-foreground-0 = ${colors.dimgray}
bar-capacity-foreground-1 = ${colors.dimgray}
bar-capacity-foreground-2 = ${colors.dimgray}
bar-capacity-foreground-3 = ${colors.dimgray}
bar-capacity-foreground-4 = ${colors.dimgray}
bar-capacity-foreground-5 = ${colors.dimgray}
bar-capacity-foreground-6 = ${colors.dimgray}
bar-capacity-foreground-7 = ${colors.dimgray}
bar-capacity-foreground-8 = ${colors.dimgray}
bar-capacity-foreground-9 = ${colors.dimgray}
;bar-capacity-foreground-10 = ${colors.dimgray}
bar-capacity-fill = ▐
bar-capacity-empty = ▐
bar-capacity-empty-foreground = ${colors.darkgray}

ramp-capacity-0 = 
;ramp-capacity-0 = ⚠
ramp-capacity-0-foreground = ${colors.urgent}
ramp-capacity-1 = 
ramp-capacity-1-foreground = ${colors.orange}
ramp-capacity-2 = 
ramp-capacity-2-foreground = ${colors.dimyellow}
ramp-capacity-3 = 
ramp-capacity-3-foreground = ${colors.green}
ramp-capacity-4 = 
ramp-capacity-4-foreground = #576657
ramp-capacity-5 = 
ramp-capacity-5-foreground = ${colors.dimgray}
ramp-capacity-foreground = ${colors.dimgray}

animation-charging-0 = " "
animation-charging-1 = " "
animation-charging-2 = " "
animation-charging-3 = " "
animation-charging-4 = " "
animation-charging-framerate = 750

;;===================================;;
;; wifi                              ;;
;;===================================;;

[module/wifi-net]
type = internal/network
; Name of the network interface to display. You can get the names of the
; interfaces on your machine with `ip link`
; Wireless interfaces often start with `wl` and ethernet interface with `eno` or `eth`
interface =  wlan0

; Seconds to sleep between updates
; Default: 1
interval = 3.0

; Test connectivity every Nth update
; A value of 0 disables the feature
; NOTE: Experimental (needs more testing)
; Default: 0
;ping-interval = 3

; @deprecated: Define min width using token specifiers (%downspeed:min% and %upspeed:min%)
; Minimum output width of upload/download rate
; Default: 3
;udspeed-minwidth = 5

; Accumulate values from all interfaces
; when querying for up/downspeed rate
; Default: false
accumulate-stats = true

; Consider an `UNKNOWN` interface state as up.
; Some devices like USB network adapters have
; an unknown state, even when they're running
; Default: false
unknown-as-up = true

; Available tags:
;   <label-connected> (default)
;   <ramp-signal>
format-connected = "<ramp-signal>  <label-connected>"

; Available tags:
;   <label-disconnected> (default)
format-disconnected = <label-disconnected>

; Available tags:
;   <label-connected> (default)
;   <label-packetloss>
;   <animation-packetloss>
format-packetloss = <animation-packetloss> <label-connected>

; All labels support the following tokens:
;   %ifname%    [wireless+wired]
;   %local_ip%  [wireless+wired]
;   %local_ip6% [wireless+wired]
;   %essid%     [wireless]
;   %signal%    [wireless]
;   %upspeed%   [wireless+wired]
;   %downspeed% [wireless+wired]
;   %linkspeed% [wired]

; Default: %ifname% %local_ip%
;label-connected = %essid% %downspeed:9%
label-connected = %signal:3%% %upspeed:8% %downspeed:8%
label-connected-foreground = ${colors.dimgray}

; Default: (none)
label-disconnected = not connected
label-disconnected-foreground = ${colors.urgent}

; Default: (none)
;label-packetloss = %essid%
;label-packetloss-foreground = #eefafafa

ramp-signal-0 = 
ramp-signal-0-foreground = ${colors.urgent}
ramp-signal-1 = 
ramp-signal-1-foreground = ${colors.dimyellow}
ramp-signal-2 = 
ramp-signal-2-foreground = ${colors.dimgray}
ramp-signal-3 = 
ramp-signal-3-foreground = ${colors.dimgray}
ramp-signal-4 = 
ramp-signal-4-foreground = ${colors.dimgray}
ramp-signal-5 = 
ramp-signal-5-foreground = ${colors.dimgray}
ramp-signal-6 = 
ramp-signal-6-foreground = ${colors.dimgray}
ramp-signal-7 = 
ramp-signal-7-foreground = ${colors.dimgray}
ramp-signal-8 = 
ramp-signal-8-foreground = ${colors.dimgray}
ramp-signal-9 = 
ramp-signal-9-foreground = ${colors.dimgray}
ramp-signal-10 = 
ramp-signal-10-foreground = ${colors.dimgray}

; 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

;;;;;;;;;;;
;; Clock ;;
;;;;;;;;;;;

[module/chronos]
type = internal/date

; Seconds to sleep between updates
interval = 15.0

; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
; NOTE: if you want to use syntax tags here you need to use %%{...}
date = %a %e %b

; Optional time format
time = %k:%M

; if `date-alt` or `time-alt` is defined, clicking
; the module will toggle between formats
date-alt = %F
time-alt = %X

; Available tags:
;   <label> (default)
format = " <label> "
format-background = ${colors.background}
format-foreground = ${colors.dimgray}

; Available tokens:
;   %date%
;   %time%
; Default: %date%
label = "%date% %time%"
label-font = 0
label-foreground =  ${colors.dimgray}
label-background =  ${colors.background}
label-padding = 1

Have not tried to make a custom module to show the layout with an icon. Should be doable.

5 Likes

Wow, all good in there @PackRat

1 Like

That is a module I would definitely like to use.