Skip to content

Instantly share code, notes, and snippets.

@YalesRios
Last active February 11, 2019 12:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save YalesRios/aa60069e131fa4ecb3a58b617b2da816 to your computer and use it in GitHub Desktop.
Save YalesRios/aa60069e131fa4ecb3a58b617b2da816 to your computer and use it in GitHub Desktop.
[colors]
background = #2E3440
foreground = #88C0D0
foreground-alt= #4C566A
i3_background = #2E3440
i3_foreground = #D8DEE9
i3_urgent_background = #BF616A
i3_unfocused_foreground = #88C0D0
status_good = #8FBCBB
status_sub = #88C0D0
status_bad = #B48EAD
line-color = #FFFFFF
transparent = #00FFFFFF
tray_background = #60e7ecdb
[const]
width = 100%
height = 17
clickarea = 25
border-left-size = 0
border-right = 0
border-top = 0
module-margin-left = 1
module-margin-right = 1
spacing = 1
line-height = 4
line-size = 3
radius = 4
radius-top = 4
radius-bottom = 0
font-0 = misc tamsyn:pixelsize=11;2
font-2 = FontAwesome 5 Free:style=Regular:size=8;3
font-1 = FontAwesome 5 Free:style=Solid:size=8;3
font-3 = FontAwesome 5 Brands:syle=Regular:size=8;3
font-4 = Unifont:size=11;3
font-5 = Siji:pixelsize=11;3
;SanFranSiscoDisplay:size=14:weight=regular;0;
;
[bar/center]
#monitor = ${env:MONITOR}
width = ${const.width}
height = ${const.height}
clickareas = ${const.clickareas}
background = ${colors.background}
foreground = ${colors.foreground}
line-color = ${colors.line-color}
line-size = ${const.line-size}
border-color = ${colors.transparent}
border-left-size = ${const.border-left-size}
border-right-size = ${const.border-right}
border-top-size = ${const.border-top}
;border-radius-top = ${const.radius-top}
;border-radius-bottom = ${const.radius-bottom}
;border-radius = ${const.radius}
radius = 4
module-margin-left = ${const.module-margin-left}
module-margin-right = ${const.module-margin-right}
spacing = ${const.spacing}
lineheight = ${const.lineheight}
font-0 = ${const.font-0}
font-1 = ${const.font-1}
modules-left = i3 xwindow
modules-center = spotify
modules-right = volume clock powermenu
[module/i3]
type = internal/i3
pin-workspaces = true
strip-wsnumbers = true
index-sort = true
label-focused = %name%
label-focused-foreground = ${colors.i3_foreground}
label-focused-background = ${colors.i3_background}
label-focused-underline = ${colors.foreground}
label-focused-padding = 2
label-focused-maxlen = 3
label-focused-ellipsis = true
label-unfocused = %name%
label-unfocused-foreground = ${colors.i3_unfocused_foreground}
label-unfocused-padding = 1
label-unfocused-maxlen = 3
label-unfocused-ellipsis = false
label-visible = %name%
label-visible-padding = 1
label-visible-maxlen = 3
label-urgent = %name%
label-urgent-foreground = ${colors.i3_foreground}
label-urgent-background = ${colors.i3_urgent_background}
label-urgent-padding = 1
label-urgent-maxlen = 3
[module/volume]
type = internal/volume
format-volume = <ramp-volume> <label-volume>
label-muted = %{F#dd7e66}%{F-} %{F#CCC}muted%{F-}
ramp-volume-0 = 
ramp-volume-1 = 
ramp-volume-2 = 
ramp-volume-3 = 
[module/clock]
type = internal/date
interval = 1
date =  %H:%M
format-background = ${colors.background}
format-foreground = ${colors.foreground}
format-padding = 1
[module/weather]
type = custom/script
interval = 10
format = <label>
format-prefix = " "
format-prefix-foreground = ${colors.foreground}
exec = $HOME/.config/polybar/weather
[module/xwindow]
type = internal/xwindow
label = %title%
label-maxlen = 50
[module/powermenu]
type = custom/menu
label-open = "%{T4} %{T-}%{T4} %{T-}"
label-close =
format = <label-toggle><menu>
label-separator = " : "
format-foreground = ${colors.background}
format-background = ${colors.foreground}
menu-0-0 = 
menu-0-0-exec = menu-open-1
menu-0-1 = 
menu-0-1-exec = menu-open-2
menu-0-2 = 
menu-0-2-exec = menu-open-3
menu-0-3 = " "
menu-1-0 = 
menu-1-0-exec = systemctl suspend
menu-1-1 = " "
menu-2-0 = 
menu-2-0-exec = reboot
menu-2-1 = ""
menu-3-0 = 
menu-3-0-exec = shutdown now
menu-3-1 = ""
[module/spotify]
type = custom/script
interval = 1
format-prefix = " "
format = <label>
exec = python /home/yales/Documents/polybar/polybar-spotify/spotify_status.py -f '{artist}: {song}'
#format-underline = #A3BE8C
# vim:filetype=dosini
# mousepad:filetype=dosini
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment