Closed CanftIn closed 5 years ago
In polybar config file,https://github.com/unix121/i3wm-themer/blob/f8e269d02199494b52f2525d7a3ff93459fe3203/src/defaults/polybar.template#L28 The right module not working except powermenu. The situation appears in all themes I'v tried. In before screenshot picture, the center 8% is pulseaudio module I added to test and it is working.
powermenu
8%
[module/pulseaudio] type = internal/pulseaudio_12_00.3.analog-stereo use-ui-max = true interval = 5
This is my config file:
[bar/i3wmthemer_bar] width = 100% height = 27 radius = 0 fixed-center = false background = #162025 foreground = #bfbfbf line-size = 3 line-color = border-size = 0 border-color = padding-left = 0 padding-right = 2 module-margin-left = 1 module-margin-right = 2 font-0 = "Source Code Pro Semibold:size=10;1" font-1 = "Font Awesome 5 Free:style=Solid:size=10;1" font-2 = "Font Awesome 5 Brands:size=10;1" modules-left = i3 modules-center = date modules-right = wlan eth powermenu tray-position = right tray-padding = 4 cursor-click = pointer cursor-scroll = ns-resize [module/i3] type = internal/i3 format = <label-state> <label-mode> index-sort = true wrapping-scroll = false label-mode-padding = 2 label-mode-foreground = #162025 label-mode-background = #75404b label-focused = %index% label-focused-background = #75404b label-focused-foreground = #6b7443 label-focused-padding = 2 label-unfocused = %index% label-unfocused-background = #75404b label-unfocused-foreground = #162025 label-unfocused-padding = 2 label-visible = %index% label-visible-background = #75404b label-visible-foreground = #162025 label-visible-padding = 2 label-urgent = %index% label-urgent-background = #BA2922 label-urgent-padding = 2 [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 [module/wlan] type = internal/network interface = net1 interval = 3.0 format-connected = <ramp-signal> <label-connected> format-connected-foreground = #162025 format-connected-background = #39402e format-connected-padding = 2 label-connected = %essid% format-disconnected = ramp-signal-0 = ramp-signal-1 = ramp-signal-2 = ramp-signal-3 = ramp-signal-4 = ramp-signal-foreground = #162025 [module/eth] ;type = internal/network ;interface = enp0s3 ;interval = 3.0 ; ;format-connected-padding = 2 ;format-connected-foreground = #162025 ;format-connected-background = #39402e ;format-connected-prefix = " " ;format-connected-prefix-foreground = #162025 ;label-connected = %local_ip% ; ;format-disconnected = type = internal/network interface = enp2s0 interval = 3.0 format-connected = <label-connected> format-connected-prefix = " " format-connected-prefix-foreground = #b6a49b label-connected = %downspeed:9% format-disconnected = <label-disconnected> label-disconnected = not connected label-disconnected-foreground = #66ffffff format-padding = 1 [module/date] type = internal/date interval = 5 date = date-alt = " %Y-%m-%d" time = %H:%M time-alt = %H:%M:%S format-prefix = format-foreground = #162025 format-background = #4c584a format-padding = 2 label = %date% %time% [module/powermenu] type = custom/menu expand-right = true format-spacing = 1 label-open = label-open-foreground = #39402e label-close = cancel label-close-foreground = #39402e label-separator = | label-separator-foreground = #39402e menu-0-0 = reboot menu-0-0-exec = menu-open-1 menu-0-1 = power off menu-0-1-exec = menu-open-2 menu-0-2 = log off menu-0-2-exec = menu-open-3 menu-1-0 = cancel menu-1-0-exec = menu-open-0 menu-1-1 = reboot menu-1-1-exec = reboot menu-2-0 = power off menu-2-0-exec = poweroff menu-2-1 = cancel menu-2-1-exec = menu-open-0 menu-3-0 = log off menu-3-0-exec = pkill -KILL -u $USER menu-3-1 = cancel menu-3-1-exec = menu-open-0 [settings] screenchange-reload = true [global/wm] margin-top = 0 margin-bottom = 0
Hello sir! I think you should refer to the polybar wiki for this! Not really a problem of the themer.
polybar
(Really sorry for the late response)
In polybar config file,https://github.com/unix121/i3wm-themer/blob/f8e269d02199494b52f2525d7a3ff93459fe3203/src/defaults/polybar.template#L28 The right module not working except
powermenu
. The situation appears in all themes I'v tried. In before screenshot picture, the center8%
is pulseaudio module I added to test and it is working.This is my config file: