This repository has been archived on 2024-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
dotfiles/de/bar/polybar-config

371 lines
8.3 KiB
Text
Raw Normal View History

;=====================================================
;
; 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:#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}
foreground-alt = #555
2017-02-08 14:13:46 -06:00
primary = ${xrdb:color1:#222}
secondary = ${xrdb:color3:#222}
alert = #bd2c40
[bar/lytedev]
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
fixed-center = false
bottom = ${env:BAR_BOTTOM:true}
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3
line-color = #f00
border-size = 0
border-color = #00000000
padding-left = 0
padding-right = 0
module-margin-left = 1
module-margin-right = 2
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}
modules-left = bspwm
2017-04-14 11:52:18 -05:00
modules-center =
modules-right = xbacklight volume xkeyboard filesystem memory cpu battery temperature date powermenu
tray-position = right
tray-padding = 2
;tray-transparent = true
;tray-background = #0063ff
2017-03-14 20:38:52 -05:00
wm-restack = bspwm
;wm-restack = i3
2017-03-14 20:38:52 -05:00
override-redirect = true
;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:...%
; [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
2017-02-08 13:27:09 -06:00
mount-0 = /home
2017-04-14 11:52:18 -05:00
format = <label-mounted>
label-mounted = %percentage_used%%
label-mounted-foreground = ${xrdb:color6}
2017-04-14 11:52:18 -05:00
format-mounted-prefix = " "
format-mounted-prefix-foreground = ${colors.foreground-alt}
[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: 
type = internal/bspwm
2017-03-14 20:35:15 -05:00
pin-workspaces = false
2017-04-14 11:52:18 -05:00
label-focused = %icon%
label-focused-background = ${xrdb:color1}
; label-focused-underline= ${colors.primary}
label-focused-padding = 2
2017-04-14 11:52:18 -05:00
label-occupied = %icon%
label-occupied-padding = 2
2017-04-14 11:52:18 -05:00
label-urgent = %icon%
label-urgent-background = ${xrdb:color3}
label-urgent-padding = 2
2017-04-14 11:52:18 -05:00
label-empty = %icon%
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-04-14 11:52:18 -05:00
bar-width = 5
bar-indicator = |
bar-indicator-foreground = #ff
bar-indicator-font = 2
bar-fill = ─
bar-fill-font = 2
bar-fill-foreground = #9f78e1
bar-empty = ─
bar-empty-font = 2
bar-empty-foreground = ${colors.foreground-alt}
[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 = " "
format-prefix-foreground = ${colors.foreground-alt}
; format-underline = #f90000
label = %percentage%%
2017-04-14 11:52:18 -05:00
label-foreground = ${xrdb:color6}
[module/memory]
type = internal/memory
interval = 2
2017-04-14 11:52:18 -05:00
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
; format-underline = #4bffdc
label = %percentage_used%%
2017-04-14 11:52:18 -05:00
label-foreground = ${xrdb:color6}
[module/wlan]
type = internal/network
interface =
interval = 3.0
format-connected = <ramp-signal> <label-connected>
; format-connected-underline = #9f78e1
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
interface =
interval = 3.0
; format-connected-underline = #55aa55
2017-02-08 13:27:09 -06:00
format-connected-prefix = "net "
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
date = "%Y-%m-%d "
2017-02-08 14:13:46 -06:00
date-alt =
2017-02-08 14:13:46 -06:00
time = %H:%M:%S
time-alt = %H:%M
label-foreground = ${xrdb:color1}
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
; format-underline = #0a6cf5
label = %date%%time%
[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}
format-muted-prefix =
format-muted-foreground = ${colors.foreground-alt}
2017-04-14 11:52:18 -05:00
label-muted = muted
bar-volume-width = 5
bar-volume-foreground-0 = #888888
bar-volume-foreground-1 = #888888
bar-volume-foreground-2 = #888888
bar-volume-foreground-3 = #888888
bar-volume-foreground-4 = #888888
bar-volume-foreground-5 = #888888
bar-volume-foreground-6 = #888888
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}
format-charging = <animation-charging> <label-charging>
2017-04-14 11:52:18 -05:00
format-discharging-prefix =
format-discharging-prefix-foreground = ${colors.foreground-alt}
format-discharging = <ramp-capacity> <label-discharging>
; format-discharging-underline = ${self.format-charging-underline}
2017-04-14 11:52:18 -05:00
format-charging-prefix =
format-charging-prefix-foreground = ${colors.foreground-alt}
format-full-prefix =
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 = ""
ramp-capacity-foreground = ${colors.foreground-alt}
2017-04-14 11:52:18 -05:00
animation-charging-0 = ""
animation-charging-1 = ""
animation-charging-2 = ""
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>
; format-underline = #f50a4d
format-warn = <ramp> <label-warn>
; 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}
label = %temperature%
label-warn = %temperature%
2017-04-14 11:52:18 -05:00
label-warn-foreground = ${xrdb:color1}
2017-04-14 11:52:18 -05:00
ramp-0 = " "
ramp-1 = " "
ramp-2 = " "
ramp-foreground = ${colors.foreground-alt}
[module/powermenu]
type = custom/menu
format-spacing = 1
2017-02-08 13:27:09 -06:00
label-open =
label-open-foreground = ${colors.secondary}
2017-02-08 13:27:09 -06:00
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
[global/wm]
2017-02-22 19:01:27 -06:00
margin-top = ${env:WINDOW_GAP}
margin-bottom = ${env:WINDOW_GAP}