353 lines
8.1 KiB
INI
353 lines
8.1 KiB
INI
[bar/top]
|
|
monitor = ${env:MONITOR:}
|
|
width = 100%
|
|
height = 27
|
|
|
|
background = #00000000
|
|
foreground = #ccffffff
|
|
|
|
line-color = ${bar/bottom.background}
|
|
line-size = 16
|
|
|
|
spacing = 2
|
|
padding-right = 5
|
|
module-margin = 4
|
|
|
|
font-0 = "Noto Sans:size=8"
|
|
font-1 = "RobotoMono Nerd Font:pixelsize=10;1"
|
|
font-2 = "Symbola:style=Regular"
|
|
|
|
# todo mpd? or spotify?
|
|
modules-left = powermenu player-mpris
|
|
modules-center = popup-calendar
|
|
modules-right = pulseaudio backlight touchpad-indicator openvpn-indicator tethering wireless-network wired-network battery-combined-udev
|
|
|
|
[bar/bottom]
|
|
monitor = ${env:MONITOR:}
|
|
bottom = true
|
|
width = 100%
|
|
height = 27
|
|
|
|
background = ${bar/top.background}
|
|
foreground = ${bar/top.foreground}
|
|
|
|
line-color = ${bar/top.background}
|
|
line-size = 2
|
|
|
|
spacing = 3
|
|
padding-right = 4
|
|
module-margin-left = 0
|
|
module-margin-right = 6
|
|
|
|
font-0 = "Noto Sans:size=8"
|
|
font-1 = "RobotoMono Nerd Font:pixelsize=10;1"
|
|
font-2 = "Symbola:style=Regular"
|
|
|
|
modules-left =
|
|
modules-center = i3
|
|
modules-right = cpu system-cpu-temppercore memory
|
|
|
|
tray-position = left
|
|
tray-padding = 2
|
|
tray-transparent = true
|
|
tray-background = #0063ff
|
|
;tray-detached = false
|
|
|
|
[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_00_1f.3.analog-stereo
|
|
|
|
; Use PA_VOLUME_UI_MAX (~153%) if true, or PA_VOLUME_NORM (100%) if false
|
|
; Default: true
|
|
use-ui-max = true
|
|
|
|
format-volume = %{A3:pavucontrol:}<ramp-volume> <label-volume> %{A}
|
|
|
|
; Available tokens:
|
|
; %percentage% (default)
|
|
label-muted = 婢 muted
|
|
label-muted-foreground = #666
|
|
|
|
; Only applies if <ramp-volume> is used
|
|
ramp-volume-0 = 奄
|
|
ramp-volume-1 = 奔
|
|
ramp-volume-2 = 墳
|
|
|
|
[module/backlight]
|
|
type = internal/xbacklight
|
|
format = <ramp> <bar>
|
|
|
|
output = eDP1
|
|
|
|
ramp-0 =
|
|
ramp-1 =
|
|
ramp-2 =
|
|
|
|
bar-width = 5
|
|
bar-indicator = |
|
|
#bar-indicator-font = 3
|
|
bar-indicator-foreground = #ff
|
|
bar-fill = ─
|
|
#bar-fill-font = 3
|
|
bar-fill-foreground = #c9665e
|
|
bar-empty = ─
|
|
#bar-empty-font = 3
|
|
bar-empty-foreground = #44
|
|
|
|
[module/openvpn-indicator]
|
|
type = custom/script
|
|
exec = ~/.config/polybar/openvpn-indicator.sh
|
|
interval = 5
|
|
|
|
[module/battery-combined-udev]
|
|
type = custom/script
|
|
exec = ~/.config/polybar/battery-combined-udev.sh
|
|
tail = true
|
|
|
|
[module/player-mpris]
|
|
type = custom/script
|
|
exec = ~/.config/polybar/player-mpris-simple.sh
|
|
interval = 3
|
|
label = "%output%"
|
|
|
|
[module/touchpad-indicator]
|
|
type = custom/script
|
|
exec = ~/.config/polybar/touchpad-indicator.sh
|
|
|
|
[module/battery]
|
|
type = internal/battery
|
|
full-at = 96
|
|
|
|
format-charging = <animation-charging> <label-charging>
|
|
format-discharging = <ramp-capacity> <label-discharging>
|
|
format-full = <ramp-capacity> <label-full>
|
|
|
|
ramp-capacity-0 =
|
|
ramp-capacity-0-foreground = #f53c3c
|
|
ramp-capacity-1 =
|
|
ramp-capacity-1-foreground = #ffa900
|
|
ramp-capacity-2 =
|
|
ramp-capacity-3 =
|
|
ramp-capacity-4 =
|
|
|
|
bar-capacity-width = 10
|
|
bar-capacity-format = %{+u}%{+o}%fill%%empty%%{-u}%{-o}
|
|
bar-capacity-fill = █
|
|
bar-capacity-fill-foreground = #ddffffff
|
|
#bar-capacity-fill-font = 3
|
|
bar-capacity-empty = █
|
|
#bar-capacity-empty-font = 3
|
|
bar-capacity-empty-foreground = #44ffffff
|
|
|
|
animation-charging-0 =
|
|
animation-charging-1 =
|
|
animation-charging-2 =
|
|
animation-charging-3 =
|
|
animation-charging-4 =
|
|
animation-charging-framerate = 750
|
|
|
|
[module/i3]
|
|
type = internal/i3
|
|
|
|
; 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
|
|
|
|
; This will split the workspace name on ':'
|
|
; Default: false
|
|
strip-wsnumbers = true
|
|
|
|
; Sort the workspaces by index instead of the default
|
|
; sorting that groups the workspaces by output
|
|
; Default: false
|
|
index-sort = false
|
|
|
|
; Create click handler used to focus workspace
|
|
; Default: true
|
|
enable-click = true
|
|
|
|
; Create scroll handlers used to cycle workspaces
|
|
; Default: true
|
|
enable-scroll = false
|
|
|
|
; Wrap around when reaching the first/last workspace
|
|
; Default: true
|
|
wrapping-scroll = false
|
|
|
|
; Set the scroll cycle direction
|
|
; Default: true
|
|
reverse-scroll = false
|
|
|
|
; Use fuzzy (partial) matching on labels when assigning
|
|
; icons to workspaces
|
|
; Example: code;♚ will apply the icon to all workspaces
|
|
; containing 'code' in the label
|
|
; Default: false
|
|
fuzzy-match = true
|
|
|
|
[module/wireless-network]
|
|
type = internal/network
|
|
interface = wlp3s0
|
|
interval = 3.0
|
|
ping-interval = 10
|
|
|
|
format-connected = <label-connected> <ramp-signal>
|
|
label-connected = 直 %essid%
|
|
label-disconnected = 睊
|
|
label-disconnected-foreground = #66
|
|
format-packetloss = <animation-packetloss> <label-connected>
|
|
|
|
ramp-signal-0 = 😱
|
|
ramp-signal-1 = 😠
|
|
ramp-signal-2 = 😒
|
|
ramp-signal-3 = 😊
|
|
ramp-signal-4 = 😃
|
|
ramp-signal-5 = 😈
|
|
|
|
animation-packetloss-0 =
|
|
animation-packetloss-0-foreground = #ffa64c
|
|
animation-packetloss-1 =
|
|
animation-packetloss-1-foreground = ${bar/top.foreground}
|
|
animation-packetloss-framerate = 500
|
|
|
|
[module/wired-network]
|
|
type = internal/network
|
|
interface = enp0s31f6
|
|
interval = 3.0
|
|
label-connected = %local_ip%
|
|
label-disconnected =
|
|
label-disconnected-foreground = #66
|
|
format-packetloss = <animation-packetloss> <label-connected>
|
|
animation-packetloss-0 =
|
|
animation-packetloss-0-foreground = #ffa64c
|
|
animation-packetloss-1 =
|
|
animation-packetloss-1-foreground = ${bar/top.foreground}
|
|
animation-packetloss-framerate = 500
|
|
|
|
|
|
[module/tethering]
|
|
type = internal/network
|
|
interface = enp0s20f0u4
|
|
interval = 3.0
|
|
label-connected = %local_ip%
|
|
label-disconnected-foreground = #66
|
|
|
|
[module/cpu]
|
|
type = internal/cpu
|
|
interval = 0.5
|
|
format = <label> <ramp-coreload>
|
|
label = CPU
|
|
ramp-coreload-0 = ▁
|
|
#ramp-coreload-0-font = 2
|
|
ramp-coreload-0-foreground = #aaff77
|
|
ramp-coreload-1 = ▂
|
|
#ramp-coreload-1-font = 2
|
|
ramp-coreload-1-foreground = #aaff77
|
|
ramp-coreload-2 = ▃
|
|
#ramp-coreload-2-font = 2
|
|
ramp-coreload-2-foreground = #aaff77
|
|
ramp-coreload-3 = ▄
|
|
#ramp-coreload-3-font = 2
|
|
ramp-coreload-3-foreground = #aaff77
|
|
ramp-coreload-4 = ▅
|
|
#ramp-coreload-4-font = 2
|
|
ramp-coreload-4-foreground = #fba922
|
|
ramp-coreload-5 = ▆
|
|
#ramp-coreload-5-font = 2
|
|
ramp-coreload-5-foreground = #fba922
|
|
ramp-coreload-6 = ▇
|
|
#ramp-coreload-6-font = 2
|
|
ramp-coreload-6-foreground = #ff5555
|
|
ramp-coreload-7 = █
|
|
#ramp-coreload-7-font = 2
|
|
ramp-coreload-7-foreground = #ff5555
|
|
|
|
[module/system-cpu-temppercore]
|
|
type = custom/script
|
|
exec = ~/.config/polybar/system-cpu-temppercore.sh
|
|
interval = 60
|
|
|
|
[module/date]
|
|
type = internal/date
|
|
date = %%{F#99}%d.%m.%Y%%{F-} %%{F#fff}%H:%M%%{F-}
|
|
date-alt = %%{F#fff}%A, %d %B %Y %%{F#fff}%H:%M%%{F#666}:%%{F#fba922}%S%%{F-}
|
|
|
|
[module/popup-calendar]
|
|
type = custom/script
|
|
exec = ~/.config/polybar/popup-calendar.sh
|
|
interval = 5
|
|
click-left = ~/.config/polybar/popup-calendar.sh --popup
|
|
|
|
[module/memory]
|
|
type = internal/memory
|
|
format = <label> <bar-used>
|
|
label = RAM
|
|
|
|
bar-used-width = 30
|
|
bar-used-foreground-0 = #aaff77
|
|
bar-used-foreground-1 = #aaff77
|
|
bar-used-foreground-2 = #fba922
|
|
bar-used-foreground-3 = #ff5555
|
|
bar-used-indicator = |
|
|
#bar-used-indicator-font = 6
|
|
bar-used-indicator-foreground = #ff
|
|
bar-used-fill = ─
|
|
#bar-used-fill-font = 6
|
|
bar-used-empty = ─
|
|
#bar-used-empty-font = 6
|
|
bar-used-empty-foreground = #444444
|
|
|
|
[module/mpd]
|
|
type = internal/mpd
|
|
format-online = <icon-prev> <icon-stop> <toggle> <icon-next> <icon-repeat> <icon-random> <bar-progress> <label-time> <label-song>
|
|
|
|
icon-play =
|
|
icon-pause =
|
|
icon-stop =
|
|
icon-prev =
|
|
icon-next =
|
|
icon-random =
|
|
icon-repeat =
|
|
|
|
toggle-on-foreground =
|
|
toggle-off-foreground = #55
|
|
|
|
bar-progress-width = 45
|
|
bar-progress-format = %{A4:mpdseek+2: A5:mpdseek-2:}%fill%%indicator%%empty%%{A A}
|
|
bar-progress-indicator = |
|
|
bar-progress-indicator-foreground = #ff
|
|
#bar-progress-indicator-font = 3
|
|
bar-progress-fill = ─
|
|
bar-progress-fill-foreground = #bb
|
|
#bar-progress-fill-font = 3
|
|
bar-progress-empty = ─
|
|
#bar-progress-empty-font = 3
|
|
bar-progress-empty-foreground = #44
|
|
|
|
[module/powermenu]
|
|
type = custom/menu
|
|
|
|
format-padding = 5
|
|
|
|
label-open =
|
|
#label-close = x
|
|
label-separator = " | "
|
|
|
|
menu-0-0 = Terminate i3
|
|
menu-0-0-foreground = #fba922
|
|
menu-0-0-exec = i3-msg exit
|
|
menu-0-1 = Reboot
|
|
menu-0-1-foreground = #fba922
|
|
menu-0-1-exec = reboot
|
|
menu-0-2 = Power off
|
|
menu-0-2-foreground = #fba922
|
|
menu-0-2-exec = poweroff
|
|
; vim:ft=dosini
|