Dotfiles.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

254 lines
5.5 KiB

6 years ago
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; 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
6 years ago
[global/wm]
margin-bottom = 0
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
6 years ago
[bar/main]
wm-name = Bar
wm-restack = bspwm
monitor = ${env:MONITOR:eDP1}
6 years ago
width = 100%
height = 21
6 years ago
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
6 years ago
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
5 years ago
modules-left = desktop
6 years ago
modules-center = filesystem
5 years ago
modules-right = bdays webcheck rss mail battery backlight alsa xkeyboard date
6 years ago
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
6 years ago
format = "<label-monitor> <label-state> | "
6 years ago
label-monitor =
label-focused-foreground = #B22222
label-urgent-foreground = ${colors.alert}
;label-focused-underline = ${colors.alert}
;label-empty-underline = ${colors.alert}
6 years ago
[module/delimiter]
type = custom/text
content = ]
[module/mpd]
type = internal/mpd
host = 127.0.0.1
port = 6600
interval = 3
format-online = <label-song>
6 years ago
[module/bdays]
type = custom/script
exec = dates | grep '\*'
interval = 86400
format =
format-foreground = ${colors.alert}
5 years ago
[module/rss]
type = custom/script
exec = newsboat -x reload; newsboat -x print-unread | awk '{ print $1 }'
interval = 1200
5 years ago
format-prefix = " "
format-underline = ${colors.yellow}
6 years ago
[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
6 years ago
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"
6 years ago
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
6 years ago
interval = 1200
exec = "webcheck short"
6 years ago
[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}
6 years ago
; vim:ft=dosini