Skip to content

Commit

Permalink
polybar: begin customizing
Browse files Browse the repository at this point in the history
  • Loading branch information
jhillyerd committed May 23, 2020
1 parent 33cf0c7 commit 591eea4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 74 deletions.
2 changes: 1 addition & 1 deletion dot_config/i3/config
Original file line number Diff line number Diff line change
Expand Up @@ -169,4 +169,4 @@ bindsym --release Print exec "$HOME/bin/snipit"
# Startup commands
exec --no-startup-id "urxvtd -q -f -o"
exec --no-startup-id "xsetroot -solid '#333333'"
exec --no-startup-id "polybar example"
exec --no-startup-id "polybar main"
81 changes: 8 additions & 73 deletions dot_config/polybar/config
Original file line number Diff line number Diff line change
@@ -1,21 +1,3 @@
;==========================================================
;
;
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
;
;
; To learn more about how to configure Polybar
; go to https://github.com/polybar/polybar
;
; The README contains a lot of information
;
;==========================================================

[colors]
;background = ${xrdb:color0:#222}
background = #222
Expand All @@ -27,14 +9,15 @@ primary = #ffb52a
secondary = #e60053
alert = #bd2c40

[bar/example]
[bar/main]
;monitor = ${env:MONITOR:HDMI-1}
width = 100%
height = 27
;offset-x = 1%
;offset-y = 1%
radius = 6.0
fixed-center = false
bottom = true

background = ${colors.background}
foreground = ${colors.foreground}
Expand All @@ -51,13 +34,13 @@ padding-right = 2
module-margin-left = 1
module-margin-right = 2

font-0 = fixed:pixelsize=10;1
font-0 = "Droid Sans:size=9;0"
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1

modules-left = bspwm i3
modules-center = mpd
modules-right = filesystem xbacklight alsa pulseaudio xkeyboard memory cpu wlan eth battery temperature date powermenu
modules-center = xwindow
modules-right = filesystem xbacklight pulseaudio cpu memory wlan eth battery temperature date powermenu

tray-position = right
tray-padding = 2
Expand All @@ -68,12 +51,6 @@ tray-padding = 2

;override-redirect = true

;scroll-up = bspwm-desknext
;scroll-down = bspwm-deskprev

;scroll-up = i3wm-wsnext
;scroll-down = i3wm-wsprev

cursor-click = pointer
cursor-scroll = ns-resize

Expand Down Expand Up @@ -166,20 +143,6 @@ label-urgent-padding = 2
; Separator in between workspaces
; label-separator = |


[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

Expand Down Expand Up @@ -260,17 +223,17 @@ format-disconnected =
type = internal/date
interval = 5

date =
date = %b %e
date-alt = " %Y-%m-%d"

time = %H:%M
time = %I:%M %p
time-alt = %H:%M:%S

format-prefix = 
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #0a6cf5

label = %date% %time%
label = %date%, %time%

[module/pulseaudio]
type = internal/pulseaudio
Expand Down Expand Up @@ -299,34 +262,6 @@ 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
Expand Down

0 comments on commit 591eea4

Please sign in to comment.