2017-02-08 13:05:01 -06:00
|
|
|
;=====================================================
|
|
|
|
;
|
|
|
|
; To learn more about how to configure Polybar
|
|
|
|
; go to https://github.com/jaagr/polybar
|
|
|
|
;
|
|
|
|
; The README contains alot of information
|
|
|
|
;
|
|
|
|
;=====================================================
|
|
|
|
|
|
|
|
[colors]
|
2017-02-08 18:19:13 -06:00
|
|
|
background = ${xrdb:color0:#111}
|
2017-02-08 14:13:46 -06:00
|
|
|
background-alt = ${xrdb:color2:#333}
|
2017-02-08 13:27:09 -06:00
|
|
|
foreground = ${xrdb:color7:#222}
|
2017-02-08 13:05:01 -06:00
|
|
|
foreground-alt = #555
|
2017-02-08 14:13:46 -06:00
|
|
|
primary = ${xrdb:color1:#222}
|
|
|
|
secondary = ${xrdb:color3:#222}
|
2017-02-08 13:05:01 -06:00
|
|
|
alert = #bd2c40
|
|
|
|
|
2017-02-08 13:08:47 -06:00
|
|
|
[bar/lytedev]
|
2017-02-08 18:19:13 -06:00
|
|
|
monitor = ${env:BAR_MONITOR:HDMI-1}
|
|
|
|
width = ${env:BAR_WIDTH:HDMI-1}
|
|
|
|
height = ${env:BAR_HEIGHT:30}
|
|
|
|
offset-x = ${env:POS_X:30}
|
|
|
|
offset-y = ${env:POS_Y:30}
|
|
|
|
radius = 0.0
|
2017-02-08 13:05:01 -06:00
|
|
|
fixed-center = false
|
2017-02-08 18:19:13 -06:00
|
|
|
bottom = ${env:BAR_BOTTOM:true}
|
2017-02-08 13:05:01 -06:00
|
|
|
|
|
|
|
background = ${colors.background}
|
|
|
|
foreground = ${colors.foreground}
|
|
|
|
|
|
|
|
line-size = 3
|
|
|
|
line-color = #f00
|
|
|
|
|
2017-02-08 18:19:13 -06:00
|
|
|
border-size = 0
|
2017-02-08 13:05:01 -06:00
|
|
|
border-color = #00000000
|
|
|
|
|
|
|
|
padding-left = 0
|
2017-02-08 18:19:13 -06:00
|
|
|
padding-right = 0
|
2017-02-08 13:05:01 -06:00
|
|
|
|
|
|
|
module-margin-left = 1
|
|
|
|
module-margin-right = 2
|
|
|
|
|
2017-02-08 18:19:13 -06:00
|
|
|
font-0 = ${env:BAR_FONT_DECLARATION}
|
2017-04-14 11:52:18 -05:00
|
|
|
font-1 = xos4 Terminess Powerline:size=24:antialias=false;0
|
|
|
|
font-2 = siji:pixelsize=24;1
|
|
|
|
font-3 = ${env:BAR_ICON_FONT_DECLARATION}
|
2017-02-08 13:05:01 -06:00
|
|
|
|
|
|
|
modules-left = bspwm
|
2017-04-14 11:52:18 -05:00
|
|
|
modules-center =
|
2017-04-14 15:03:39 -05:00
|
|
|
modules-right = xbacklight volume xkeyboard filesystem memory cpu battery temperature date powermenu
|
2017-02-08 13:05:01 -06:00
|
|
|
|
|
|
|
tray-position = right
|
|
|
|
tray-padding = 2
|
|
|
|
;tray-transparent = true
|
|
|
|
;tray-background = #0063ff
|
|
|
|
|
2017-03-14 20:38:52 -05:00
|
|
|
wm-restack = bspwm
|
2017-02-08 13:05:01 -06:00
|
|
|
;wm-restack = i3
|
|
|
|
|
2017-03-14 20:38:52 -05:00
|
|
|
override-redirect = true
|
2017-02-08 13:05:01 -06:00
|
|
|
|
|
|
|
;scroll-up = bspwm-desknext
|
|
|
|
;scroll-down = bspwm-deskprev
|
|
|
|
|
|
|
|
;scroll-up = i3wm-wsnext
|
|
|
|
;scroll-down = i3wm-wsprev
|
|
|
|
|
|
|
|
[module/xwindow]
|
|
|
|
type = internal/xwindow
|
|
|
|
label = %title:0:30:...%
|
|
|
|
|
2017-02-08 18:19:13 -06:00
|
|
|
; [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}
|
|
|
|
|
2017-02-08 13:05:01 -06:00
|
|
|
[module/filesystem]
|
|
|
|
type = internal/fs
|
|
|
|
interval = 25
|
|
|
|
|
2017-02-08 13:27:09 -06:00
|
|
|
mount-0 = /home
|
2017-02-08 13:05:01 -06:00
|
|
|
|
2017-04-14 11:52:18 -05:00
|
|
|
format = <label-mounted>
|
|
|
|
label-mounted = %percentage_used%%
|
2017-04-14 15:03:39 -05:00
|
|
|
label-mounted-foreground = ${xrdb:color6}
|
2017-04-14 11:52:18 -05:00
|
|
|
format-mounted-prefix = " "
|
|
|
|
format-mounted-prefix-foreground = ${colors.foreground-alt}
|
2017-02-08 13:05:01 -06:00
|
|
|
|
|
|
|
[module/bspwm]
|
2017-04-14 11:52:18 -05:00
|
|
|
ws-icon-0 = dev;
|
|
|
|
ws-icon-1 = web;
|
|
|
|
ws-icon-2 = gfx;
|
|
|
|
ws-icon-3 = env;
|
|
|
|
ws-icon-4 = play;
|
|
|
|
ws-icon-5 = out;
|
|
|
|
ws-icon-6 = misc;
|
|
|
|
ws-icon-7 = chat;
|
|
|
|
ws-icon-8 = mon;
|
|
|
|
ws-icon-9 = util;
|
|
|
|
ws-icon-default = ♟
|
|
|
|
|
|
|
|
label-focused-font = 4
|
|
|
|
label-occupied-font = 4
|
|
|
|
label-urgent-font = 4
|
|
|
|
label-empty-font = 4
|
|
|
|
|
|
|
|
; misc icon:
|
|
|
|
|
2017-02-08 13:05:01 -06:00
|
|
|
type = internal/bspwm
|
2017-03-14 20:35:15 -05:00
|
|
|
pin-workspaces = false
|
2017-02-08 13:05:01 -06:00
|
|
|
|
2017-04-14 11:52:18 -05:00
|
|
|
label-focused = %icon%
|
2017-02-08 18:19:13 -06:00
|
|
|
label-focused-background = ${xrdb:color1}
|
|
|
|
; label-focused-underline= ${colors.primary}
|
2017-02-08 13:05:01 -06:00
|
|
|
label-focused-padding = 2
|
|
|
|
|
2017-04-14 11:52:18 -05:00
|
|
|
label-occupied = %icon%
|
2017-02-08 13:05:01 -06:00
|
|
|
label-occupied-padding = 2
|
|
|
|
|
2017-04-14 11:52:18 -05:00
|
|
|
label-urgent = %icon%
|
|
|
|
label-urgent-background = ${xrdb:color3}
|
2017-02-08 13:05:01 -06:00
|
|
|
label-urgent-padding = 2
|
|
|
|
|
2017-04-14 11:52:18 -05:00
|
|
|
label-empty = %icon%
|
2017-02-08 13:05:01 -06:00
|
|
|
label-empty-foreground = ${colors.foreground-alt}
|
|
|
|
label-empty-padding = 2
|
|
|
|
|
|
|
|
[module/mpd]
|
|
|
|
type = internal/mpd
|
|
|
|
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
|
|
|
|
|
|
|
|
icon-prev =
|
|
|
|
icon-stop =
|
|
|
|
icon-play =
|
|
|
|
icon-pause =
|
|
|
|
icon-next =
|
|
|
|
|
|
|
|
label-song-maxlen = 25
|
|
|
|
label-song-ellipsis = true
|
|
|
|
|
|
|
|
[module/xbacklight]
|
|
|
|
type = internal/xbacklight
|
|
|
|
|
|
|
|
format = <label> <bar>
|
2017-04-14 11:52:18 -05:00
|
|
|
format-foreground = ${colors.foreground-alt}
|
|
|
|
label =
|
2017-02-08 13:05:01 -06:00
|
|
|
|
2017-04-14 11:52:18 -05:00
|
|
|
bar-width = 5
|
2017-02-08 13:05:01 -06:00
|
|
|
bar-indicator = |
|
2017-04-14 15:08:51 -05:00
|
|
|
bar-indicator-foreground = #fff
|
2017-02-08 13:05:01 -06:00
|
|
|
bar-indicator-font = 2
|
|
|
|
bar-fill = ─
|
|
|
|
bar-fill-font = 2
|
2017-04-14 15:08:51 -05:00
|
|
|
bar-fill-foreground = ${xrdb:color3}
|
2017-02-08 13:05:01 -06:00
|
|
|
bar-empty = ─
|
|
|
|
bar-empty-font = 2
|
2017-04-14 15:08:51 -05:00
|
|
|
bar-empty-foreground = ${xrdb:color3}
|
2017-02-08 13:05:01 -06:00
|
|
|
|
|
|
|
[module/backlight-acpi]
|
|
|
|
inherit = module/xbacklight
|
|
|
|
type = internal/backlight
|
|
|
|
card = intel_backlight
|
|
|
|
|
|
|
|
[module/cpu]
|
|
|
|
type = internal/cpu
|
|
|
|
interval = 2
|
2017-04-14 11:52:18 -05:00
|
|
|
format-prefix = " "
|
2017-02-08 13:05:01 -06:00
|
|
|
format-prefix-foreground = ${colors.foreground-alt}
|
2017-02-08 18:19:13 -06:00
|
|
|
; format-underline = #f90000
|
2017-02-08 13:05:01 -06:00
|
|
|
label = %percentage%%
|
2017-04-14 11:52:18 -05:00
|
|
|
label-foreground = ${xrdb:color6}
|
2017-02-08 13:05:01 -06:00
|
|
|
|
|
|
|
[module/memory]
|
|
|
|
type = internal/memory
|
|
|
|
interval = 2
|
2017-04-14 11:52:18 -05:00
|
|
|
format-prefix = " "
|
2017-02-08 13:05:01 -06:00
|
|
|
format-prefix-foreground = ${colors.foreground-alt}
|
2017-02-08 18:19:13 -06:00
|
|
|
; format-underline = #4bffdc
|
2017-02-08 13:05:01 -06:00
|
|
|
label = %percentage_used%%
|
2017-04-14 11:52:18 -05:00
|
|
|
label-foreground = ${xrdb:color6}
|
2017-02-08 13:05:01 -06:00
|
|
|
|
|
|
|
[module/wlan]
|
|
|
|
type = internal/network
|
2017-02-08 13:08:47 -06:00
|
|
|
interface =
|
2017-02-08 13:05:01 -06:00
|
|
|
interval = 3.0
|
|
|
|
|
|
|
|
format-connected = <ramp-signal> <label-connected>
|
2017-02-08 18:19:13 -06:00
|
|
|
; format-connected-underline = #9f78e1
|
2017-02-08 13:05:01 -06:00
|
|
|
label-connected = %essid%
|
|
|
|
|
|
|
|
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-foreground = ${colors.foreground-alt}
|
|
|
|
|
|
|
|
[module/eth]
|
|
|
|
type = internal/network
|
2017-02-08 13:08:47 -06:00
|
|
|
interface =
|
2017-02-08 13:05:01 -06:00
|
|
|
interval = 3.0
|
|
|
|
|
2017-02-08 18:19:13 -06:00
|
|
|
; format-connected-underline = #55aa55
|
2017-02-08 13:27:09 -06:00
|
|
|
format-connected-prefix = "net "
|
2017-02-08 13:05:01 -06:00
|
|
|
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
|
2017-02-08 13:27:09 -06:00
|
|
|
interval = 1
|
2017-02-08 13:05:01 -06:00
|
|
|
|
2017-04-14 15:03:39 -05:00
|
|
|
date = "%Y-%m-%d "
|
2017-02-08 14:13:46 -06:00
|
|
|
date-alt =
|
2017-02-08 13:05:01 -06:00
|
|
|
|
2017-02-08 14:13:46 -06:00
|
|
|
time = %H:%M:%S
|
|
|
|
time-alt = %H:%M
|
2017-02-08 13:05:01 -06:00
|
|
|
|
2017-04-14 15:03:39 -05:00
|
|
|
label-foreground = ${xrdb:color1}
|
|
|
|
format-prefix = " "
|
2017-02-08 13:05:01 -06:00
|
|
|
format-prefix-foreground = ${colors.foreground-alt}
|
2017-02-08 18:19:13 -06:00
|
|
|
; format-underline = #0a6cf5
|
2017-02-08 13:05:01 -06:00
|
|
|
|
2017-04-14 15:03:39 -05:00
|
|
|
label = %date%%time%
|
2017-02-08 13:05:01 -06:00
|
|
|
|
|
|
|
[module/volume]
|
|
|
|
type = internal/volume
|
|
|
|
|
|
|
|
format-volume = <label-volume> <bar-volume>
|
2017-04-14 11:52:18 -05:00
|
|
|
label-volume =
|
|
|
|
label-volume-foreground = ${colors.foreground-alt}
|
2017-02-08 13:05:01 -06:00
|
|
|
|
2017-02-08 18:19:13 -06:00
|
|
|
format-muted-prefix =
|
2017-02-08 13:05:01 -06:00
|
|
|
format-muted-foreground = ${colors.foreground-alt}
|
2017-04-14 11:52:18 -05:00
|
|
|
label-muted = muted
|
2017-02-08 13:05:01 -06:00
|
|
|
|
2017-02-08 18:19:13 -06:00
|
|
|
bar-volume-width = 5
|
2017-04-14 15:08:51 -05:00
|
|
|
bar-volume-foreground-0 = ${xrdb:color3}
|
|
|
|
bar-volume-foreground-1 = ${xrdb:color3}
|
|
|
|
bar-volume-foreground-2 = ${xrdb:color3}
|
|
|
|
bar-volume-foreground-3 = ${xrdb:color3}
|
|
|
|
bar-volume-foreground-4 = ${xrdb:color3}
|
|
|
|
bar-volume-foreground-5 = ${xrdb:color3}
|
|
|
|
bar-volume-foreground-6 = ${xrdb:color3}
|
2017-02-08 13:05:01 -06:00
|
|
|
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 = ADP1
|
|
|
|
full-at = 98
|
|
|
|
|
2017-04-14 11:52:18 -05:00
|
|
|
label-discharging-foreground = ${xrdb:color3}
|
|
|
|
label-charging-foreground = ${xrdb:color2}
|
|
|
|
label-full-foreground = ${xrdb:color4}
|
|
|
|
|
2017-02-08 13:05:01 -06:00
|
|
|
format-charging = <animation-charging> <label-charging>
|
|
|
|
|
2017-04-14 11:52:18 -05:00
|
|
|
format-discharging-prefix =
|
|
|
|
format-discharging-prefix-foreground = ${colors.foreground-alt}
|
2017-02-08 13:05:01 -06:00
|
|
|
format-discharging = <ramp-capacity> <label-discharging>
|
2017-02-08 18:19:13 -06:00
|
|
|
; format-discharging-underline = ${self.format-charging-underline}
|
2017-02-08 13:05:01 -06:00
|
|
|
|
2017-04-14 11:52:18 -05:00
|
|
|
format-charging-prefix =
|
|
|
|
format-charging-prefix-foreground = ${colors.foreground-alt}
|
|
|
|
|
|
|
|
format-full-prefix =
|
2017-02-08 13:05:01 -06:00
|
|
|
format-full-prefix-foreground = ${colors.foreground-alt}
|
|
|
|
|
2017-04-14 11:52:18 -05:00
|
|
|
; empty battery
|
|
|
|
ramp-capacity-0 = ""
|
|
|
|
ramp-capacity-1 = ""
|
|
|
|
ramp-capacity-2 = ""
|
2017-02-08 13:05:01 -06:00
|
|
|
ramp-capacity-foreground = ${colors.foreground-alt}
|
|
|
|
|
2017-04-14 11:52:18 -05:00
|
|
|
animation-charging-0 = ""
|
|
|
|
animation-charging-1 = ""
|
|
|
|
animation-charging-2 = ""
|
2017-02-08 13:05:01 -06:00
|
|
|
animation-charging-foreground = ${colors.foreground-alt}
|
|
|
|
animation-charging-framerate = 750
|
|
|
|
|
|
|
|
[module/temperature]
|
|
|
|
type = internal/temperature
|
|
|
|
thermal-zone = 0
|
|
|
|
warn-temperature = 60
|
|
|
|
|
2017-02-08 13:27:09 -06:00
|
|
|
format = <ramp><label>
|
2017-02-08 18:19:13 -06:00
|
|
|
; format-underline = #f50a4d
|
2017-02-08 13:05:01 -06:00
|
|
|
format-warn = <ramp> <label-warn>
|
2017-02-08 18:19:13 -06:00
|
|
|
; format-warn-underline = ${self.format-underline}
|
2017-04-14 11:52:18 -05:00
|
|
|
label-foreground = ${xrdb:color2}
|
|
|
|
format-prefix =
|
|
|
|
format-prefix-foreground = ${colors.foreground-alt}
|
2017-02-08 13:05:01 -06:00
|
|
|
|
|
|
|
label = %temperature%
|
|
|
|
label-warn = %temperature%
|
2017-04-14 11:52:18 -05:00
|
|
|
label-warn-foreground = ${xrdb:color1}
|
2017-02-08 13:05:01 -06:00
|
|
|
|
2017-04-14 11:52:18 -05:00
|
|
|
ramp-0 = " "
|
|
|
|
ramp-1 = " "
|
|
|
|
ramp-2 = " "
|
2017-02-08 13:05:01 -06:00
|
|
|
ramp-foreground = ${colors.foreground-alt}
|
|
|
|
|
|
|
|
[module/powermenu]
|
|
|
|
type = custom/menu
|
|
|
|
|
|
|
|
format-spacing = 1
|
|
|
|
|
2017-02-08 13:27:09 -06:00
|
|
|
label-open =
|
2017-02-08 13:05:01 -06:00
|
|
|
label-open-foreground = ${colors.secondary}
|
2017-02-08 13:27:09 -06:00
|
|
|
label-close = cancel
|
2017-02-08 13:05:01 -06:00
|
|
|
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
|
|
|
|
|
|
|
|
[global/wm]
|
2017-02-22 19:01:27 -06:00
|
|
|
margin-top = ${env:WINDOW_GAP}
|
|
|
|
margin-bottom = ${env:WINDOW_GAP}
|