switched to single polybar with better dracula theme
parent
fd1a687099
commit
11a1fbb64e
|
@ -1,6 +1,6 @@
|
||||||
[colors]
|
[colors]
|
||||||
background = #99282a36
|
background = #282a36
|
||||||
current-line = #FF44475a
|
current-line = #44475a
|
||||||
foreground = #f8f8f2
|
foreground = #f8f8f2
|
||||||
comment = #6272a4
|
comment = #6272a4
|
||||||
|
|
||||||
|
@ -13,6 +13,6 @@ red = #ff5555
|
||||||
yellow = #f1fa8c
|
yellow = #f1fa8c
|
||||||
|
|
||||||
foreground-alt = ${self.foreground}
|
foreground-alt = ${self.foreground}
|
||||||
background-alt = ${self.background}
|
background-alt = #1E2029
|
||||||
primary = ${self.pink}
|
primary = ${self.pink}
|
||||||
secondary = ${self.green}
|
secondary = ${self.green}
|
||||||
|
|
|
@ -61,7 +61,7 @@ offset-x = 0%
|
||||||
offset-y = 0%
|
offset-y = 0%
|
||||||
|
|
||||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||||
background = ${colors.background}
|
background = ${colors.background-alt}
|
||||||
|
|
||||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
|
@ -130,8 +130,8 @@ font-1 = "FiraCode Nerd Font:size=11;3"
|
||||||
; modules-right = ipc clock
|
; modules-right = ipc clock
|
||||||
|
|
||||||
modules-left = bspwm xwindow
|
modules-left = bspwm xwindow
|
||||||
modules-right = battery pulseaudio powermenu
|
|
||||||
modules-center = date
|
modules-center = date
|
||||||
|
modules-right = battery pulseaudio powermenu
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
|
@ -173,7 +173,7 @@ tray-maxsize = 16
|
||||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||||
; By default the tray container will use the bar
|
; By default the tray container will use the bar
|
||||||
; background color.
|
; background color.
|
||||||
tray-background = ${colors.background}
|
tray-background = ${colors.background-alt}
|
||||||
|
|
||||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
tray-offset-x = 0
|
tray-offset-x = 0
|
||||||
|
@ -278,7 +278,7 @@ offset-x = 0%
|
||||||
offset-y = 0%
|
offset-y = 0%
|
||||||
|
|
||||||
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
; Background ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||||
background = ${colors.background}
|
background = ${colors.background-alt}
|
||||||
|
|
||||||
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
; Foreground ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||||
foreground = ${colors.foreground}
|
foreground = ${colors.foreground}
|
||||||
|
@ -299,7 +299,7 @@ radius-bottom = 0.0
|
||||||
; Individual values can be defined using:
|
; Individual values can be defined using:
|
||||||
; {overline,underline}-size
|
; {overline,underline}-size
|
||||||
; {overline,underline}-color
|
; {overline,underline}-color
|
||||||
line-size = 2
|
line-size = 3
|
||||||
line-color = ${colors.pink}
|
line-color = ${colors.pink}
|
||||||
|
|
||||||
; Values applied to all borders
|
; Values applied to all borders
|
||||||
|
@ -345,9 +345,9 @@ font-0 = "NotoSans Nerd Font:size=11;0"
|
||||||
; modules-center = xwindow xbacklight
|
; modules-center = xwindow xbacklight
|
||||||
; modules-right = ipc clock
|
; modules-right = ipc clock
|
||||||
|
|
||||||
modules-left = cpu memory
|
modules-left = cpu memory wlan eth battery
|
||||||
modules-center =
|
modules-center = bspwm
|
||||||
modules-right = wlan eth
|
modules-right = pulseaudio date powermenu
|
||||||
|
|
||||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||||
|
|
||||||
|
@ -376,7 +376,7 @@ locale =
|
||||||
; center
|
; center
|
||||||
; right
|
; right
|
||||||
; none
|
; none
|
||||||
tray-position = none
|
tray-position = right
|
||||||
|
|
||||||
; If true, the bar will not shift its
|
; If true, the bar will not shift its
|
||||||
; contents when the tray changes
|
; contents when the tray changes
|
||||||
|
@ -389,7 +389,7 @@ tray-maxsize = 16
|
||||||
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
|
||||||
; By default the tray container will use the bar
|
; By default the tray container will use the bar
|
||||||
; background color.
|
; background color.
|
||||||
tray-background = ${colors.background}
|
tray-background = ${colors.background-alt}
|
||||||
|
|
||||||
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
; Tray offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
|
||||||
tray-offset-x = 0
|
tray-offset-x = 0
|
||||||
|
|
|
@ -10,7 +10,7 @@ while ! pgrep -x bspwm >/dev/null; do sleep 1; done
|
||||||
|
|
||||||
# Launch Polybar
|
# Launch Polybar
|
||||||
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
for m in $(polybar --list-monitors | cut -d":" -f1); do
|
||||||
MONITOR=$m polybar --reload top -c ~/.config/polybar/config.ini &
|
# MONITOR=$m polybar --reload top -c ~/.config/polybar/config.ini &
|
||||||
MONITOR=$m polybar --reload bottom -c ~/.config/polybar/config.ini &
|
MONITOR=$m polybar --reload bottom -c ~/.config/polybar/config.ini &
|
||||||
done
|
done
|
||||||
|
|
||||||
|
|
|
@ -85,12 +85,12 @@ reverse-scroll = false
|
||||||
|
|
||||||
label-focused = %name%
|
label-focused = %name%
|
||||||
label-focused-foreground = ${colors.comment}
|
label-focused-foreground = ${colors.comment}
|
||||||
label-focused-background = ${colors.pink}
|
label-focused-background = ${colors.purple}
|
||||||
label-focused-padding = 1
|
label-focused-padding = 1
|
||||||
|
|
||||||
label-occupied = %name%
|
label-occupied = %name%
|
||||||
label-occupied-foreground = ${colors.comment}
|
label-occupied-foreground = ${colors.comment}
|
||||||
label-occupied-background = ${colors.purple}
|
label-occupied-background = ${colors.pink}
|
||||||
label-occupied-padding = 1
|
label-occupied-padding = 1
|
||||||
|
|
||||||
label-urgent = %name%!
|
label-urgent = %name%!
|
||||||
|
@ -136,7 +136,7 @@ interface = enp42s0
|
||||||
interval = 3.0
|
interval = 3.0
|
||||||
|
|
||||||
format-connected-underline = ${colors.purple}
|
format-connected-underline = ${colors.purple}
|
||||||
label-connected = "%{T2}%{T-}%upspeed% %{T2}%{T-}%downspeed%"
|
label-connected = "%upspeed% %downspeed%"
|
||||||
|
|
||||||
[module/memory]
|
[module/memory]
|
||||||
type = internal/memory
|
type = internal/memory
|
||||||
|
@ -151,39 +151,33 @@ click-left=kitty bpytop
|
||||||
[module/powermenu]
|
[module/powermenu]
|
||||||
type = custom/menu
|
type = custom/menu
|
||||||
|
|
||||||
expand-right = true
|
expand-right = false
|
||||||
|
|
||||||
format-spacing = 1
|
format-spacing = 1
|
||||||
|
|
||||||
label-open = "%{T2}%{T-} "
|
label-open = " "
|
||||||
label-open-foreground = ${colors.orange}
|
label-open-foreground = ${colors.orange}
|
||||||
label-close = "%{T2}%{T-} cancel"
|
label-close = " cancel"
|
||||||
label-close-foreground = ${colors.red}
|
label-close-foreground = ${colors.red}
|
||||||
label-separator = |
|
label-separator = |
|
||||||
label-separator-foreground = ${colors.cyan}
|
label-separator-foreground = ${colors.cyan}
|
||||||
|
|
||||||
menu-0-0 = "%{T2}%{T-} reboot"
|
menu-0-0 = " reboot"
|
||||||
menu-0-0-exec = menu-open-1
|
menu-0-0-exec = #powermenu.open.1
|
||||||
menu-0-1 = "%{T2}%{T-} power off"
|
menu-0-1 = " power off"
|
||||||
menu-0-1-exec = menu-open-2
|
menu-0-1-exec = #powermenu.open.2
|
||||||
menu-0-2 = "%{T2}%{T-} hibernate"
|
menu-0-2 = " hibernate"
|
||||||
menu-0-2-exec = menu-open-3
|
menu-0-2-exec = #powermenu.open.3
|
||||||
|
|
||||||
menu-1-0 = "%{T2}%{T-} reboot"
|
menu-1-0 = " reboot"
|
||||||
menu-1-0-exec = systemctl reboot
|
menu-1-0-exec = systemctl reboot
|
||||||
menu-1-1 = cancel
|
|
||||||
menu-1-1-exec = menu-open-0
|
|
||||||
|
|
||||||
|
|
||||||
menu-2-0 = "%{T2}%{T-} power off"
|
menu-2-0 = " power off"
|
||||||
menu-2-0-exec = systemctl poweroff
|
menu-2-0-exec = systemctl poweroff
|
||||||
menu-2-1 = cancel
|
|
||||||
menu-2-1-exec = menu-open-0
|
|
||||||
|
|
||||||
menu-3-0 = "%{T2}%{T-} hibernate"
|
menu-3-0 = " hibernate"
|
||||||
menu-3-0-exec = systemctl hibernate
|
menu-3-0-exec = systemctl hibernate
|
||||||
menu-3-1 = cancel
|
|
||||||
menu-3-1-exec = menu-open-0
|
|
||||||
|
|
||||||
|
|
||||||
[module/pulseaudio]
|
[module/pulseaudio]
|
||||||
|
@ -193,10 +187,10 @@ format-volume = <label-volume> <bar-volume>
|
||||||
label-volume = %percentage%%
|
label-volume = %percentage%%
|
||||||
label-volume-foreground = ${colors.foreground}
|
label-volume-foreground = ${colors.foreground}
|
||||||
|
|
||||||
label-muted = "%{T2}%{T-} muted"
|
label-muted = " muted"
|
||||||
label-muted-foreground = ${colors.foreground-alt}
|
label-muted-foreground = ${colors.foreground-alt}
|
||||||
|
|
||||||
bar-volume-width = 11
|
bar-volume-width = 12
|
||||||
bar-volume-foreground-0 = ${colors.green}
|
bar-volume-foreground-0 = ${colors.green}
|
||||||
bar-volume-foreground-1 = ${colors.green}
|
bar-volume-foreground-1 = ${colors.green}
|
||||||
bar-volume-foreground-2 = ${colors.green}
|
bar-volume-foreground-2 = ${colors.green}
|
||||||
|
@ -209,9 +203,9 @@ bar-volume-foreground-8 = ${colors.red}
|
||||||
bar-volume-gradient = true
|
bar-volume-gradient = true
|
||||||
bar-volume-indicator = |
|
bar-volume-indicator = |
|
||||||
bar-volume-indicator-font = 2
|
bar-volume-indicator-font = 2
|
||||||
bar-volume-fill = ─
|
bar-volume-fill = -
|
||||||
bar-volume-fill-font = 2
|
bar-volume-fill-font = 2
|
||||||
bar-volume-empty = ─
|
bar-volume-empty = -
|
||||||
bar-volume-empty-font = 2
|
bar-volume-empty-font = 2
|
||||||
bar-volume-empty-foreground = ${colors.foreground}
|
bar-volume-empty-foreground = ${colors.foreground}
|
||||||
|
|
||||||
|
@ -224,7 +218,7 @@ interface = wlp1s0
|
||||||
interval = 3.0
|
interval = 3.0
|
||||||
|
|
||||||
format-connected-underline = ${colors.purple}
|
format-connected-underline = ${colors.purple}
|
||||||
label-connected = "%{T2}%{T-}%upspeed% %{T2}%{T-}%downspeed%"
|
label-connected = "%upspeed% %downspeed%"
|
||||||
|
|
||||||
[module/xwindow]
|
[module/xwindow]
|
||||||
type = internal/xwindow
|
type = internal/xwindow
|
||||||
|
|
Loading…
Reference in New Issue