summaryrefslogtreecommitdiffstats
path: root/polybar/config
diff options
context:
space:
mode:
Diffstat (limited to 'polybar/config')
-rw-r--r--polybar/config205
1 files changed, 79 insertions, 126 deletions
diff --git a/polybar/config b/polybar/config
index e92b11a..bccee43 100644
--- a/polybar/config
+++ b/polybar/config
@@ -45,18 +45,18 @@ width = 100%
height = 27
;offset-x = 1%
;offset-y = 1%
-radius = 6.0
-fixed-center = false
+;radius = 6.0
+;fixed-center = false
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3
line-color = #f00
-
-border-size = 4
-border-color = #00000000
-
+;
+;border-size = 4
+;border-color = #00000000
+;
padding-left = 0
padding-right = 2
@@ -68,14 +68,14 @@ font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
font-2 = siji:pixelsize=10;1
modules-left = bspwm
-;modules-center = mpd
-modules-right = filesystem pulseaudio xkeyboard memory cpu temperature date
+modules-center = mpd
+modules-right = filesystem eth wlan pulseaudio cpu memory temperature battery date
tray-position = right
tray-padding = 2
;tray-background = #0063ff
-;wm-restack = bspwm
+wm-restack = bspwm
;wm-restack = i3
;override-redirect = true
@@ -93,27 +93,12 @@ cursor-scroll = ns-resize
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
-mount-0 = /
+mount-0 = /home
label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%%
label-unmounted = %mountpoint% not mounted
@@ -124,7 +109,8 @@ type = internal/bspwm
label-focused = %index%
label-focused-background = ${colors.background-alt}
-label-focused-underline= ${colors.primary}
+label-focused-underline= #81ae9b
+#${colors.primary}
label-focused-padding = 2
label-occupied = %index%
@@ -141,53 +127,17 @@ label-empty-padding = 2
; Separator in between workspaces
; label-separator = |
-[module/i3]
-type = internal/i3
-format = <label-state> <label-mode>
-index-sort = true
-wrapping-scroll = false
-
-; Only show workspaces on the same output as the bar
-;pin-workspaces = true
-
-label-mode-padding = 2
-label-mode-foreground = #000
-label-mode-background = ${colors.primary}
-
-; focused = Active workspace on focused monitor
-label-focused = %index%
-label-focused-background = ${colors.background-alt}
-label-focused-underline= ${colors.primary}
-label-focused-padding = 2
-
-; unfocused = Inactive workspace on any monitor
-label-unfocused = %index%
-label-unfocused-padding = 2
-
-; 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-padding = ${self.label-focused-padding}
-
-; urgent = Workspace with urgency hint set
-label-urgent = %index%
-label-urgent-background = ${colors.alert}
-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 = 
+icon-prev = <
+icon-stop = S
+icon-play = P
+icon-pause = ||
+icon-next = >
label-song-maxlen = 25
label-song-ellipsis = true
@@ -217,52 +167,52 @@ 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 = #81ae9b
label = %percentage:2%%
[module/memory]
type = internal/memory
interval = 2
-format-prefix = " "
+format-prefix = "MEM : "
format-prefix-foreground = ${colors.foreground-alt}
-format-underline = #4bffdc
+format-underline = #81ae9b
label = %percentage_used%%
[module/wlan]
type = internal/network
-interface = wlp59s0
-interval = 3.0
+interface = wlan0
+interval = 30.0
format-connected = <ramp-signal> <label-connected>
-format-connected-underline = #9f78e1
+format-connected-underline = #81ae9b
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}
+;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 = enp0s31f6
-interval = 3.0
+interface = enp0s25
+interval = 30.0
-format-connected-underline = #55aa55
-format-connected-prefix = " "
+format-connected-underline = #81ae9b
+format-connected-prefix = "ETH : "
format-connected-prefix-foreground = ${colors.foreground-alt}
label-connected = %local_ip%
-format-disconnected =
+;format-disconnected =
;format-disconnected = <label-disconnected>
;format-disconnected-underline = ${self.format-connected-underline}
;label-disconnected = %ifname% disconnected
@@ -278,9 +228,8 @@ date-alt = " %Y-%m-%d"
time = %H:%M
time-alt = %H:%M:%S
-format-prefix = 
format-prefix-foreground = ${colors.foreground-alt}
-format-underline = #0a6cf5
+format-underline = #81ae9b
label = %date% %time%
@@ -349,16 +298,19 @@ format-charging = <animation-charging> <label-charging>
format-charging-underline = #ffb52a
format-discharging = <animation-discharging> <label-discharging>
-format-discharging-underline = ${self.format-charging-underline}
+format-discharging-underline = #81ae9b
+#${self.format-charging-underline}
format-full-prefix = " "
format-full-prefix-foreground = ${colors.foreground-alt}
-format-full-underline = ${self.format-charging-underline}
+format-full-underline = #81ae9b
+#${self.format-charging-underline}
ramp-capacity-0 = 
ramp-capacity-1 = 
ramp-capacity-2 = 
-ramp-capacity-foreground = ${colors.foreground-alt}
+ramp-capacity-foreground = #81ae9b
+#${colors.foreground-alt}
animation-charging-0 = 
animation-charging-1 = 
@@ -369,7 +321,8 @@ animation-charging-framerate = 750
animation-discharging-0 = 
animation-discharging-1 = 
animation-discharging-2 = 
-animation-discharging-foreground = ${colors.foreground-alt}
+animation-discharging-foreground = #81ae9b
+#${colors.foreground-alt}
animation-discharging-framerate = 750
[module/temperature]
@@ -378,7 +331,7 @@ thermal-zone = 0
warn-temperature = 60
format = <ramp> <label>
-format-underline = #f50a4d
+format-underline = #81ae9b
format-warn = <ramp> <label-warn>
format-warn-underline = ${self.format-underline}
@@ -391,34 +344,34 @@ ramp-1 = 
ramp-2 = 
ramp-foreground = ${colors.foreground-alt}
-[module/powermenu]
-type = custom/menu
-
-expand-right = true
-
-format-spacing = 1
-
-label-open = 
-label-open-foreground = ${colors.secondary}
-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
+#[module/powermenu]
+#type = custom/menu
+#
+#expand-right = true
+#
+#format-spacing = 1
+#
+#label-open = 
+#label-open-foreground = ${colors.secondary}
+#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