|
|
|
|
;==========================================================
|
|
|
|
|
;
|
|
|
|
|
;
|
|
|
|
|
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
|
|
|
|
|
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
|
|
|
|
|
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
|
|
|
|
|
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
|
|
|
|
|
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
|
|
|
|
|
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
|
|
|
|
|
;
|
|
|
|
|
;
|
|
|
|
|
; To learn more about how to configure Polybar
|
|
|
|
|
; go to https://github.com/jaagr/polybar
|
|
|
|
|
;
|
|
|
|
|
; The README contains alot of information
|
|
|
|
|
;
|
|
|
|
|
;==========================================================
|
|
|
|
|
|
|
|
|
|
[colors]
|
|
|
|
|
;background = ${xrdb:color0:#222}
|
|
|
|
|
background = #D9D9D9
|
|
|
|
|
background-alt = #444
|
|
|
|
|
;foreground = ${xrdb:color7:#222}
|
|
|
|
|
foreground = #000000
|
|
|
|
|
foreground-alt = #555
|
|
|
|
|
primary = #ffb52a
|
|
|
|
|
secondary = #e60053
|
|
|
|
|
alert = #bd2c40
|
|
|
|
|
|
|
|
|
|
green = #008000
|
|
|
|
|
yellow = #FF8C00
|
|
|
|
|
magenta = #B217B2
|
|
|
|
|
cyan = #00B0B0
|
|
|
|
|
|
|
|
|
|
[global/wm]
|
|
|
|
|
margin-bottom = 0
|
|
|
|
|
|
|
|
|
|
[settings]
|
|
|
|
|
screenchange-reload = true
|
|
|
|
|
;compositing-background = xor
|
|
|
|
|
;compositing-background = screen
|
|
|
|
|
;compositing-foreground = source
|
|
|
|
|
;compositing-border = over
|
|
|
|
|
|
|
|
|
|
[bar/main]
|
|
|
|
|
wm-name = Bar
|
|
|
|
|
|
|
|
|
|
wm-restack = bspwm
|
|
|
|
|
|
|
|
|
|
monitor = ${env:MONITOR:eDP1}
|
|
|
|
|
width = 100%
|
|
|
|
|
height = 21
|
|
|
|
|
fixed-center = false
|
|
|
|
|
|
|
|
|
|
background = ${colors.background}
|
|
|
|
|
foreground = ${colors.foreground}
|
|
|
|
|
|
|
|
|
|
line-size = 2
|
|
|
|
|
|
|
|
|
|
border-size = 0
|
|
|
|
|
border-color = ${colors.background}
|
|
|
|
|
|
|
|
|
|
padding-left = 1
|
|
|
|
|
padding-right = 1
|
|
|
|
|
|
|
|
|
|
module-margin-left = 1
|
|
|
|
|
module-margin-right = 1
|
|
|
|
|
|
|
|
|
|
font-0 = NotoMono Nerd Font:size=12
|
|
|
|
|
font-1 = NotoMono Nerd Font:size=12
|
|
|
|
|
font-2 = NotoMono Nerd Font:size=12
|
|
|
|
|
|
|
|
|
|
modules-left = desktop
|
|
|
|
|
modules-center = filesystem
|
|
|
|
|
modules-right = bdays webcheck rss mail battery backlight alsa xkeyboard date
|
|
|
|
|
|
|
|
|
|
separator = |
|
|
|
|
|
|
|
|
|
|
tray-position = right
|
|
|
|
|
tray-padding = 2
|
|
|
|
|
;tray-transparent = true
|
|
|
|
|
;tray-background = #0063ff
|
|
|
|
|
|
|
|
|
|
cursor-click = pointer
|
|
|
|
|
cursor-scroll = ns-resize
|
|
|
|
|
|
|
|
|
|
[module/desktop]
|
|
|
|
|
;type = internal/xworkspaces
|
|
|
|
|
type = internal/bspwm
|
|
|
|
|
|
|
|
|
|
pin-workspaces = false
|
|
|
|
|
inline-mode = true
|
|
|
|
|
|
|
|
|
|
enable-click = true
|
|
|
|
|
|
|
|
|
|
fuzy-match = true
|
|
|
|
|
|
|
|
|
|
format = "<label-monitor> <label-state> | "
|
|
|
|
|
|
|
|
|
|
label-monitor =
|
|
|
|
|
|
|
|
|
|
label-focused-foreground = #B22222
|
|
|
|
|
label-urgent-foreground = ${colors.alert}
|
|
|
|
|
|
|
|
|
|
;label-focused-underline = ${colors.alert}
|
|
|
|
|
;label-empty-underline = ${colors.alert}
|
|
|
|
|
|
|
|
|
|
[module/delimiter]
|
|
|
|
|
type = custom/text
|
|
|
|
|
content = ]
|
|
|
|
|
|
|
|
|
|
[module/mpd]
|
|
|
|
|
type = internal/mpd
|
|
|
|
|
|
|
|
|
|
host = 127.0.0.1
|
|
|
|
|
port = 6600
|
|
|
|
|
|
|
|
|
|
interval = 3
|
|
|
|
|
|
|
|
|
|
format-online = <label-song>
|
|
|
|
|
|
|
|
|
|
[module/bdays]
|
|
|
|
|
type = custom/script
|
|
|
|
|
exec = dates | grep '\*'
|
|
|
|
|
interval = 86400
|
|
|
|
|
|
|
|
|
|
format =
|
|
|
|
|
format-foreground = ${colors.alert}
|
|
|
|
|
|
|
|
|
|
[module/rss]
|
|
|
|
|
type = custom/script
|
|
|
|
|
exec = newsboat -x reload; newsboat -x print-unread | awk '{ print $1 }'
|
|
|
|
|
interval = 1200
|
|
|
|
|
|
|
|
|
|
format-prefix = " "
|
|
|
|
|
format-underline = ${colors.yellow}
|
|
|
|
|
|
|
|
|
|
[module/mail]
|
|
|
|
|
type = custom/script
|
|
|
|
|
exec = cat $MD/new
|
|
|
|
|
interval = 60
|
|
|
|
|
|
|
|
|
|
format-prefix = " "
|
|
|
|
|
format-underline = ${colors.green}
|
|
|
|
|
|
|
|
|
|
[module/xkeyboard]
|
|
|
|
|
type = internal/xkeyboard
|
|
|
|
|
blacklist-0 = num lock
|
|
|
|
|
|
|
|
|
|
format-prefix =
|
|
|
|
|
format-prefix-foreground = ${colors.foreground-alt}
|
|
|
|
|
format-prefix-underline = ${colors.secondary}
|
|
|
|
|
|
|
|
|
|
label-layout = [ %layout% ]
|
|
|
|
|
label-layout-underline = ${colors.secondary}
|
|
|
|
|
|
|
|
|
|
label-indicator-padding = 2
|
|
|
|
|
label-indicator-margin = 1
|
|
|
|
|
label-indicator-background = ${colors.secondary}
|
|
|
|
|
label-indicator-underline = ${colors.secondary}
|
|
|
|
|
|
|
|
|
|
[module/filesystem]
|
|
|
|
|
type = internal/fs
|
|
|
|
|
|
|
|
|
|
mount-0 = /
|
|
|
|
|
mount-1 = /home
|
|
|
|
|
mount-2 = /mnt/DATA
|
|
|
|
|
;mount-3 = /mnt/FLASH
|
|
|
|
|
|
|
|
|
|
interval = 25
|
|
|
|
|
|
|
|
|
|
fixed-values = true
|
|
|
|
|
|
|
|
|
|
label-mounted = %mountpoint%: %{F#bd2c40}%free%%{F-}
|
|
|
|
|
label-unmounted =
|
|
|
|
|
|
|
|
|
|
[module/date]
|
|
|
|
|
type = internal/date
|
|
|
|
|
interval = 5
|
|
|
|
|
|
|
|
|
|
time = " %H:%M"
|
|
|
|
|
date = " %Y-%m-%d"
|
|
|
|
|
|
|
|
|
|
format-prefix =
|
|
|
|
|
format-prefix-foreground = ${colors.foreground-alt}
|
|
|
|
|
format-underline = #0a6cf5
|
|
|
|
|
|
|
|
|
|
label = "%time% | %date%"
|
|
|
|
|
|
|
|
|
|
[module/alsa]
|
|
|
|
|
type = internal/alsa
|
|
|
|
|
|
|
|
|
|
format-volume = <label-volume>
|
|
|
|
|
label-volume = 墳 %percentage%%
|
|
|
|
|
label-volume-foreground = ${root.foreground}
|
|
|
|
|
label-volume-underline = ${colors.green}
|
|
|
|
|
|
|
|
|
|
ramp-volume-0 = XXX
|
|
|
|
|
|
|
|
|
|
format-muted-prefix = "婢 "
|
|
|
|
|
format-muted-foreground = ${colors.foreground-alt}
|
|
|
|
|
format-muted-underline = ${colors.foreground-alt}
|
|
|
|
|
label-muted = %percentage%%
|
|
|
|
|
|
|
|
|
|
[module/webcheck]
|
|
|
|
|
type = custom/script
|
|
|
|
|
label = %output%
|
|
|
|
|
label-padding = 1
|
|
|
|
|
format-underline = #0a6cf5
|
|
|
|
|
|
|
|
|
|
interval = 1200
|
|
|
|
|
exec = "webcheck short"
|
|
|
|
|
|
|
|
|
|
[module/battery]
|
|
|
|
|
type = internal/battery
|
|
|
|
|
battery = BAT0
|
|
|
|
|
adapter = ADP1
|
|
|
|
|
full-at = 90
|
|
|
|
|
|
|
|
|
|
format-charging = <animation-charging> <label-charging>
|
|
|
|
|
format-charging-underline = ${colors.green}
|
|
|
|
|
|
|
|
|
|
format-discharging = <ramp-capacity> <label-discharging>
|
|
|
|
|
format-discharging-underline = ${colors.yellow}
|
|
|
|
|
|
|
|
|
|
format-full-prefix = " "
|
|
|
|
|
format-full-prefix-foreground = ${colors.green}
|
|
|
|
|
format-full-underline = ${colors.green}
|
|
|
|
|
|
|
|
|
|
ramp-capacity-0 =
|
|
|
|
|
ramp-capacity-1 =
|
|
|
|
|
ramp-capacity-2 =
|
|
|
|
|
ramp-capacity-foreground = ${colors.yellow}
|
|
|
|
|
|
|
|
|
|
animation-charging-0 =
|
|
|
|
|
animation-charging-1 =
|
|
|
|
|
animation-charging-2 =
|
|
|
|
|
animation-charging-foreground = ${colors.green}
|
|
|
|
|
animation-charging-framerate = 750
|
|
|
|
|
|
|
|
|
|
[module/backlight]
|
|
|
|
|
type = internal/backlight
|
|
|
|
|
card = intel_backlight
|
|
|
|
|
|
|
|
|
|
enable-scroll = true
|
|
|
|
|
|
|
|
|
|
label = %percentage%%
|
|
|
|
|
|
|
|
|
|
;label-padding = 2
|
|
|
|
|
;label-margin = 1
|
|
|
|
|
label-underline = ${colors.cyan}
|
|
|
|
|
|
|
|
|
|
; vim:ft=dosini
|