Skip to content

Instantly share code, notes, and snippets.

@vnteles
Created February 23, 2020 20:42
Show Gist options
  • Save vnteles/557f97be21a93ba784ddd170f6a101e4 to your computer and use it in GitHub Desktop.
Save vnteles/557f97be21a93ba784ddd170f6a101e4 to your computer and use it in GitHub Desktop.
Polybar config
;==========================================================
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
; config by Vinícius Teles
;
;
;
; To learn more about how to configure Polybar
; go to https://github.com/jaagr/polybar
;
; The README contains alot of information
;
;
;==========================================================
[colors]
red = #F32F63
bred = #FF3273
blue = #6F90F9
bblue = #5790FF
yellow = #FAFC84
byellow = #FCFF84
green = #60B362
bgreen = #60C362
purple = #7267FD
bpurple = #8070FF
black = #151515
bblack = #232323
white = #efefef
bwhite = #ffffff
background = #0d0d0d
foreground = #fefefe
foreground-alt = #eaeaea
accent-alt = #FF5F6D
accent = #FF7F8D
[bar/top]
width = 100%
height = 2.8%
fixed-center = true
background = ${colors.background}
foreground = ${colors.foreground}
padding-left = 1
padding-right = 1
module-margin = 3
font-0 = SanFranciscoDisplay-Regular:pixelsize=9:antialias=true;2
font-1 = Feather:pixelsize=10;1
modules-left = cello
modules-center =
modules-right = pulseaudio memory battery wlan date
border-color = #0000
tray-position = right
bottom = false
line-size = 1
[module/cello]
type = internal/xworkspaces
enable-click = true
enable-scroll = true
label-monitor = %name%
label-active-padding = 4
label-empty-padding = 4
label-active = %name%
label-active-background = #20ffffff
label-active-foreground = ${colors.accent-alt}
label-active-underline = ${colors.accent-alt}
label-occupied = %name%
label-urgent = %name%
label-urgent-foreground = ${colors.bwhite}
label-urgent-background = ${colors.bred}
label-empty = %name%
label-empty-foreground = ${colors.foreground}
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-foreground = ${colors.foreground}
label = %percentage_used%%
format-padding = 1
[module/wlan]
type = internal/network
interface = wlp2s0
interval = 3.0
format-connected-prefix = " "
format-connected = <label-connected>
label-connected = %local_ip%
format-connected-foreground = ${colors.foreground}
format-connected-padding = 1
format-disconnected-prefix = " "
format-disconnected = <label-disconnected>
label-disconnected =  %ifname% disconnected
label-disconnected-foreground = ${colors.foreground-alt}
format-disconnected-padding = 1
[module/battery]
type = internal/battery
full-at = 99
battery = BAT1
adapter = ACAD
poll-interval = 5
label-charging =  %percentage%%
label-discharging =  %percentage%%
[module/date]
type = internal/date
interval = 2
date = "%a"
date-alt = "%d/%m/%Y"
time =%I:%M %p
time-alt = %I:%M %p
format-prefix =" "
format-foreground = ${colors.foreground}
format-padding = 1
label = %date% %time%
[module/pulseaudio]
type = internal/pulseaudio
format-volume = <label-volume>
label-volume = %percentage%%
format-volume-foreground = ${colors.foreground}
format-volume-prefix =" "
format-volume-padding = 1
label-muted =" %percentage%% (Muted)"
label-muted-foreground = ${colors.foreground}
label-muted-padding = 1
[settings]
screenchange-reload = true
;compositing-background = xor
;compositing-background = screen
;compositing-foreground = source
;compositing-border = over
;pseudo-transparency = true
[global/wm]
margin-top = 30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment