Browse Source

Tweaked polybar

master
Josh Wolfe 3 years ago
parent
commit
3f160b97ad
2 changed files with 27 additions and 26 deletions
  1. 1
    2
      bspwm/bspwmrc
  2. 26
    24
      polybar/config

+ 1
- 2
bspwm/bspwmrc View File

@@ -7,7 +7,6 @@ xsetroot -cursor_name left_ptr
xinput set-button-map 14 1 2 3 5 4 6 7 8 9 10 11 12
setxkbmap -option 'caps:ctrl_modifier'
xcape -e 'Caps_Lock=Escape'
#dropbox start&
~/bin/battery_notify&
feh --bg-scale ~/Pictures/star_wars_wallpaper.jpg
powertop --auto-tune
@@ -30,4 +29,4 @@ bspc rule -a mplayer2 state=floating
bspc rule -a Kupfer.py focus=on
bspc rule -a Screenkey manage=off

panel &
polybar wolfe

+ 26
- 24
polybar/config View File

@@ -48,9 +48,10 @@ module-margin-right = 2
;font-0 = fixed:pixelsize=10;0
;font-1 = unifont:size=6:heavy:fontformat=truetype;-2
;font-2 = siji:pixelsize=10;0
font-0 = Tamsyn:pixelsize=14
font-1 = Roboto:size=11:weight=bold
font-2 = -*-gohufont-medium-*-*-*-11-*-*-*-*-*-*-*

font-0 = Tamsyn:pixelsize=12:
font-1 = FontAwesome:size=10
font-2 = Roboto:size=11:weight=bold

modules-left = bspwm xwindow
modules-center =
@@ -75,14 +76,15 @@ tray-padding = 2

[module/xwindow]
type = internal/xwindow
label = %title:0:30:...%
;label = %title:0:30:...%
label = %title%

[module/xkeyboard]
type = internal/xkeyboard
blacklist-0 = num lock

format-underline = ${colors.secondary}
format-prefix = " "
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}

label-layout = %layout%
@@ -192,7 +194,7 @@ bar-empty-foreground = ${colors.foreground-alt}
[module/cpu]
type = internal/cpu
interval = 2
format-prefix = " "
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #f90000
label = %percentage%
@@ -200,7 +202,7 @@ label = %percentage%
[module/memory]
type = internal/memory
interval = 2
format-prefix = " "
format-prefix = " "
format-prefix-foreground = ${colors.foreground-alt}
format-underline = #4bffdc
label = %percentage_used%
@@ -218,11 +220,11 @@ label-connected = %essid%
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-0 = " "
ramp-signal-1 = " "
ramp-signal-2 = " "
ramp-signal-3 = " "
ramp-signal-4 = " "
ramp-signal-foreground = ${colors.foreground-alt}

[module/eth]
@@ -249,7 +251,7 @@ date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S

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

@@ -296,18 +298,18 @@ format-charging-underline = #ffb52a
format-discharging = <ramp-capacity> <label-discharging>
format-discharging-underline = ${self.format-charging-underline}

format-full-prefix = " "
format-full-prefix = " "
format-full-prefix-foreground = ${colors.foreground-alt}
format-full-underline = ${self.format-charging-underline}

ramp-capacity-0 =
ramp-capacity-1 =
ramp-capacity-2 =
ramp-capacity-0 = " "
ramp-capacity-1 = " "
ramp-capacity-2 = " "
ramp-capacity-foreground = ${colors.foreground-alt}

animation-charging-0 =
animation-charging-1 =
animation-charging-2 =
animation-charging-0 = " "
animation-charging-1 = " "
animation-charging-2 = " "
animation-charging-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750

@@ -325,15 +327,15 @@ label = %temperature%
label-warn = %temperature%
label-warn-foreground = ${colors.secondary}

ramp-0 =
ramp-1 =
ramp-2 =
ramp-0 = " "
ramp-1 = " "
ramp-2 = " "
ramp-foreground = ${colors.foreground-alt}

[module/powermenu]
type = custom/menu

label-open = power
label-open = power
label-open-foreground = ${colors.secondary}
label-close =  cancel
label-close-foreground = ${colors.secondary}

Loading…
Cancel
Save