summaryrefslogtreecommitdiff
path: root/polybar
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2019-05-13 11:43:23 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2019-05-13 11:43:23 +0200
commit6803c42a83ae2726ca1dc42c2300f49565b88642 (patch)
tree45c61ac3afe9bc2d778f9e17fcdc8e7b721560c3 /polybar
parent0f359913af8ce5d5b020f98288b1241038545046 (diff)
downloaddotfiles-6803c42a83ae2726ca1dc42c2300f49565b88642.tar.gz
Some changes
Diffstat (limited to 'polybar')
-rw-r--r--polybar/config91
1 files changed, 34 insertions, 57 deletions
diff --git a/polybar/config b/polybar/config
index 3f1b536..223a3ce 100644
--- a/polybar/config
+++ b/polybar/config
@@ -17,9 +17,8 @@
;==========================================================
[colors]
-;background = ${xrdb:color0:#222}
-background = #222
-background-alt = #444
+background = #000000
+background-alt = #222222
;foreground = ${xrdb:color7:#222}
foreground = #dfdfdf
foreground-alt = #555
@@ -34,7 +33,7 @@ height = 27
;offset-x = 1%
;offset-y = 1%
;radius = 6.0
-fixed-center = false
+fixed-center = true
background = ${colors.background}
foreground = ${colors.foreground}
@@ -48,16 +47,18 @@ Iborder-color = #00000000
padding-left = 0
padding-right = 2
-module-margin-left = 1
-module-margin-right = 2
+module-margin-left = 3
+module-margin-right = 3
font-0 = fixed:pixelsize=10;1
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
modules-left = i3
-modules-center =
-modules-right = filesystem backlight-acpi pulseaudio xkeyboard memory cpu wlan eth battery temperature date powermenu
+modules-center = date
+modules-right = filesystem backlight-acpi pulseaudio memory cpu wlan eth battery temperature powermenu
+
+separator = |
tray-position = right
tray-padding = 2
@@ -145,7 +146,7 @@ label-mode-background = ${colors.primary}
; focused = Active workspace on focused monitor
label-focused = %index%
label-focused-background = ${module/bspwm.label-focused-background}
-label-focused-underline = ${module/bspwm.label-focused-underline}
+;label-focused-underline = ${module/bspwm.label-focused-underline}
label-focused-padding = ${module/bspwm.label-focused-padding}
; unfocused = Inactive workspace on any monitor
@@ -155,7 +156,7 @@ label-unfocused-padding = ${module/bspwm.label-occupied-padding}
; visible = Active workspace on unfocused monitor
label-visible = %index%
label-visible-background = ${self.label-focused-background}
-label-visible-underline = ${self.label-focused-underline}
+;label-visible-underline = ${self.label-focused-underline}
label-visible-padding = ${self.label-focused-padding}
; urgent = Workspace with urgency hint set
@@ -164,7 +165,7 @@ label-urgent-background = ${module/bspwm.label-urgent-background}
label-urgent-padding = ${module/bspwm.label-urgent-padding}
; Separator in between workspaces
-; label-separator = |
+ label-separator =
[module/mpd]
@@ -205,17 +206,17 @@ card = intel_backlight
[module/cpu]
type = internal/cpu
interval = 2
-format-prefix = " "
+format-prefix = "CPU "
format-prefix-foreground = ${colors.foreground-alt}
-format-underline = #f90000
+;format-underline = #f90000
label = %percentage:2%%
[module/memory]
type = internal/memory
interval = 2
-format-prefix = " "
+format-prefix = "RAM "
format-prefix-foreground = ${colors.foreground-alt}
-format-underline = #4bffdc
+;format-underline = #4bffdc
label = %percentage_used%%
[module/wlan]
@@ -223,8 +224,11 @@ type = internal/network
interface = wlp3s0
interval = 3.0
+format-connected-prefix = "WLAN "
+format-connected-prefix-foreground = ${colors.foreground-alt}
format-connected = <ramp-signal> <label-connected>
-format-connected-underline = #9f78e1
+format-connected-underline =
+
label-connected = %essid%
format-disconnected =
@@ -245,8 +249,8 @@ type = internal/network
interface = enp2s0
interval = 3.0
-format-connected-underline = #55aa55
-format-connected-prefix = " "
+format-connected-underline =
+format-connected-prefix = "ETH "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
@@ -260,7 +264,7 @@ format-disconnected =
type = internal/date
interval = 5
-date =
+date = %d.%m.%Y
date-alt = " %Y-%m-%d"
time = %H:%M
@@ -268,7 +272,7 @@ time-alt = %H:%M:%S
format-prefix = 
format-prefix-foreground = ${colors.foreground-alt}
-format-underline = #0a6cf5
+;format-underline = #0a6cf5
label = %date% %time%
@@ -299,47 +303,22 @@ 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 = BAT1
adapter = ACAD
full-at = 98
+time-format = %H:%M
+label-charging = %percentage%% %time% %consumption%W
format-charging = <animation-charging> <label-charging>
-format-charging-underline = #ffb52a
+format-charging-underline =
+label-discharging = %percentage%% %time% %consumption%W
format-discharging = <animation-discharging> <label-discharging>
format-discharging-underline = ${self.format-charging-underline}
-format-full-prefix = " "
+format-full-prefix = "F "
format-full-prefix-foreground = ${colors.foreground-alt}
format-full-underline = ${self.format-charging-underline}
@@ -348,15 +327,13 @@ 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-foreground = ${colors.foreground-alt}
animation-charging-framerate = 750
-animation-discharging-0 = 
-animation-discharging-1 = 
-animation-discharging-2 = 
+animation-discharging-0 = :
+animation-discharging-1 = -
animation-discharging-foreground = ${colors.foreground-alt}
animation-discharging-framerate = 750
@@ -366,7 +343,7 @@ thermal-zone = 0
warn-temperature = 60
format = <ramp> <label>
-format-underline = #f50a4d
+format-underline =
format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline}