2017-07-28 10:44:53 -07:00

175 lines
3.8 KiB
INI

;=====================================================
;
; To learn more about how to configure Polybar
; go to https://github.com/jaagr/polybar
;
; The README contains alot of information
;
;=====================================================
[colors]
; Gotham theme ==========
; background = #0a0f14
; foreground = #99d1ce
; alert = #d26937
; volume-min = #2aa889
; volume-med = #edb443
; volume-max = #c23127
; =======================
; Nord theme ============
background = #000000
foreground = #f3f4f5
alert = #d08770
volume-min = #a3be8c
volume-med = #ebcb8b
volume-max = #bf616a
; =======================
[bar/default]
width = 100%
height = 28
radius = 0
fixed-center = false
bottom = false
background = ${colors.background}
foreground = ${colors.foreground}
module-margin-left = 1
module-margin-right = 1
font-0 = Input Mono:style=Regular:size=9;4
font-1 = FontAwesome:style=Regular:size=9;4
modules-left = i3
modules-center =
modules-right = eth memory cpu volume date powermenu
tray-position = right
tray-padding = 4
;tray-transparent = true
;tray-background = #0063ff
;wm-restack = bspwm
;wm-restack = i3
;override-redirect = true
[module/i3]
type = internal/i3
format = <label-state> <label-mode>
index-sort = true
wrapping-scroll = false
; Only show workspaces on the same output as the bar
;pin-workspaces = true
ws-icon-1 = "Shell;"
ws-icon-2 = "Firefox;"
ws-icon-3 = "Chat;"
ws-icon-4 = "Work;"
ws-icon-5 = "Dev;"
ws-icon-0 = "Music;"
label-mode-padding = 1
label-mode-foreground = ${colors.foreground}
label-mode-background = ${colors.background}
; focused = Active workspace on focused monitor
label-focused = %icon%
label-focused-foreground = ${colors.alert}
label-focused-background = ${colors.background}
label-focused-padding = 1
; unfocused = Inactive workspace on any monitor
label-unfocused = %icon%
label-unfocused-foreground = ${colors.foreground}
label-unfocused-background = ${colors.background}
label-unfocused-padding = 1
; urgent = Workspace with urgency hint set
label-urgent = %icon%
label-urgent-background = ${colors.alert}
label-urgent-padding = 1
[module/cpu]
type = internal/cpu
interval = 5
format = " <label>"
format-foreground = ${colors.foreground}
label = %percentage%%
[module/memory]
type = internal/memory
interval = 5
format = " <label>"
format-foreground = ${colors.foreground}
label = %percentage_used%%
[module/eth]
type = internal/network
interface = enp0s25
interval = 5
label-connected = "%downspeed% %upspeed%"
format-disconnected = <label-disconnected>
label-disconnected = " NETWORK DOWN"
label-disconnected-foreground = ${colors.alert}
[module/date]
type = internal/date
interval = 1
date = "%m/%d/%Y"
date-alt = "%Y/%m/%d"
time = %H:%M:%S
time-alt = %H:%M
format = " <label>"
format-foreground = ${colors.foreground}
label = %date% %time%
[module/volume]
type = internal/volume
format-volume = <label-volume> <bar-volume>
label-volume = ""
label-volume-foreground = ${root.foreground}
label-muted = " MUTED"
bar-volume-width = 10
bar-volume-foreground-0 = ${colors.volume-min}
bar-volume-foreground-1 = ${colors.volume-min}
bar-volume-foreground-2 = ${colors.volume-min}
bar-volume-foreground-3 = ${colors.volume-med}
bar-volume-foreground-4 = ${colors.volume-med}
bar-volume-foreground-5 = ${colors.volume-max}
bar-volume-foreground-6 = ${colors.volume-max}
bar-volume-gradient = false
bar-volume-indicator =
bar-volume-indicator-font = 2
bar-volume-indicator-foreground = #ff
bar-volume-fill =
bar-volume-fill-font = 2
bar-volume-empty =
bar-volume-empty-font = 2
bar-volume-empty-foreground =
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
[global/wm]
margin-top = 5
margin-bottom = 5
; vim:ft=dosini