Created
April 16, 2019 04:35
-
-
Save jmcblane/26514b4791f45f2843aa203624bdf384 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
;========================================================== | |
; | |
; | |
; βββββββ βββββββ βββ βββ ββββββββββ ββββββ βββββββ | |
; ββββββββββββββββββββ ββββ ββββββββββββββββββββββββββββ | |
; βββββββββββ ββββββ βββββββ ββββββββββββββββββββββββ | |
; βββββββ βββ ββββββ βββββ ββββββββββββββββββββββββ | |
; βββ ββββββββββββββββββββ βββββββββββ ββββββ βββ | |
; βββ βββββββ βββββββββββ βββββββ βββ ββββββ βββ | |
; | |
; | |
; 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 = #3a3a3a | |
background-alt = ${colors.background} | |
;foreground = ${xrdb:color7:#222} | |
foreground = #dfdfdf | |
foreground-alt = #acacab | |
primary = #658f8f | |
secondary = #e60053 | |
alert = #bd2c40 | |
[bar/secondary] | |
monitor=VGA1 | |
width = 100% | |
height = 22 | |
radius = 0 | |
fixed-center = false | |
background = ${colors.background} | |
foreground = ${colors.foreground} | |
line-size = 3 | |
line-color = #f00 | |
border-size = 0 | |
border-color = #00ffffff | |
padding-left = 2 | |
padding-right = 0 | |
module-margin-left = 2 | |
module-margin-right = 2 | |
font-0 = Ubuntu Nerd Font:pixelsize=10;0 | |
font-1 = unifont:fontformat=truetype:pixelsize=8;0 | |
font-2 = symbola:pixelsize=10;0 | |
;modules-right = workspaces | |
;modules-left = i3 | |
;modules-center = xwindow | |
modules-right = awesome | |
;modules-left = | |
tray-background = ${colors.background-alt} | |
cursor-click = pointer | |
cursor-scroll = pointer | |
[bar/onebar] | |
monitor=LVDS1 | |
width = 100% | |
height = 22 | |
radius = 0 | |
fixed-center = false | |
background = ${colors.background} | |
foreground = ${colors.foreground} | |
line-size = 3 | |
line-color = #f00 | |
border-size = 0 | |
border-color = #00ffffff | |
padding-left = 0 | |
padding-right = 2 | |
module-margin-left = 2 | |
module-margin-right = 2 | |
font-0 = Ubuntu Nerd Font:pixelsize=10;0 | |
font-1 = unifont:fontformat=truetype:pixelsize=8;0 | |
font-2 = symbola:pixelsize=10;0 | |
;modules-left = workspaces | |
;modules-left = i3 | |
modules-left = awesome | |
;modules-center = xwindow | |
modules-right = updates xbacklight battery pulseaudio date | |
tray-position = right | |
tray-padding = 0 | |
tray-background = ${colors.background-alt} | |
cursor-click = pointer | |
cursor-scroll = pointer | |
[bar/secondonly] | |
monitor=VGA1 | |
width = 100% | |
height = 22 | |
radius = 0 | |
fixed-center = false | |
background = ${colors.background} | |
foreground = ${colors.foreground} | |
line-size = 3 | |
line-color = #f00 | |
border-size = 0 | |
border-color = #00ffffff | |
padding-left = 0 | |
padding-right = 2 | |
module-margin-left = 2 | |
module-margin-right = 2 | |
font-0 = Ubuntu Nerd Font:pixelsize=10;0 | |
font-1 = unifont:fontformat=truetype:pixelsize=8;0 | |
font-2 = symbola:pixelsize=10;0 | |
;modules-left = workspaces | |
;modules-left = i3 | |
modules-left = awesome | |
modules-center = xwindow | |
modules-right = reddit updates xbacklight battery pulseaudio date | |
tray-position = right | |
tray-padding = 0 | |
tray-background = ${colors.background-alt} | |
cursor-click = pointer | |
cursor-scroll = pointer | |
[module/workspaces] | |
type = internal/xworkspaces | |
enable-click = true | |
format-padding=0 | |
format = "<label-state>" | |
pin-workspaces = false | |
label-active = "%icon%" | |
label-active-foreground = ${colors.background} | |
label-active-background = #7a8f65 | |
label-active-underline = #7a8f65 | |
label-active-padding = 2 | |
label-empty = "%icon%" | |
label-empty-padding = 2 | |
label-empty-foreground = #ececec | |
label-empty-underline = #7a8f65 | |
label-empty-background = ${colors.background} | |
icon-0 = 1;ο± | |
icon-1 = 2;ο | |
icon-2 = 3;ο | |
icon-3 = 4;ο©― | |
[module/awesome] | |
type = internal/xworkspaces | |
enable-click = true | |
format-padding=0 | |
format = "<label-state>" | |
label-active = "%icon%" | |
label-active-foreground = #000000 | |
label-active-background = #7a8f65 | |
label-active-underline = #7a8f65 | |
label-active-padding = 2 | |
label-empty = "%icon%" | |
label-empty-padding = 2 | |
label-empty-foreground = #cdcdcd | |
label-empty-underline = #7a8f65 | |
label-empty-background = #3a3a3a | |
icon-0 = tile;ο± | |
icon-1 = float;ο | |
icon-2 = max;ο | |
icon-3 = xtra;ο©― | |
[module/menu] | |
type = custom/menu | |
expand-right = false | |
label-open = menu | |
label-close = close | |
label-separator = | | |
menu-0-0 = Firefox | |
menu-0-0-exec = firefox | |
menu-0-1 = Nemo | |
menu-0-1-exec = nemo | |
[module/xwindow] | |
type = internal/xwindow | |
label = %title% | |
label-maxlen = 100 | |
format-foreground = #acacab | |
format-background = #3a3a3a | |
[module/updates] | |
type = custom/script | |
exec = ~/scripts/checkupdates.sh | |
interval = 500 | |
format = "ο <label> " | |
;format-foreground = #00569b | |
;format-underline = #00569b | |
format-foreground = #658f8f | |
format-underline = #658f8f | |
[module/reddit] | |
type = custom/script | |
exec = ~/scripts/reddit-messages/checkmsg.rb | |
interval = 500 | |
format = "ο <label> " | |
format-foreground = #658f8f | |
format-underline = #658f8f | |
[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 | |
interval = 25 | |
mount-0 = / | |
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% | |
label-unmounted = %mountpoint% not mounted | |
label-unmounted-foreground = ${colors.foreground-alt} | |
[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 = false | |
label-mode-padding = 2 | |
label-mode-foreground = #efefef | |
label-mode-background = #3a3a3a | |
; focused = Active workspace on focused monitor | |
label-focused = " %index% " | |
label-focused-background = #7a8f65 | |
label-focused-underline = #7a8f65 | |
label-focused-padding = #3a3a3a | |
label-focused-foreground = #1a1a1a | |
; unfocused = Inactive workspace on any monitor | |
label-unfocused = " %index% " | |
label-unfocused-padding = #3a3a3a | |
label-unfocused-underline = #7a8f65 | |
; visible = Active workspace on unfocused monitor | |
label-visible = " %index% " | |
label-visible-background = #3a3a3a | |
label-visible-underline = #7a8f65 | |
label-visible-padding = #3a3a3a | |
; urgent = Workspace with urgency hint set | |
label-urgent = " %index% " | |
label-urgent-background = #8f6f65 | |
label-urgent-padding = #3a3a3a | |
; Separator in between workspaces | |
; label-separator = | | |
[module/xbacklight] | |
type = internal/xbacklight | |
format = <ramp> <label> | |
label = %percentage%% | |
;label-foreground = #ffb52a | |
;format-underline = #ffb52a | |
label-foreground = #8f6f65 | |
format-underline = #8f6f65 | |
bar-width = 5 | |
bar-indicator = | | |
bar-indicator-foreground = #8f6f65 | |
bar-indicator-font = 2 | |
bar-fill = β | |
bar-fill-font = 2 | |
bar-fill-foreground = #8f6f65 | |
bar-empty = β | |
bar-empty-font = 2 | |
bar-empty-foreground = #8f6f65 | |
ramp-0 = π | |
ramp-1 = π | |
ramp-2 = π | |
ramp-3 = π | |
ramp-4 = π | |
ramp-foreground = #8f6f65 | |
[module/backlight-acpi] | |
inherit = module/xbacklight | |
type = internal/backlight | |
card = intel_backlight | |
[module/cpu] | |
type = internal/cpu | |
interval = 2 | |
format-prefix = "ξ¦ " | |
format-prefix-foreground = ${colors.foreground-alt} | |
format-underline = #f90000 | |
label = %percentage:2%% | |
[module/memory] | |
type = internal/memory | |
interval = 2 | |
format-prefix = "ξ¨ " | |
format-prefix-foreground = ${colors.foreground-alt} | |
format-underline = #4bffdc | |
label = %percentage_used%% | |
[module/wlan] | |
type = internal/network | |
interface = wlp2s0 | |
interval = 3.0 | |
format-connected = <label-connected> | |
;format-connected-underline = #9f78e1 | |
label-connected = πΆ up | |
;label-connected-foreground = #9f78e1 | |
format-connected-underline = #005366 | |
label-connected-foreground = #005366 | |
format-disconnected = | |
;format-disconnected = <label-disconnected> | |
;format-disconnected-underline = ${self.format-connected-underline} | |
;label-disconnected = %ifname% disconnected | |
;label-disconnected-foreground = ${colors.foreground-alt} | |
ramp-signal-0 = β | |
ramp-signal-1 = β | |
ramp-signal-2 = β | |
ramp-signal-3 = β | |
ramp-signal-4 = β | |
ramp-signal-5 = β | |
ramp-signal-foreground = ${colors.foreground-alt} | |
[module/eth] | |
type = internal/network | |
interface = enp1s0 | |
interval = 3.0 | |
format-connected-underline = #55aa55 | |
format-connected-prefix = "ξ " | |
format-connected-prefix-foreground = ${colors.foreground-alt} | |
label-connected = %local_ip% | |
format-disconnected = | |
;format-disconnected = <label-disconnected> | |
;format-disconnected-underline = ${self.format-connected-underline} | |
;label-disconnected = %ifname% disconnected | |
;label-disconnected-foreground = ${colors.foreground-alt} | |
[module/date] | |
type = internal/date | |
interval = 5 | |
date = %a, %b %d | |
date-alt = " %Y-%m-%d" | |
time = %I:%M %P | |
time-alt = %H:%M:%S | |
format-prefix = ξ | |
format-prefix-foreground = ${colors.foreground-alt} | |
;format-underline = #005366 | |
;format-foreground = #005366 | |
format-underline = #bcbcbc | |
format-foreground = #bcbcbc | |
label = %date% %time% | |
[module/pulseaudio] | |
type = internal/pulseaudio | |
format-volume = <ramp-volume> <label-volume> | |
format-volume-underline = #7a8f65 | |
;label-volume = vol: %percentage%% | |
label-volume-foreground = #7a8f65 | |
format-underline = #000 | |
ramp-volume-0 = π | |
ramp-volume-1 = π | |
ramp-volume-2 = π | |
ramp-volume-foreground = #7a8f65 | |
label-muted = vol muted | |
label-muted-foreground = #777 | |
bar-volume-width = 10 | |
bar-volume-foreground-0 = #55aa55 | |
bar-volume-foreground-1 = #55aa55 | |
bar-volume-foreground-2 = #55aa55 | |
bar-volume-foreground-3 = #55aa55 | |
bar-volume-foreground-4 = #55aa55 | |
bar-volume-foreground-5 = #f5a70a | |
bar-volume-foreground-6 = #ff5555 | |
bar-volume-gradient = false | |
bar-volume-indicator = | | |
bar-volume-indicator-font = 2 | |
bar-volume-fill = β | |
bar-volume-fill-font = 2 | |
bar-volume-empty = β | |
bar-volume-empty-font = 2 | |
bar-volume-empty-foreground = ${colors.foreground-alt} | |
[module/alsa] | |
type = internal/alsa | |
format-volume = <label-volume> <bar-volume> | |
label-volume = VOL | |
label-volume-foreground = ${root.foreground} | |
format-muted-prefix = "ξ " | |
format-muted-foreground = ${colors.foreground-alt} | |
label-muted = sound muted | |
bar-volume-width = 10 | |
bar-volume-foreground-0 = #55aa55 | |
bar-volume-foreground-1 = #55aa55 | |
bar-volume-foreground-2 = #55aa55 | |
bar-volume-foreground-3 = #55aa55 | |
bar-volume-foreground-4 = #55aa55 | |
bar-volume-foreground-5 = #f5a70a | |
bar-volume-foreground-6 = #ff5555 | |
bar-volume-gradient = false | |
bar-volume-indicator = | | |
bar-volume-indicator-font = 2 | |
bar-volume-fill = β | |
bar-volume-fill-font = 2 | |
bar-volume-empty = β | |
bar-volume-empty-font = 2 | |
bar-volume-empty-foreground = ${colors.foreground-alt} | |
[module/battery] | |
type = internal/battery | |
battery = BAT0 | |
adapter = ADP0 | |
full-at = 98 | |
format-charging = πο§ <label-charging> | |
;format-charging-underline = #ff392e | |
;format-charging-foregound = #ff392e | |
format-charging-underline = #8f657a | |
format-charging-foregound = #8f657a | |
#ffb52a | |
format-discharging = π <label-discharging> | |
format-discharging-underline = ${self.format-charging-underline} | |
;format-discharging-foreground = #ff392e | |
format-discharging-foreground = #8f657a | |
;format-full-prefix = "ξΊ " | |
format-full = ο¦ AC | |
format-full-prefix-foreground = ${colors.foreground-alt} | |
format-full-underline = ${self.format-charging-underline} | |
format-full-foreground = ${self.format-charging-underline} | |
ramp-capacity-0 = ξΆ | |
ramp-capacity-1 = ξ· | |
ramp-capacity-2 = ξΈ | |
ramp-capacity-foreground = ${colors.foreground-alt} | |
animation-charging-0 = ξΆ | |
animation-charging-1 = ξ· | |
animation-charging-2 = ξΈ | |
animation-charging-foreground = ${colors.foreground-alt} | |
animation-charging-framerate = 750 | |
animation-discharging-0 = ξΈ | |
animation-discharging-1 = ξ· | |
animation-discharging-2 = ξΆ | |
animation-discharging-foreground = ${colors.foreground-alt} | |
animation-discharging-framerate = 750 | |
[module/temperature] | |
type = internal/temperature | |
thermal-zone = 0 | |
warn-temperature = 60 | |
format = <ramp> <label> | |
format-underline = #f50a4d | |
format-warn = <ramp> <label-warn> | |
format-warn-underline = ${self.format-underline} | |
label = %temperature-c% | |
label-warn = %temperature-c% | |
label-warn-foreground = ${colors.secondary} | |
ramp-0 = ξ | |
ramp-1 = ξ | |
ramp-2 = ξ | |
ramp-foreground = ${colors.foreground-alt} | |
[module/powermenu] | |
type = custom/menu | |
expand-right = true | |
format-spacing = 1 | |
label-open = ξ | |
label-open-foreground = ${colors.secondary} | |
label-close = ξ₯ cancel | |
label-close-foreground = ${colors.secondary} | |
label-separator = | | |
label-separator-foreground = ${colors.foreground-alt} | |
menu-0-0 = reboot | |
menu-0-0-exec = menu-open-1 | |
menu-0-1 = power off | |
menu-0-1-exec = menu-open-2 | |
menu-1-0 = cancel | |
menu-1-0-exec = menu-open-0 | |
menu-1-1 = reboot | |
menu-1-1-exec = sudo reboot | |
menu-2-0 = power off | |
menu-2-0-exec = sudo poweroff | |
menu-2-1 = cancel | |
menu-2-1-exec = menu-open-0 | |
[settings] | |
screenchange-reload = true | |
;compositing-background = xor | |
;compositing-background = screen | |
compositing-foreground = source | |
compositing-border = over | |
pseudo-transparency = false | |
[global/wm] | |
;margin-top = 5 | |
;margin-bottom = 5 | |
; vim:ft=dosini |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment